Skip to content
Advertisement

Errors while compiling python code using selenium webdriver [closed]

My code is:

JavaScript

Error is:

JavaScript

Don’t know what to do. Everything is installed properly, path to the chromedriver is correct too (it’s even in the same directory as project is). Using mac air m1, PyCharm Any suggestions?

Advertisement

Answer

You have a typo in the chromedriver’s path. “users” instead of “useres”.

Change

webdriver.Chrome('/Useres/arsenijgoj/PycharmProjects/pythonProject/chromedriver')

to

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement