|
I use WIN32::OLE module. I found this small subroutine that waits for IE. If you are using IE, or have IE, then this might work for you. You can also just set visible to false and it would work almost like Mech does.
sub WaitForBusy {
while ($IEbrowser->{Busy} == 1) {
sleep(0.5);
}
}
|