Answer the question
In order to leave comments, you need to log in
Simulating a button press on a website?
There is a site. The site has a form and a button that sends Ajax data to the server, and the server displays the information on the page.
How can I fill out this form in Python and click the button? After that, you need to collect information.
Answer the question
In order to leave comments, you need to log in
Either make a POST request using the requests library (this will be the form submission, in fact), or screw Selenium.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question