Closed dolfje closed 1 year ago
@dolfje is this something that will work the same way in playwright? If not, we need to consider it only as a valid option for puppeteer.
@dolfje reminder 👆
I don't know playwright, but can't find it in their docs. So probably not.
Hi all, in playwright we can use await page.waitForLoadState('networkidle')
instead :)
Maybe this can be a reference (self-test only, not ready for merge): https://github.com/RexSkz/headless-recorder/pull/4/files
Description
With a React application, a click doesn't always change the navigation. But in most cases will load some extra data. So add an option to wait after all network activity is done when clicking.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Internal testing
Checklist:
npm run lint
passes with no errors.npm run test
passes with no errors.