I can use selenium, but I encounter this error when I want to use undetected chrome driver.
uc.install()
chrome_driver_yolu = "C:\\Users\\omer\\Desktop\\ducky\\chromedriver.exe"
driver = uc.Chrome(executable_path=chrome_driver_yolu)
driver.get('https://distilnetworks.com')
and this is error
WebDriver.__init__() got an unexpected keyword argument 'executable_path'
Don't pass the
executable_pathtouc.Chrome(). Just make sure you're using the latest version, and it will get the driver automatically for you. Eg.(For https://github.com/ultrafunkamsterdam/undetected-chromedriver)
Or if you're using https://github.com/seleniumbase/SeleniumBase instead (includes a modified version of
undetected-chromedriver), make sure to pass inuc=True.