I am trying to make the window of the selenium bot activated ... First I declared this line
Dim mainWin As selenium.Window
then after the Get line
.Get "https://www.kuwaitcourts.gov.kw/searchPages/searchCases.jsp"
I put this line that sets the window
Set mainWin = .Window
and before a message box I would like to activate the bot window so I used these lines
mainWin.Activate
MsgBox "Click OK After Entering Captcha", 64
There is no problem at the start of the loop as the bot window is already active but as for the second loop I didn't get the bot window activated Any idea how to overcome this point and make the selenium bot window active when needed to be active
Thanks advanced for help