axe-cli
axe-cli copied to clipboard
Various erros on windows
C:\Users\steve>axe deque.com
Running axe-core 3.1.2 in chrome-headless
DevTools listening on ws://127.0.0.1:56578/devtools/browser/51b91bb1-2292-4b36-b466-05517c9e4938
Testing http://deque.com ... please wait, this may take a minute.
[0221/092138.940:INFO:CONSOLE(2)] "JQMIGRATE: Migrate is installed, version 1.4.1", source: https://aa0q1c6q9h-flywheel.netdna-ssl.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 (2)
axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 AppData\Roaming\npm\node_modules\axe-cli\lib\axe-test-urls.js:85:8
The JQMIGRATE only occurs sometimes
-
I find the comma to separate multple urls must be followed by a space or else get spurious warnings instead of file audit output. The usage output (--help) is not showing the option for multiple urls
-
if you redirect stdout to a file (eg with
>out.txt
) all the terminal escapes for colour are output - I'm not sure but I do not expect these not to be output to non TTY. The certainly makes reading the file hard
FYI a hacky fix t 3 was to fire up WSL and run. Not ideal :(
cat /mnt/c/Users/steve/out.txt | perl -pe 's/\e\[?.*?[\@-~]//g' > /mnt/c/Users/steve/out-notty.txt