-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi there,
I'm encountering an error when I attempt to set up the Selenium Chrome driver in your script.
Here's the relevant piece of code:
## set up Selenium Chrome driver driver = webdriver.Chrome(ChromeDriverManager().install(), options=option, desired_capabilities=caps, seleniumwire_options=proxy_options)
When I run this script, I receive the following error message:
Exception has occurred: TypeError WebDriver.__init__() got multiple values for argument 'options' File "scraperapi-code-examples.py", line 73, in <module> driver = webdriver.Chrome(ChromeDriverManager().install(), TypeError: WebDriver.__init__() got multiple values for argument 'options'
It seems that the options argument in WebDriver.init() is getting multiple values, causing this TypeError.
I'm running this script on (Windows 10, Python 3.10.1), and I've installed all the necessary dependencies listed in your documentation.
Any help you could provide in addressing this issue would be greatly appreciated.
Thanks!