question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need help enter token of Funcaptcha

See original GitHub issue

I try to create an account with Microsoft. https://login.live.com/

Sometimes I do get a FunCaptcha to solve. I am able to solve the captcha und get a valid token.

I try to enter the token like this from the examples:

script = """
    document.getElementById('FunCaptcha-Token').value = decodeURIComponent('{0}');
    document.getElementById('verification-token').value = decodeURIComponent('{0}');    
    """.format(
        quote(token)
    )
    browser.execute_script(script)

I can see with chrome developer-tools that the elements “FunCaptcha-Token” and “verification-token” are present on the website.

Also the token I do receive from anticaptcha is not empty.

Unfortunately I do get this exception message: selenium.common.exceptions.JavascriptException: Message: javascript error: Cannot set property ‘value’ of null

The elments “FunCaptcha-Token” and “verification-token” are inside of a iframe with id “enforcementFrame” and there is also a “#document” shadow DOM. In selenium this needs a workaround, but I do not know if the above Javascript function can handle this. (See the screenshot)

I really need help to enter the tokens und also to submit the form. It seems to be not trivial.

image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

3reactions
k3lu0mx4ccommented, May 27, 2021

I have a solution

2reactions
k3lu0mx4ccommented, Jul 16, 2021

Solve outlook captcha without using service. Price 100$

Read more comments on GitHub >

github_iconTop Results From Across the Web

Need help enter token of Funcaptcha - Bountysource
I try to create an account with Microsoft. https://login.live.com/. Sometimes I do get a FunCaptcha to solve. I am able to solve the...
Read more >
python-anticaptcha/Lobby - Gitter
I'm using anti-captcha service with your library, but I'm having a problem with funcaptcha and Microsoft signup site. ... I googled for some...
Read more >
Change Value of Element within Python with JS and Selenium
querySelector('#FunCaptcha-Token').value = token ''', token). Then you want to submit the form or run the callback.
Read more >
Puppeteer: How to bypass FUNCAPTCHA without submit button
I'm trying to bypass Twitch's login funcaptcha using 2captcha's API. ... receives the token needed to authenticate the captcha and login, ...
Read more >
roblox-funcaptcha - npm
getToken. Very useful for sending a login request. boolean Session.supressed If the captcha is supressed or not. Supressed captchas can be ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found