During Web Automation, if the application is making a web socket connection then how can you get the network logs?

During Web Automation, if the application is making a web socket connection then how can you get the network logs?

Hey Jacqueline,

It’s quite simple to get the network logs while you are trying to make a web socket connection during web automation.

You need to run the below commands for the Windows/Mac operating systems:

For Windows :

"networkConfig": {
        "bypassWebsocket": True,
    },

For Mac:

Here you can add the URL the network flag will bypass.

   "networkConfig": {
            "bypassWebsocket": True,
            "bypassURLs": ["https://echo.websocket.org/"],
        },