Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 449 Bytes

no-networkidle.md

File metadata and controls

14 lines (10 loc) · 449 Bytes

Disallow usage of the networkidle option (no-networkidle)

Using networkidle is discouraged in favor of using web first assertions.

Rule Details

Examples of incorrect code for this rule:

await page.waitForLoadState('networkidle')
await page.waitForURL('...', { waitUntil: 'networkidle' })
await page.goto('...', { waitUntil: 'networkidle' })