-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead" #48
Comments
Here is a solution: https://stackoverflow.com/questions/48537028/selenium-how-to-use-headless-chrome-on-aws. It does work. |
Hi, but my rhel8 does not have "chromium-chromedriver". May be you know more about this solution this trouble? Thanks |
Use Warnings - https://docs.python.org/3/library/warnings.html
|
I think this is the line that needs to change to switch over to headless Chrome or Firefox. Personally I would prefer Firefox if it's as easy as Chrome. |
I'm trying to get around this issue on Ubuntu but I don't see how to switch to headless chrome, any advice would be very much appreciated. |
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--headless')`
driver = webdriver.Chrome('chromedriver',chrome_options=chrome_options)
driver.get("http://www.google.com") |
I have hundreds of mails on my server with this warning:
(The PhantomJS repo is being archived: ariya/phantomjs#15344 There may be a fork soon: ariya/phantomjs#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.
The text was updated successfully, but these errors were encountered: