question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead"

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
getmykhancommented, Sep 30, 2019

Use Warnings - https://docs.python.org/3/library/warnings.html

import warnings warnings.filterwarnings('ignore')

2reactions
HoxinhLuocommented, Sep 2, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found