input selector
DevDaoud opened this issue · 1 comments
DevDaoud commented
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.
DevDaoud commented
i just founded why it was not working.
the code was running before the element was present in the dom.