diff options
author | Yuchen Pei <hi@ypei.me> | 2022-07-28 15:32:10 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-07-28 15:32:10 +1000 |
commit | 5b10a10743b8459f64fe83e0ff420f69da79c9a4 (patch) | |
tree | c61904d688247790181d4955a4074b8c94302c03 /README | |
parent | b98cb70b1bcd5b211aaa5d2675f96416911c0647 (diff) |
Moving scripts and utilities into a new utilities dir
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -45,12 +45,12 @@ selenium-webdriver and geckodriver, and ensure the latter is in $PATH: $ export PATH=$PATH:./node_modules/.bin Now you can invoke the test with - $ node ./test.js + $ node ./utilities/test.js which will print out a summary of test results. Optionally you can also test with a chosen seed - $ node ./test.js 12345 + $ node ./utilities/test.js 12345 HEADLESS COMPLIANCE CHECK: @@ -64,13 +64,13 @@ latter is in $PATH: $ export PATH=$PATH:./node_modules/.bin Now you can check a webpage for compliance with - $ node ./compliance.js <url> + $ node ./utilities/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 + $ node ./utilities/compliance.js https://fsf.org CONTACT: |