Checking IE Window Status of a Manually opened IE Window
HI all,
I am trying to script some actions on a web based application by using simple SendKeys in a .VBS script.
The only problem i have come accross is the fact that i have to put Sleeps in the script to wait for pages loading.
I was wondering if there was a was i could monitor an IT window and wait for it to开发者_如何学Python finish loading instead of using a Sleep command.
This would reduce un-needed pauses (if the system is running fast for once)
Thanks,
IE has a 'Busy' property.
When the page is loading: Busy = true When the page is ready: Busy = false
If you use a Do While loop until Busy = false your script will wait until the page is loaded
精彩评论