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)
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.
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)