wet-boew / wet-boew-wpss

The Web and Open Data Validator (formerly the WPSS Validation Tool) provides web developers and quality assurance testers the ability to perform a number of web site, web page validation and Open data validation tasks at one time.
https://github.com/wet-boew/wet-boew-wpss/wiki
Other
30 stars 18 forks source link

PhantomJS Headless is archived, dead product #106

Closed DavidMacDonald closed 5 years ago

DavidMacDonald commented 5 years ago

https://semaphoreci.com/blog/2018/03/27/phantomjs-is-dead-use-chrome-headless-in-continuous-integration.html

The recommendation is to use Chrome instead.

shawnthompson commented 5 years ago

A lot of Government departments can't use Chrome 👎

LaurentGoderre commented 5 years ago

Chromium would be run on CI so not necessarily on GC computers. It's also worth mentioning that if you don't have access to modern tools, chances are you can develop modern solutions.

irwink commented 5 years ago

PhantomJS should not be simply replaced as it would have to remain as a fallback for systems that don't have an adequate Chrome installation. As commented by Shawn, a lot of GC computers are locked down, so they may not have Chrome.

DavidMacDonald commented 5 years ago

What about a drop down in the configuration menu to select the headless browser, one would be phantomJS and the other Chrome headless

irwink commented 5 years ago

Headless Chrome will be used as headless browser if it is installed on the system. Requirements are Chrome - version 69 or newer node - https://nodejs.org/en/download/ puppeteer - https://developers.google.com/web/tools/puppeteer/ If headless chrome is not available, the tool will fallback to PhantomJS.

This will be included in the next WPSS_Tool release.

irwink commented 5 years ago

Headless chrome can be used in version 6.11.0. Fallback to PhantomJS if Chrome is not available.