You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did find a brief discussion on this topic a few years ago where someone said they had successfully gotten it to work by specifying the chrome binary location:
Would I specify in the cronjob or my python program? I get tagged when I try and run headless which is why I need headed...
Traceback (most recent call last):
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 125, in create
await instance.start()
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 640, in start
raise Exception(
Exception:
--------------------------------
Failed to connect to the browser
--------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/cdp_util.py", line 686, in start
driver = await Browser.create(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 129, in create
await instance.start()
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 640, in start
raise Exception(
Exception:
--------------------------------
Failed to connect to the browser
--------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/serveracct/proj/caseviewer/test3.py", line 5, in <module>
r.get_cases()
File "/home/serveracct/proj/caseviewer/kroll_modcur.py", line 360, in get_cases
sb = sb_cdp.Chrome(url='https://www.kroll.com/en/restructuring-administration-cases', headed=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/core/sb_cdp.py", line 3177, in __init__
driver = cdp_util.start_sync(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/cdp_util.py", line 750, in start_sync
return loop.run_until_complete(start(*args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/cdp_util.py", line 694, in start
driver = await Browser.create(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 129, in create
await instance.start()
File "/home/serveracct/.pyenv/versions/3.12.5/lib/python3.12/site-packages/seleniumbase/undetected/cdp_driver/browser.py", line 640, in start
raise Exception(
Exception:
--------------------------------
Failed to connect to the browser
--------------------------------
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I did find a brief discussion on this topic a few years ago where someone said they had successfully gotten it to work by specifying the chrome binary location:
(#3241)
Would I specify in the cronjob or my python program? I get tagged when I try and run headless which is why I need headed...
Beta Was this translation helpful? Give feedback.
All reactions