LucianoGanga/simple-headless-chrome

input selector

DevDaoud opened this issue · 1 comments

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.

i just founded why it was not working.
the code was running before the element was present in the dom.