WebDriver Python Selenium Problems
Problem:
TypeError: WebDriver.__init__() got an unexpected keyword argument 'service_log_path' #1835
TypeError: WebDriver.__init__() got an unexpected keyword argument 'capabilities'
Solution:
The quick fix seems to be to downgrade selenium to 4.9.0 which you can do by typing at the command prompt pip install selenium==4.9.0
. (I'll note that is you are either using a virtualenv or possible some IDEs like PyCharm then you will need to make sure you install the python package under the correct instance of Python)
Still need time time see what is going on and check to see if Selenium 4.10.0, which I see just got released 4 hours ago, broke something that either SeleniumLibrary needs to fix or selenium possibly.
Comments
Post a Comment