Skip to content

Retry

Pre-release
Pre-release
Compare
Choose a tag to compare
@JaySunSyn JaySunSyn released this 05 Aug 17:14
· 12 commits to master since this release
bf7fbe7

We now retry a couple of times if an element was not found. Esp. useful when lazy-importing elements.

// Defaults
const maxRetries = options.maxRetries || 3;
const retryDelayBase = options.retryDelayBase || 500;

cy.dwGet('my-el', {maxRetries: 10, retryDelayBase: 100})