Follow-up Comment #1, bug #61631 (project librejs): An initial version of this tool was added in <https://git.savannah.gnu.org/cgit/librejs.git/commit/?id=363292644c504033b35b1dfff1342c35f17d66f4>
HEADLESS COMPLIANCE CHECK: To check whether a webpage is LibreJS-compliant from the command line, ensure that the extension has NOT been built with automated test suite. Then install selenium-webdriver and geckodriver, and ensure the latter is in $PATH: $ npm install selenium-webdriver $ npm install geckodriver $ export PATH=$PATH:./node_modules/.bin Now you can check a webpage for compliance with $ node ./compliance.js <url> It will open the url in a headless browser, save a screenshot, and output the compliance check result. For example, to check the compliance of the FSF homepage, do $ node ./compliance.js https://fsf.org _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61631> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
