Rate this page:

WebSocketEvents

Add the following line to your scenario code to use the events:

require(Modules.WebSocket);