Quote: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/...river/homeYou most have
chromedriver.exe
in your Windows Path.Also in Environment Variables Path i have
C:\cmder\bin
.Test code.
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys import time #--| Setup chrome_options = Options() #chrome_options.add_argument("--headless") browser = webdriver.Chrome(executable_path=r'C:\cmder\bin\chromedriver.exe') #--| Parse or automation browser.get('https://duckduckgo.com') input_field = browser.find_elements_by_css_selector('#search_form_input_homepage') input_field[0].send_keys('car' + Keys.RETURN) time.sleep(3) images_link = browser.find_elements_by_link_text('Images') # Or name your country use images_link[0].click() time.sleep(5) browser.quit()