-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support passing --debug
to pa11y
#180
Comments
The debug flag ( |
Thank you, @joeyciechanowicz. The debug flag works for |
I think if we were to support passing the |
Yes, |
Moving issue to the pa11y-ci repo. |
--debug
to pa11y
I have a set of Pa11y tests (run from
pa11y-ci
), each with aurl
and a set ofactions
to set fields, click elements, and wait for paths to change or other conditions. When I run/debug these tests, I often get messages like this, and then have to figure out which action caused the problem.More informative messages would be nice, but for now I use
screen capture
every few actions to trace what happens. I think it would be convenient and not difficult to add an action that writes text to the console. Something likeconsole log <message>
orwrite text <message>
. This could even be extended toconsole error <message>
orwrite url
orwrite field <selector>
.Does this seem worth doing? Thoughts on syntax?
The text was updated successfully, but these errors were encountered: