Solved
Forum Discussion
I am facing the same issue. All Wait method are completely useless for me.
As a workaround I use codes like this :
here, I want to see an object to disappear.
function waitSpinner(){
page = getPage("webPage");
var elementHTML = page.FindElement("//mat-progress-spinner[@role='progressbar']");
let stopTime = GetTickCount() + 4000;
while(elementHTML.VisibleOnScreen == true && GetTickCount() < stopTime){
Delay(100);
optimisation.refresh_object(page);
}
}