Just upgraded to selenium 4.10 and got: TypeError: init() got an unexpected keyword argument 'executable_path'
I read that executable path not needed in latest version and the fix is:
from selenium.webdriver.chrome.service import Service
service = Service("C:\\Users\\user1\\documents\\selenium\\chromedriver.exe")
self.driver = webdriver.Chrome(service=service)
This works fine but when I try the same using undetected chromedriver I get the original error
from selenium.webdriver.chrome.service import Service
service = Service("C:\\Users\\user1\\documents\\selenium\\chromedriver.exe")
self.driver = uc.Chrome(service=service, use_subprocess=True)
File "C:\python38\lib\site-packages\undetected_chromedriver\__init__.py", line 453, in __init__
super(Chrome, self).__init__(
TypeError: __init__() got an unexpected keyword argument 'executable_path'`