-
-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
---------------My following code fails--------------
messenger = WhatsApp()
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\xxxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\alright_init_.py", line 39, in init
browser = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
TypeError: WebDriver.init() got multiple values for argument 'options'
I have
selenium 4.18.1
I did a search and found the following:
This is due to changes in selenium 4.10.0: SeleniumHQ/selenium@9f5801c
Note that the first argument is no longer executable_path, but options. (That's why it complains that you're passing it in twice.)
If you want to pass in an executable_path, you'll have to use the service arg now.
kindly update your code on alright as soon as possible as I am interested in using this code.
Thanking you in advance.
Metadata
Metadata
Assignees
Labels
No labels