Repeat Steps and Wait for Captcha Input

May I know Is it possible to tell the Web Browser wait for User inputting the captcha, and try logon with new Windows as below steps?

1. Open target logon page
2. Wait for user to input the captcha
3. As user completed to input the captcha, it open new windows browser to try logon.
4. if the captcha expired or invalid, it wait for user input again.
5. repeat the above steps.

Thanks.
Jason

I’m not sure if you can check captcha at all because their main purpose is not allow any bots and this kind of things to be able to solve it/modify it, but maybe just checking it’s solved or not is possible. So for example you have to find is there a diffrence in html of captcha when it’s solved. If there is a diffrence between not solved and solved captcha it’s should be pretty easy from now on. You have to check for that diffrence in while loop so it will something like:

storeEval | some JS code checking for that diffrence and return 0 when captcha is not solved and 1 when it’s solved | captchaStatus
while | captchaStatus == 0
storeEval | some JS code checking for that diffrence and return 0 when captcha is not solved and 1 when it’s solved | captchaStatus
endWhile