This is the web page code:
//each play prompt and every twenty minutes pause playback
If (secondIndex %==0 1200 & amp; & CanPause & amp; & SecondIndex!=0) {
DoSelectPlay ();
ClickPause ();
//alert (" you have been watching this video "+ secondIndex +" seconds, please click on the confirmation to continue ");
Alert (" please click confirm to continue ");
DoSelectPause ();
ClickPlay ();
I want to use VB to automatically click this code "sure" dialog box appears, I'm a WebBrowser control load the page,
CodePudding user response:
This generally is to find the window first, then find button handle to simulate click, or close the window directly,The window class seems to be similar to # 32770, you use a spy and see...