-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeError: __init__() got an unexpected keyword argument 'options' #22
Comments
Hi there @liqing1990 , I'm not sure about this, but i cannot find a single thing that is correct, even the exception : does not point to a file included in this library (init.py). Either you made modifications yourself or whatnot, but my recommendation: Please install the latest version of python and this package, and please first try importing and using it as described in the README.md (options are all be taken care of) : import undetected_chromedriver as uc
driver = uc.Chrome()
driver.get('https://distilnetworks.com') Also, you don't need to import Chrome and ChromeOptions from selenium (well you can and it should work, but i don't see any reason for it in your use case). You can use uc.ChromeOptions and uc.Chrome as well. Also specifying the executable path is not needed, since these options are included by default. Furthermore. Chrome accepts an (i tested it on Mojave as well and it worked out of the box) Kind regards |
Hi, i have the same error My Code : The Error : This is the screenshot : NOTE : Thank you |
The following is my environment and code
MacOS Mojave 10.14.4
chrome:84
The following is the error message
Can you know why this is?
The text was updated successfully, but these errors were encountered: