Getting the following error when trying to create object with Selenium Webdriver:
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain chromedriver using Selenium Manager; Message: Unsuccessful command executed: Z:\Python 3.9.0\lib\site-packages\selenium\webdriver\common\windows\selenium-manager.exe --browser chrome --output json.
The same script work with one pc and get the error above with another.
The script is:
service = Service()
dimensione_finestra = 'start-maximized'
url = '...'
opzioni_chrome = webdriver.ChromeOptions()
opzioni_chrome.add_argument(dimensione_finestra)
driver = webdriver.Chrome(service=service, options=opzioni_chrome)
driver.get(url)
Any idea?