C
C
Cockie2021-11-25 05:53:03
Python
Cockie, 2021-11-25 05:53:03

How to put Recaptcha2 token into g-recaptcha-response?

I need to solve the captcha when registering a qiwi site (just in case) - https://qiwi.com/
photo where exactly:

spoiler
619efa4b465b3977380251.jpeg

and that's the problem, I don't understand where to insert the captcha token, so
I tried to go through it like this:
driver.find_element_by_xpath('/html/body/div[2]/div/div/form/div/div[2]/div[1]/div[2]/div/div/div[1]/div/div[2]/div/div/div/textarea').send_keys(str(token))

But it gives me an error
I would be very grateful if anyone can help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-11-25
@Cockie

As an option, I can offer selenium-wire, it can modify on-the-fly requests. Well, actually, you can shove your request body where you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question