Error reporting in Firefox using selenium in Python.: Message: ‘geckodriver’ executable needs to….Message: ‘geckodriver’ executable needs to be in PATH.: Message: unknown Error: cannot find Chrome binary.Chromedriver executable needs to be in path.As long as you master the positioning and various operation APIs, you can basically get started and do your own projects, Step 4: modify the code and add the file path of drive,ĭriver = webdriver.Chrome(executable_path='./chromedriver') Step 3: put the package under the project directory, Step 2: download the corresponding version of chromedrive at: Step 1: check your browser version and enter the URL: chrome://version/ ‘chromedriver’ executable needs to be in PAT Create a new Python virtual environment and install selenium