Dec-05-2021, 09:34 PM
(This post was last modified: Dec-06-2021, 05:11 AM by Larz60+.
Edit Reason: code tags
)
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.
Larz60+ write Dec-06-2021, 05:11 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.
Additionally, when posting errors, post in bbcode error tags instead of using images
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Fixed for you this time. Please use bbcode tags on future posts.
Additionally, when posting errors, post in bbcode error tags instead of using images