What is the equivalent of a fixed wait in Playwright, without any conditions, similar to the Cypress cy.wait(600)?
Hey Dipen,
It’s recommended to avoid hard waits in Playwright, as they are not a flexible approach.
Hard waits, such as await page.waitForTimeout(5000)
Instead, use try this await new Promise(resolve => setTimeout(resolve, 5000))
;
Hope this works