Uses of Interface
com.microsoft.playwright.WebSocketFrame
-
Packages that use WebSocketFrame Package Description com.microsoft.playwright -
-
Uses of WebSocketFrame in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WebSocketFrame Modifier and Type Field Description Predicate<WebSocketFrame>WebSocket.WaitForFrameReceivedOptions. predicateReceives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.Predicate<WebSocketFrame>WebSocket.WaitForFrameSentOptions. predicateReceives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return WebSocketFrame Modifier and Type Method Description WebSocketFrameWebSocket. waitForFrameReceived(WebSocket.WaitForFrameReceivedOptions options, Runnable callback)Performs action and waits for a frame to be sent.default WebSocketFrameWebSocket. waitForFrameReceived(Runnable callback)Performs action and waits for a frame to be sent.WebSocketFrameWebSocket. waitForFrameSent(WebSocket.WaitForFrameSentOptions options, Runnable callback)Performs action and waits for a frame to be sent.default WebSocketFrameWebSocket. waitForFrameSent(Runnable callback)Performs action and waits for a frame to be sent.Method parameters in com.microsoft.playwright with type arguments of type WebSocketFrame Modifier and Type Method Description voidWebSocket. offFrameReceived(Consumer<WebSocketFrame> handler)Removes handler that was previously added withonFrameReceived(handler).voidWebSocket. offFrameSent(Consumer<WebSocketFrame> handler)Removes handler that was previously added withonFrameSent(handler).voidWebSocket. onFrameReceived(Consumer<WebSocketFrame> handler)Fired when the websocket receives a frame.voidWebSocket. onFrameSent(Consumer<WebSocketFrame> handler)Fired when the websocket sends a frame.WebSocket.WaitForFrameReceivedOptionsWebSocket.WaitForFrameReceivedOptions. setPredicate(Predicate<WebSocketFrame> predicate)Receives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.WebSocket.WaitForFrameSentOptionsWebSocket.WaitForFrameSentOptions. setPredicate(Predicate<WebSocketFrame> predicate)Receives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.
-