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

Run on page with interactions / flows #383

Open
michellbrito opened this issue Jul 17, 2020 · 3 comments
Open

Run on page with interactions / flows #383

michellbrito opened this issue Jul 17, 2020 · 3 comments
Labels
enhancement New feature or request P2

Comments

@michellbrito
Copy link

Hi

I'm wondering if lighthouse can perform audits on a modal that needs to be clicked for it to be open. Currently If I click on the modal and run the audit since the page gets refresh the modal goes away and the audit doesn't include the elements from that modal.

Thank you!

@patrickhulce
Copy link
Collaborator

Thanks for filing @michellbrito! The only way to do this right now is by exposing the modal through a client-side routing URL i.e. /path/to/page#modal-open or something similar.

It's a frequently requested Lighthouse core feature (GoogleChrome/lighthouse#3837 / GoogleChrome/lighthouse#1769) when Lighthouse CI receives a Lighthouse update with this functionality we'll be sure to document it here too :)

@patrickhulce patrickhulce changed the title lighthouse-ci ran against modal Run on page with interactions / flows Jul 17, 2020
@lebreRafael
Copy link

lebreRafael commented Jul 20, 2023

Since this is now available on Lighthouse, are there any plans to support it on lighthouse-ci?

@adamraine
Copy link
Member

Since this is a very old issue here are the docs on user flows: https://github.com/GoogleChrome/lighthouse/blob/main/docs/user-flows.md
Previous discussion on the topic #729

Full user flow support would definitely be nice to have although this will require a large UX investment. Individual timespan/snapshot reports should be much easier to support since the JSON result is the same structure as navigation mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
None yet
Development

No branches or pull requests

4 participants