Forum Discussion
Mr_Bro
6 years agoFrequent Contributor
Hi whuang ,
please try using the below and check if this worked for you and let me if this helped you.
var readyState = page.contentDocument.Script.eval("return document.readyState;");
if (readyState == TRUE){
//do something
}
or
if ( page.contentDocument.readyState == True ){
//do something
}
Thank You 🙂