[Feature] Front-end performance testing
See original GitHub issueIt would be great if Playwright could do front-end performance testing using something like Google Lighthouse. For example, Cypress has cypress-audit
. Something similar where we can run a test and assert the metrics would be great to do with Playwright.
Issue Analytics
- State:
- Created 10 months ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
The Complete Front-End Performance Testing Guide
The Complete Front-End Performance Testing Guide · Graph of response times and how we perceive delays | TestGuild · Graph of how speed...
Read more >Front-End Performance 2021: Testing And Monitoring
An annual front-end performance checklist with everything you need to know to create fast experiences on the web today, from metrics to ...
Read more >Front End Performance Testing - Software Testing Company
Front end performance test is a user-oriented test that checks and determines the integrity and usability of a program or web page from...
Read more >What is Front End Testing? - Guru99
Front-end performance testing checks “How fast does page loads.” Optimizing the front-end performance for a single user is a good practice ...
Read more >Front-End Performance Testing: Challenges and How to Solve ...
Front-end performance testing is basically just what the name implies: testing your site's performance in the end-user's browser.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nadvolod It would be awesome if you would like to build a convenient integration! If you could publish it to share with anyone else that needs it, that would be even better 😄
It is not a top priority for Playwright to include such a feature right now, but I’ll leave this feature request open for future prioritization.
@pavelfeldman good to know about the initial Cypress navigation, thanks for pointing that out 👍
Yes, a test runner + Lighthouse integration. The issue for me with direct Lighthouse integration is that it’s not automated. Looks like I could manually construct my assertions on the result of the
await lighthouse('https://example.com', options);
. However, seems more difficult than just calling a function with some pre-configured behavior. I can build that function myself or Playwright can build it into its capabilities and have that as a feature to benefit the entire community. Wdyt?