[🐛 Bug]: Deprecation warning
See original GitHub issueWhat happened?
Hello, i was parsing some html with PYTHON. Ive encountered some warning. Actually my parser is working good, bu in terminal, suggests to change them to newers. And it is same on documentation. First ive done it by documentation but, tried some code of older posts in web. So
What browsers and operating systems are you seeing the problem on?
windows 10, chrome browser 102.0.5005.63.
How can we reproduce the issue?
(Altough im not sure if im doing sth wrong but...)
When i follow the instructions on the terminal, it DOES NOT work.
I am using selenium 4.2.0.
using webdriver as chromedriver.
Relevant log output
these are the lines on terminal
...in.py:11: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
username = driver.find_element_by_id('username')
...in.py:13: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
password = driver.find_element_by_id('password')
...in.py:15: DeprecationWarning: find_element_by_class_name is deprecated. Please use find_element(by=By.CLASS_NAME, value=name) instead
Operating System
Windows 10
Selenium version
4.2.0
What are the browser(s) and version(s) where you see this issue?
chrome
What are the browser driver(s) and version(s) where you see this issue?
chrome browser 102.0.5005.63.
Are you using Selenium Grid?
No response
Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How can I fixed DeprecationWarning: Call to deprecated error
A DeprecationWarning typically means your usage is no-longer-recommended because of changes in the library code's design. While the 'deprecation ...
Read more >Bug #1958629 “Deprecation warnings about Proc.new”
The fatal error is expected because we are not passing any config file to r10k but all the warnings should go away.
Read more >Deprecation warning that cannot show where created #140848
Issue Type: Bug Run code and go to the "output > log (Window)" panel. The following warning appears: [2022-01-17 10:49:37.284] [renderer9] ...
Read more >Fix deprecation warning in testing/raptor/test/test_utils.py
Usually the fix for this warning is to replace yaml.load() with yaml.safe_load(), but in this case the file written by the code under...
Read more >DeprecationWarning - Seed.run
DeprecationWarning errors are logged by the Node.js runtime when your code (or one of the dependencies in your code) calls a deprecated API....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
you need to import:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.