Answer the question
In order to leave comments, you need to log in
Is it possible to keep headless-Selenium running and get updates on the page at intervals?
Is it possible to keep headless-Selenium running and get updates on the page at intervals? Or does Selenium load one-time code and it cannot be executed there? The opened site connects to the websocket and receives data from there. You need to receive that data, but you don’t want to connect with a direct connection to the websocket, as long as there are a lot of authorizations, it’s not advisable. It's easier to pull a ready-made value from a page with an interval update, if possible.
Answer the question
In order to leave comments, you need to log in
There are no limitations you are suggesting. The session is not limited in time, and the scripts on the page are executed in the same way as when using normal manual surfing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question