-
Hello ✋ so it's my first time using lighthouse and puppeteer and I don't understand what I'm doing wrong. This is my code: Repository When I run Also if I remove the second Generally the basic test-code without lighthouse is working ( This is the error(using node v18.15.0):
Thank you in advande for helping me, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The We plan on adding support for auditing soft navigations in the future (#14573), but the Chrome tooling behind it is still experimental. If you're interested in being a trailblazer, you can also check out https://github.com/adamraine/lighthouse-plugin-soft-navigation. |
Beta Was this translation helpful? Give feedback.
The
flow.navigate
method is waiting for a page navigation, but it never sees one because thepage.click
command does not actually initiate a real page navigation. The page is doing a "soft navigation" instead which cannot be tested with navigation mode. To audit a soft navigation right now, you need to use Lighthouse timespan mode.We plan on adding support for auditing soft navigations in the future (#14573), but the Chrome tooling behind it is still experimental. If you're interested in being a trailblazer, you can also check out https://github.com/adamraine/lighthouse-plugin-soft-navigation.