need instructions to submit solved funcaptcha token to hotmail

Learn2023

Пользователь
Регистрация
18.03.2023
Сообщения
71
Благодарностей
1
Баллы
8
126959



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
 

Learn2023

Пользователь
Регистрация
18.03.2023
Сообщения
71
Благодарностей
1
Баллы
8
here is the full service guide when sending the solved captcha token to hotmail:

Switch iframe with C# code:

driver.SwitchTo().Frame(driver.FindElement(By.Id("arkoseFrame")));

Switch iframe with Python code:

driver.switch_to.frame(driver.find_element(By.ID, 'arkoseFrame'));

Switch iframe with 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");
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)