mac os selenium.common.exceptions.WebDriverException: Message: chromedriver executable needs to be in PATH. Please see https:--chromedriver.chromium.org-home

120

mac os selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home -

#first with pip or pip3 do:
pip install webdriver-manager

#Then
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(ChromeDriverManager().install())

Comments

Submit
0 Comments