Answer the question
In order to leave comments, you need to log in
POST requests via Selenium?
The task is this - through Selenium I have to go to the site and pass the captcha and then the parser must send a POST request, but Selenium cannot send post requests. What should I use for this task?
Answer the question
In order to leave comments, you need to log in
Selenium never sends any POST request anywhere. You mixed apples with pears.
Selenium controls the browser. If you need to open a page using a POST request, create a form, open the form, and only then through selenium.
Next, you can upload a piece of JS code to the browser, which will create the form for you and open it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question