ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.83k stars 1.15k forks source link

driver.get gives this error on some sitelinks #710

Open kSalih54 opened 2 years ago

kSalih54 commented 2 years ago

My Code: #opens the url link with the item it pulled from a list driver.get(lines[0])

#but it gives this error on some sitelinks

Traceback (most recent call last): File "c:\Users\Sau\Desktop\Yeni Proje\from selenium.webdriver.support import e.py", line 55, in driver.get(lines[0]) File "C:\Users\Sau\AppData\Local\Programs\Python\Python310\lib\site-packages\undetected_chromedriver__init__.py", line 535, in get
return super().get(url) File "C:\Users\Sau\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 447, in get
self.execute(Command.GET, {'url': url}) File "C:\Users\Sau\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 435, in execute self.error_handler.check_response(response) File "C:\Users\Sau\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: unexpected command response (Session info: chrome=103.0.5060.66)

sebdelsol commented 2 years ago

Please search the existing issues before raising a new one. This is a duplicate of #691 #694 #703 ... Here are some workarounds. EDIT: Please close this issue, it has nothing to do with UC.