Answer the question
In order to leave comments, you need to log in
Are there any libraries for surfing the browser without a graph. Shells? selenium without graph. shells, something between selenium and requests?
You need a python library that will allow you to enter text into fields and click on buttons on websites. Preferably without a graphical shell. At least, so that everything happens quickly, and not for several years, as is the case with selenium. In other words, we need a library that can do actions similar to requests.post (), but in order to additionally be able to click on the buttons I need.
Answer the question
In order to leave comments, you need to log in
If you need to make direct requests - requests. You will have to figure out the structure of the site yourself, including dynamically generated content.
If you need to depict a real browser with js - selenium.
There is no magical analogue of selenium "without a browser" and cannot exist, because it must imitate a full-fledged browser with a window, document, scripts and css, and without a real browser (at least headless) this cannot be achieved.
In Selenium there is an option to enable headless mode which disables the browser shell graph
You can also use requests only.
You need to use cookies correctly and know all requests when clicking
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question