NoSuchDriverException: Unable to obtain driver for chrome using Selenium Manager
Below is the error:
Check your chrome version before downloading chromedriver.
Download chromedriver from here: https://googlechromelabs.github.io/chrome-for-testing/
from selenium.webdriver.chrome.service import Service
path = "replace this with your chrome driver path"
service = Service(executable_path=path)
driver = webdriver.Chrome(service=service)
---------------------------------------------------------------------------------------------------------------
from selenium import webdriverfrom selenium.webdriver.chrome.service import Service
path = "replace this with your chrome driver path"
service = Service(executable_path=path)
driver = webdriver.Chrome(service=service)
---------------------------------------------------------------------------------------------------------------
If this solution works for you, please drop a "Thank you" in the comments section.
No comments