0

Whenever I type the following code, it throws an error and I am not able to connect to my driver window:

driver = webdriver.Chrome("chromedriver.exe")

Error message: InvalidArgumentException

VLAZ
  • 26,331
  • 9
  • 49
  • 67
SM07
  • 1

1 Answers1

0
  1. Download chromedriver.exe
  2. Set executable_path to the location where your chromedriver is located.
  3. replace driver = webdriver.Chrome("chromedriver.exe") to driver = webdriver.Chrome()
  4. Chekc It will work or not.

for more info check below link https://stackoverflow.com/a/42478941/6559285