E
E
Eltorniado2022-01-04 17:33:05
Python
Eltorniado, 2022-01-04 17:33:05

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

7 answer(s)
K
Kadabrov, 2022-01-04
@Eltorniado

scrapy

D
Denis, 2022-01-13
@Sat0shi

—headless

S
shurshur, 2022-01-04
@shurshur

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.

A
Alexander Kovalenko, 2022-01-05
@KovalenkoA12

In Selenium there is an option to enable headless mode which disables the browser shell graph

E
Emil Revencu, 2022-01-13
@Revencu

You can also use requests only.
You need to use cookies correctly and know all requests when clicking

V
Vasily Nikonov, 2022-01-13
@jintaxi

All toggle switches selenium
Clear video on this topic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question