Skip to content
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

PhantomJS is abandoned, replace it with Selenium/Chrome headless #30930

Merged
merged 2 commits into from Oct 19, 2017

Conversation

guilleiguaran
Copy link
Member

PhantomJS was abandoned and Chrome headless is seeing a major adoption:

ariya/phantomjs#15105

@jasonfb
Copy link
Contributor

jasonfb commented Oct 23, 2017

PHANTOM JS IS DEAD. LONG LIVE PHANTOM JS


driver_options = Selenium::WebDriver::Chrome::Options.new
driver_options.add_argument('--headless')
driver_options.add_argument('--disable-gpu')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth explaining why gpu is disabled

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

But I meant, I would have added a comment like

# https://developers.google.com/web/updates/2017/04/headless-chrome#cli indicates this is flag needed for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants