|
-
Sep 10th, 2011, 06:47 PM
#1
Thread Starter
Hyperactive Member
Wait for webbrowser-java to finish
I am playing around with web automation and have a problem.
I am clicking a "java button" (I think it is called that) and that button shows a "java window" (a window which doesn't require the whole site to reload). I need to wait for this window to show before I continue with the execution of the code, but since the whole page isn't re-rendering the webBrowser_DocumentCompleted doesn't execute.
I only need to wait like a second, maybe even 500ms will do. I tried with Thread.Sleep, but that paused the webbrowser rendering too so it failed.
Any good method to solve this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|