Hi folks need a little dev help. I am
Hi folks need a little dev help. I am basically performing some actions on a webpage.
I want the actions to be performed only when the page is fully loaded. I have tried other ways such as window.document('') and other mentioned on stackoverflow but none worked for me. Need a little help.
this is the below classname that is visible when the page is fuly loaded so my ideaa over here is to wait untill this className is present inside the DOM if it's present meaning the page is loaded and if not then it's not loaded
this is the classname
1 Reply
other-emerald•15mo ago
if you know the selector that you are waiting for to appear you can just use
await page.waitForSelector('. datatable-body')