Dec-05-2021, 09:34 PM
Hello, I just started a new project and chromedriver does not work, I have the newest version of pycharm, Google chrome, and chromedriver.
The first problem was:
{error1}
Then I found this site:
https://exerror.com/deprecationwarning-e...he_Service
So I changed my code to:
{error2}
I have no idea what ca be wrong.
The first problem was:
from selenium import webdriver dirver = webdriver.Chrome("C:/chromedriver.exe")I got this:
{error1}
Then I found this site:
https://exerror.com/deprecationwarning-e...he_Service
So I changed my code to:
from selenium import webdriver from selenium.webdriver.chrome.service import Service s = Service('C:/chromedriver.exe') driver = webdriver.Chrome(service=s)Errors:
{error2}
I have no idea what ca be wrong.