S
S
SHADRIN2021-06-02 17:25:06
Python
SHADRIN, 2021-06-02 17:25:06

How to submit a recaptcha v2 form without a button?

Hello everyone, I can’t send the captcha form with the solution, I tried to refer to the form, but it sends an email with confirmation and that’s it.

I can’t attach the site, it’s only by authorization, I’ll upload the page file.
Please help me
I use python/selenium I paste the

key

driver.execute_script(f'document.getElementById("g-recaptcha-response").innerHTML="{user_answer["captchaSolve"]}";')

I can also insert the key like this, I define the element and then just send_keys;
driver.execute_script("arguments[0].style.display = 'block';", element)


There were attempts of such a plan to send the form but did not work out. When submitting this form, I am redirected to the 404 page. Link to the HELP page code
driver.find_element_by_tag_name('form').submit()


Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question