aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-07-28 15:32:10 +1000
committerYuchen Pei <hi@ypei.me>2022-07-28 15:32:10 +1000
commit5b10a10743b8459f64fe83e0ff420f69da79c9a4 (patch)
treec61904d688247790181d4955a4074b8c94302c03 /README
parentb98cb70b1bcd5b211aaa5d2675f96416911c0647 (diff)
Moving scripts and utilities into a new utilities dir
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 9d5028c..4472463 100644
--- a/README
+++ b/README
@@ -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: