Answer the question
In order to leave comments, you need to log in
How to get websocket from selenium?
There is a heavy site with a bunch of js, it communicates via websockets, but problems start when you try to work with tips as an authorized user, keys are generated every 10 minutes, and a request for a new one is also with a key, so as not to bother with authorization in sockets, climbed through selenium , but due to the fact that the site is heavy and very often updated, miss clicks often occur (either the element is lost or moved when you access it). Therefore, the question arose whether it is possible to immediately access the socket from the browser, get the coveted key and send the required request with it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question