hi i stuck at a point while solving the captcha , am not able to click submit button in captcha response field , i tried to change it's z index allow javascript run javascript and every thing else but result is same , it's only highlight the submit button but it not clicked, i tried to do it manually in ubot browser with the help of mouse pointer but still the result is [login to view URL] will be it's solution i have not exbrowser.
The code is as :-
set(#ApiKey,"2captcha api","Global")
set user agent("Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36")
wait(2)
navigate("[login to view URL]","Wait")
wait for browser event("Page Loaded","")
if($exists(<innertext="VIEW EMAIL ADDRESS">)) {
then {
click(<innertext="VIEW EMAIL ADDRESS
">,"Left Click","No")
wait(1)
wait for element(<class="recaptcha-checkbox-checkmark">,"","Appear")
set(#GoogleSiteKey,$find regular expression($scrape attribute(<class="recaptcha-checkbox-checkmark">,"fullhref"),"(?<=anchor\\?k=).*(?=&co=)"),"Global")
change attribute(<id="g-recaptcha-response">,"style",$replace($scrape attribute(<id="g-recaptcha-response">,"style"),"display: none;",$nothing))
clear list(%_rawCaptcha)
add list to list(%_rawCaptcha,$list from text($plugin function("[login to view URL]", "$2Captcha Service V2", #ApiKey, "", #GoogleSiteKey, $url, "", "", "", "", "Solve Captcha", "Recaptcha-NoCaptcha", "", "Yes", "No"),$new line),"Delete","Global")
change attribute(<id="g-recaptcha-response">,"value",$list item(%_rawCaptcha,1))
wait(1)
click(<class="yt-uix-button yt-uix-button-size-default yt-uix-button-primary captcha-submit">,"Left Click","No")
wait for element(<class="status-message-text">,30,"Appear")
}
}