Skip to content
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

How to do lighthouse testing for components that arrives after click on the page(means it will not be there on pageload)? #9699

Closed
dileep524 opened this issue Sep 19, 2019 · 1 comment

Comments

@dileep524
Copy link

Provide the steps to reproduce

  1. Run LH on

What is the current behavior?

What is the expected behavior?

Environment Information

  • Affected Channels:
  • Lighthouse version:
  • Node.js version:
  • Operating System:

Related issues

@patrickhulce
Copy link
Collaborator

Thanks for filing @dileep524!

You'll have to write a custom gatherer or make it revealed via the URL (i.e. when you go to http://my-site.com/my-page#reveal-the-modal-that-I-want-a11y-score-on have it trigger whatever UI you want LH to audit).

There's additional discussion and information about this in #3837 #4403 #1418 custom audit docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants