Closed DevDaoud closed 6 years ago
Hi everyone, for some reason i can do the following await mainTab.click('#header-links a') but i can't do this: await mainTab.click('input') knowing that there is only one input on the page. Thanks.
await mainTab.click('#header-links a')
await mainTab.click('input')
i just founded why it was not working. the code was running before the element was present in the dom.
Hi everyone, for some reason i can do the following
await mainTab.click('#header-links a')
but i can't do this:await mainTab.click('input')
knowing that there is only one input on the page. Thanks.