webperf-core is an open-source testing suite tailored to help you improve your digital presence in areas like web performance, security and accessibility to email best practice using many small improvements.
Skip documents that don’t have .html, .htm, .xhtml, or .xht extensions.
default: [unset; all documents found are checked, regardless of extension]
--html
Forces any .xhtml or .xht documents to be parsed using the HTML parser.
default: [unset; XML parser is used for .xhtml and .xht documents]
--exit-zero-always
Makes the checker exit zero even if errors are reported for any documents.
default: [unset; checker exits 1 if errors are reported for any documents]
--user-agent USER_AGENT
Specifies the value of the User-Agent request header to send when checking
HTTPS/HTTP URLs.
default: "Validator.nu/LV"
--filterpattern REGEXP
Specifies a regular expression. Any error message or warning message that
matches the regular expression is filtered out (dropped/suppressed).
As with all other checker options, this option may only be specified once.
So to filter multiple error messages or warning messages, you must provide a
single regular expression that will match all the messages. The typical way
to do that for regular expressions is to OR multiple patterns together using
the "|" character.
default: [unset; checker does no message filtering]
--errors-only
Specifies that only error-level messages and non-document-error messages
are reported (so that warnings and info messages are not reported).
default: [unset; all messages reported, including warnings & info messages]
HTML
--skip-non-html
Skip documents that don’t have .html, .htm, .xhtml, or .xht extensions.
default: [unset; all documents found are checked, regardless of extension]
--html
Forces any .xhtml or .xht documents to be parsed using the HTML parser.
default: [unset; XML parser is used for .xhtml and .xht documents]
--exit-zero-always
Makes the checker exit zero even if errors are reported for any documents.
default: [unset; checker exits 1 if errors are reported for any documents]
--user-agent USER_AGENT
Specifies the value of the User-Agent request header to send when checking HTTPS/HTTP URLs.
default: "Validator.nu/LV"
--filterpattern REGEXP
Specifies a regular expression. Any error message or warning message that matches the regular expression is filtered out (dropped/suppressed).
As with all other checker options, this option may only be specified once. So to filter multiple error messages or warning messages, you must provide a single regular expression that will match all the messages. The typical way to do that for regular expressions is to OR multiple patterns together using the "|" character.
default: [unset; checker does no message filtering]
--errors-only
Specifies that only error-level messages and non-document-error messages are reported (so that warnings and info messages are not reported).
default: [unset; all messages reported, including warnings & info messages]