Uses of Interface
com.microsoft.playwright.WebSocket
-
Packages that use WebSocket Package Description com.microsoft.playwright -
-
Uses of WebSocket in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WebSocket Modifier and Type Field Description Predicate<WebSocket>Page.WaitForWebSocketOptions. predicateReceives theWebSocketobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return WebSocket Modifier and Type Method Description WebSocketPage. waitForWebSocket(Page.WaitForWebSocketOptions options, Runnable callback)Performs action and waits for a newWebSocket.default WebSocketPage. waitForWebSocket(Runnable callback)Performs action and waits for a newWebSocket.Method parameters in com.microsoft.playwright with type arguments of type WebSocket Modifier and Type Method Description voidWebSocket. offClose(Consumer<WebSocket> handler)Removes handler that was previously added withonClose(handler).voidPage. offWebSocket(Consumer<WebSocket> handler)Removes handler that was previously added withonWebSocket(handler).voidWebSocket. onClose(Consumer<WebSocket> handler)Fired when the websocket closes.voidPage. onWebSocket(Consumer<WebSocket> handler)Emitted whenWebSocketrequest is sent.Page.WaitForWebSocketOptionsPage.WaitForWebSocketOptions. setPredicate(Predicate<WebSocket> predicate)Receives theWebSocketobject and resolves to truthy value when the waiting should resolve.
-