You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to add optional parameter in page.$ to wait for selector first, than perform searching, another words replacing await page.waitForSelector('selector'); await page.$('selector');
with await page.$('selector',{waitFor: true});
or something like it, because for my tests $ or $$ functions sometimes return undefined
The text was updated successfully, but these errors were encountered:
Is it possible to add optional parameter in page.$ to wait for selector first, than perform searching, another words replacing
await page.waitForSelector('selector'); await page.$('selector');
with
await page.$('selector',{waitFor: true});
or something like it, because for my tests $ or $$ functions sometimes return undefined
The text was updated successfully, but these errors were encountered: