Switch back from Chromium to PhantomJS?
See original GitHub issueWe switched from PhantomJS to Chromium in #6377 by @PierreBesson
This is of course the future, but at the moment I have at least 2 feedbacks from clients where it doesn’t work:
- At one client, using Windows 7,
yarn test
did not run at all with Chromium - At another client, using either Red Hat or Ubuntu, we have missing libraries that make Chromium fail
As we had none of those issues with PhantomJS (it works for both clients), I think it’s too early to have Chromium, and we should switch back to PhantomJS.
Thoughts, ideas, comments?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:36 (31 by maintainers)
Top Results From Across the Web
Developers - Switch back from Chromium to PhantomJS? -
We switched from PhantomJS to Chromium in #6377 by @PierreBesson. This is of course the future, but at the moment I have at...
Read more >Replacing PhantomJS with headless Chrome - BigBinary Blog
We recently replaced PhantomJS with ChromeDriver for system tests in a project since PhantomJS is no longer maintained.
Read more >Replacing PhantomJS with Headless Chrome in your ...
Learn how to replace PhantomJS with Headless Chrome in your testing stack, using the proxy-chain package to support authenticated proxies.
Read more >Replace PhantomJS with Headless Chromium for JavaScript ...
“Chrome is faster and more stable than PhantomJS.” Fortunately, I discovered that switching to Chrome was easy. Err… switching to Chromium ...
Read more >Moving from PhantomJS to Chrome
Moving from PhantomJS to Chrome ... We used PhantomJS for automated UI testing for some time. It successfully helped us to be sure...
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 Free
Top 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
I spent a couple of hours tonight on this. In fact, we currently have the same issue in our
jhipster/jhipster
image.To resolve, I needed to follow these instructions: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
Then, here my karma.conf.js configuration:
Just for information if anybody tries to run the current version with ChromiumHeadless on CentOS 7, you have to install the packages chromium-libs and gtk3. This solved the problem for us.