taufiqkyu 0 Posted April 1, 2019 Report Share Posted April 1, 2019 (edited) Hi iget a problem ti click submit button on pinterest login. i can not find the submit button. is there any advice to do it? navigate("https://www.pinterest.com/login/?referrer=home_page","Wait") wait for browser event("Everything Loaded","") wait for element(<email field>,"","Appear") set(#GoogleSiteKey,$scrape attribute(<src=r"https://www.google.com/recaptcha/api2/anchor?.*">,"src"),"Global") set(#GoogleSiteKey,$find regular expression(#GoogleSiteKey,"(?<=https://www.google.com/recaptcha/api2/anchor?.*?=.*?=).*?(?=&.*?=)"),"Global") clear list(%list google key) clear list(%Debug) add list to list(%list google key,$list from text(#GoogleSiteKey,$new line),"Delete","Global") set(#google key,$list item(%list google key,0),"Global") add list to list(%Debug,$plugin function("Advanced Captcha.dll", "$2captcha.com recaptcha v2 invisible", "xxxxxxxxxx", #google key, "https://www.pinterest.com/login/?referrer=home_page", "", "", 120, ""),"Delete","Global") if($comparison($list total(%Debug),">",1)) { then { change attribute(<id="g-recaptcha-response">,"style","width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none;") change attribute(<id="g-recaptcha-response">,"value",$list item(%Debug,1)) run javascript("run javascript(\"_submitForm();\")") comment("run javascript(\"___grecaptcha_cfg.clients[0].aa.l.callback()\")") } else { } } Edited April 1, 2019 by taufiqkyu Quote Link to post Share on other sites
hare ram 23 Posted April 2, 2019 Report Share Posted April 2, 2019 you should find there in site there is callback function and run in javascript... Quote Link to post Share on other sites
taufiqkyu 0 Posted April 5, 2019 Author Report Share Posted April 5, 2019 Thanks, it' solved now Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.