0

What is the wright way to create notifiations when a new message arrives via EventStream?

Having a GET url that looks like:

https://example.com/signalr/hubs/connect?transport=serverSentEvents&clientProtocol=1.5

According to Chrome: "Also called Server-sent Events, these are push notifications from the server received as DOM events."

The documentation I found so far:

https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events

Is there a way I can be notified in Selenium when a new message arrives via the EventStream ? If Selenium is not the wright way to monitor the messages, can I programatically monitor them from a ChromeExtension? In case of DevTools in Selenium is accessing the networking from DevTools a solution? How to access Network panel on google chrome developer tools with selenium?

In developer tools I can see the messages in the Network > EventStream tab.

profimedica
  • 2,351
  • 29
  • 37

0 Answers0