I am trying to click a button using selenium so I made it find the element with the xpath since i couldn\'t find the id . EDIT: I didn\'t think the rest of the code had anyt
you have to edit
driver = webdriver.Chrome(executable_path="C:\chromedriver.exe")
to
driver = webdriver.Chrome(executable_path="C:\\chromedriver.exe")
you miss \
If you get the same error, try running as administrator
or
move chromedriver.exe to other path like c:/seleniumdriver/chromedriver.exe"and edit executable_path