P
P
potapovdmtriy2021-05-06 20:25:35
Parsing
potapovdmtriy, 2021-05-06 20:25:35

How to catch selenium hang?

The browser in an endless while loop receives the code of the page, which is updated dynamically.
beautifulsoup receives the code and reads the necessary data, and so on.
But it happens that, as it were, the data on the site freezes, how can this be caught?
After refreshing the page, everything is OK, but I don’t want to update, we may not have time to read the necessary data, because they change quickly. Maybe someone came across. The cache can help to disable or something else ???
I would be grateful for your help in this matter.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question