We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to migrate my team off of phantomjs to ChromeHeadless. However the 2 big questions that keep popping up are:
How do we make sure everyone has ChromeHeadless available and the same version?
How do we make our unit tests run on a CI box that doesn't have any browsers installed at all?
I've looked around and am struggling to answer both of these questions. Any ideas?
The text was updated successfully, but these errors were encountered:
got the same problem the good thing about phantomjs was the ability to download it automatically with npm
one solution might be to run the tests inside vagrant/docker containers but I hope a better solution will be found.
Sorry, something went wrong.
alternative: use Puppeteer instead which embeds Chrome inside the package
the downloader code from puppeteer could be found in this two files: https://github.com/GoogleChrome/puppeteer/blob/1f9b4fb4c83ad9f5963507675e6ad9011c4301ff/install.js https://github.com/GoogleChrome/puppeteer/blob/1f9b4fb4c83ad9f5963507675e6ad9011c4301ff/utils/ChromiumDownloader.js
Successfully merging a pull request may close this issue.
I'm trying to migrate my team off of phantomjs to ChromeHeadless. However the 2 big questions that keep popping up are:
How do we make sure everyone has ChromeHeadless available and the same version?
How do we make our unit tests run on a CI box that doesn't have any browsers installed at all?
I've looked around and am struggling to answer both of these questions. Any ideas?
The text was updated successfully, but these errors were encountered: