Kalebu / alright

Python wrapper for WhatsApp web-based on selenium
https://www.youtube.com/watch?v=yitQTt-NukM
MIT License
376 stars 113 forks source link

TypeError: __init__() got multiple values for argument 'options' #126

Open AndDevDE opened 1 year ago

AndDevDE commented 1 year ago

Hey there, I tried installing Alright on my Pi following the instructions provided by @BilalBhatti in Issue 31, but every time I try running the code it gives this error:

Traceback (most recent call last): File "/home/pi/alright/watest.py", line 5, in <module> messenger = WhatsApp() File "/home/pi/alright/alright/__init__.py", line 38, in __init__ browser = webdriver.Chrome( TypeError: __init__() got multiple values for argument 'options'

How can I fix this?

ZMensRain commented 1 year ago

@AndDevDE I had a very similar problem the fix I found was to remove ChromeDriverManager().install(), on line 39 in the init.py file and that fixed it. i was on a windows machine not pi but try it.

Rushanksavant commented 1 year ago

@ZMensRain This worked out for me.

kkg0 commented 1 year ago

image