"Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead"
See original GitHub issueI have hundreds of mails on my server with this warning:
/usr/local/lib/python3.6/dist-packages/selenium/webdriver/phantomjs/webdriver.py:49: UserWarning: Selenium support for Phantom
JS has been deprecated, please use headless versions of Chrome or Firefox instead
warnings.warn('Selenium support for PhantomJS has been deprecated, please use headless '
(The PhantomJS repo is being archived: https://github.com/ariya/phantomjs/issues/15344 There may be a fork soon: https://github.com/ariya/phantomjs/issues/15345.)
Ideally diffengine should switch from PhantomJS to headless Chrome (eg.) or Firefox (or the fork), but it’d be good to silence this specific warning in the meantime.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
selenium - Python, PhantomJS says I am not using headless?
Selenium considers PhantomJS as deprecated, so you need to us either Chrome or Firefox in headless mode. Here are the steps to use...
Read more >Selenium support for PhantomJS has been deprecated
Selenium support for PhantomJS has been deprecated. ... has been deprecated, please use headless versions of Chrome or Firefox instead.
Read more >XThacker basically i need to... - Replit
... Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead. warnings.warn('Selenium support for ...
Read more >Selenium support for PhantomJS has been deprecated ... - Qiita
【Python】UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead.
Read more >chromium / external / github.com / SeleniumHQ / selenium / py ...
PhantomJS is now deprecated, please use either Chrome or Firefox in headless mode ... Support has been removed for Python versions 2.6 and...
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
Use Warnings - https://docs.python.org/3/library/warnings.html
import warnings
warnings.filterwarnings('ignore')
Here is a solution: https://stackoverflow.com/questions/48537028/selenium-how-to-use-headless-chrome-on-aws. It does work.