How can I add an implicit wait in JS-Nightwatch?
Hello Macy,
Use the following code below to add an implicit wait in JS-Nightwatch:
await browser.setTimeout({ 'script': 60000 })
await browser.executeAsync((done) => {
console.log('this should not fail')
setTimeout(done, 59000)
})