@christian-bromann/webdriverio
Version:
A nodejs bindings implementation for selenium 2.0/webdriver
18 lines (16 loc) • 656 B
JavaScript
import conf from '../../conf/index.js'
/**
* stale element retry is not working in standalone mode
* ToDo #1469: broke with dependency update to babel6
*/
describe.skip('staleElementRetry', () => {
it('should not throw stale element error in standalone mode', async function () {
let iterations = 50
await this.client.url(conf.testPage.staleTest)
while (iterations--) {
let res = await this.client.isVisible('.staleElementContainer1 .stale-element-container-row')
console.log(`staleElementRetry loop cnt: ${iterations}, command result: ${res}`)
expect(res).to.be.true
}
})
})