Anyone having Issues due new Chrome 123 version? #1796
Unanswered
SebasAguiarSBA
asked this question in
Q&A
Replies: 2 comments 4 replies
-
I was able to fix it by specifying # imports
import chromedriver_binary
import undetected_chromedriver as uc
driver_path = chromedriver_binary.chromedriver_filename
return uc.Chrome(headless=True, driver_executable_path=driver_path) |
Beta Was this translation helpful? Give feedback.
3 replies
-
Exception ignored in: <function Chrome.del at 0x0000023B42B93240> i get this error everytime someone help me out |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys this is my first post I love the undetected-chromedriver , usually works like a charm today in local doinng some test , it start taking more time than usual to open and then this error show up
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at [127.xxx.xx.xx my ip i think]
from session not created: This version of ChromeDriver only supports Chrome version 123
Current browser version is 122.0.6261.129
Stacktrace:
GetHandleVerifier [0x012A4CE3+225091]
(No symbol) [0x011D4E31]
So o course I checked on google and a new 123 stable version was released today 19th March 2024, After the updated of my google chrome this still shows up I belive I need to install a new version of undetected-chromedriver but seems I have the last one , thank you for your time
Task run 'get_driver-0' - Encountered exception during execution: Traceback (most recent call last): File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\prefect\engine.py", line 2121, in orchestrate_task_run result = await call.aresult() ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\prefect\_internal\concurrency\calls.py", line 293, in aresult return await asyncio.wrap_future(self.future) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\prefect\_internal\concurrency\calls.py", line 318, in _run_sync result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\flows\src\selenium_tools\uc_driver.py", line 175, in get_driver driver = UndetectedChromeWebDriver(download_dir=download_dir) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\flows\src\selenium_tools\uc_driver.py", line 37, in __init__ self.driver = uc.Chrome(user_data_dir=user_data_dir,options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\undetected_chromedriver\__init__.py", line 422, in __init__ options.handle_prefs(user_data_dir) File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\undetected_chromedriver\options.py", line 73, in handle_prefs undot_prefs = self._merge_nested(json.load(f), undot_prefs) ^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\json\__init__.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\json\__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) ^^^^^^^^^^^^^^^^^^^^^^ json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 2013274047 (char 2013274046) 16:48:34.799 | ERROR | Task run 'get_driver-0' - Finished in state Failed("Task run encountered an exception JSONDecodeError: Expecting ',' delimiter: line 1 column 2013274047 (char 2013274046)") 16:48:34.805 | INFO | Flow run 'knowing-rhino' - An exception occurred: Expecting ',' delimiter: line 1 column 2013274047 (char 2013274046) 16:48:34.808 | INFO | Flow run 'knowing-rhino' - All done! closing browser now 16:48:34.882 | ERROR | Flow run 'knowing-rhino' - Finished in state Failed('1/1 states failed.')
Beta Was this translation helpful? Give feedback.
All reactions