Fran
Fran

Reputation: 203

Mac OS not opening driver

I have saved this route to my echo paths /Users/.../proyect/drivers

But then when I execute my test I get an error:

selenium.common.exceptions.WebDriverException: Message: invalid argument: unrecognized capability: chromeOptions

browser = webdriver.Chrome()

Upvotes: 0

Views: 126

Answers (1)

jcaliz
jcaliz

Reputation: 4021

Try updating selenium using pip from the terminal

pip install -U selenium

And make sure chromedriver is accessible from the PATH

EDIT: using selenium==3.141.0 and updating the package from the IDE, resolved the issue.

Upvotes: 1

Related Questions