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

Audit without a page refresh? #2332

Closed
NamKot opened this issue May 22, 2017 · 7 comments
Closed

Audit without a page refresh? #2332

NamKot opened this issue May 22, 2017 · 7 comments

Comments

@NamKot
Copy link

NamKot commented May 22, 2017

Hi there! Lighthouse is a great tool that generates a consolidated report of performance, accessibility and best practices report. The webapp we are currently developing is a SPA (single page application) which throws an error on refreshing the page. Due to security concerns (since it is a Test Delivery application), refresh is disallowed.

It would be a great feature if the report could be generated in a separate tab/window without page reload.
If the above is supported, it would help to run the tool against multiple sequential webpages (including single page application).
i did see a few posts on the same lines, but found it helpful to mention the scenario above.

Thanks!
Namrata
LinkedIn profile: https://www.linkedin.com/in/namrata-kotha-84b118b7/

@wardpeet
Copy link
Collaborator

The only option I see at the moment is to run multiple lighthouse runs with 3 different configs as they only run 1 pass.

If you need help I'm happy to support you with an example.

@NamKot
Copy link
Author

NamKot commented May 30, 2017

@wardpeet Please do - would really help. Thanks in advance!

-Nam

@paulirish paulirish changed the title Feedback on Page Refresh for SPAs Audit without a page refresh? Sep 26, 2017
@paulirish
Copy link
Member

@NamKot what details do you want from Lighthouse in this case? PWA? Performance? Best practices? Accessiblilty?

In some cases we can provide them without a reload.. However performance requires a load... What part of the report is your priority? thanks!

@paulirish
Copy link
Member

Likely a dupe of #1769

@rageshpayyan
Copy link

The only option I see at the moment is to run multiple lighthouse runs with 3 different configs as they only run 1 pass.

If you need help I'm happy to support you with an example.

Is there is a way we can audit page flows using lighthouse. example, page1 -> page 2-> page N. If I use lighthouse to audit page N, single page going page1 instead of page N. Is there are any other techniques to achieve this.

@wardpeet
Copy link
Collaborator

lighthouse only supports 1 page. If you need to test for multiple pages you can have a look at https://github.com/github/lightcrawler which hasn't been updated for a while.

There are probably other projects that does something similar.

@rageshpayyan
Copy link

lighthouse only supports 1 page. If you need to test for multiple pages you can have a look at https://github.com/github/lightcrawler which hasn't been updated for a while.

There are probably other projects that does something similar.
Can audit page N using lighthouse without refreshing, in my app if I audit page N, it loses all the browser state and going to the home page. So my question is can be able to use a lighthouse without page reload.

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

5 participants