hello. I am using the 3rd party funcaptcha solving service and have received the solved token. the next step is to submit the token to hotmail to pass the captcha but I don't know how to do it.
the 3rd party service has instructions on how to use the following code to do it but when I copy these codes into zennoposter it doesn't work.
need everyone's help
Switch iframe using Java code:
WebElement iframe = driver.findElement(By.id("arkoseFrame"));
//Switch to the frame
driver.switchTo().frame(iframe);
Send token:
function submit(token) {
parent.postMessage(JSON.stringify({
eventId: "challenge-complete",
payload: { sessionToken: token }
}), "*");
}
submit("token_here");
Where token_here is the Funcaptcha Token you received from the service