Python selenium webdriver “Session not created” exception when opening Chrome

前端 未结 3 938
Happy的楠姐
Happy的楠姐 2020-12-10 06:06

Here\'s my code for opening Chrome:

from selenium import webdriver 
driver=webdriver.Chrome(\'C:\\\\Users\\\\Im         


        
3条回答
  •  死守一世寂寞
    2020-12-10 07:01

    To install the chromedriver on windows, download and unzip the chromedriver_win32.zip and add the path to the folder containing the chromedriver.exe in the environment variables setting [System properties - Advanced system settings - Environment variables].

提交回复
热议问题