Uses of Interface
com.microsoft.playwright.WebSocketFrame
Packages that use WebSocketFrame
-
Uses of WebSocketFrame in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WebSocketFrameModifier and TypeFieldDescriptionWebSocket.WaitForFrameReceivedOptions.predicateReceives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.WebSocket.WaitForFrameSentOptions.predicateReceives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return WebSocketFrameModifier and TypeMethodDescriptionWebSocket.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.WebSocket.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 WebSocketFrameModifier and TypeMethodDescriptionvoidWebSocket.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.WaitForFrameReceivedOptions.setPredicate(Predicate<WebSocketFrame> predicate) Receives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.WebSocket.WaitForFrameSentOptions.setPredicate(Predicate<WebSocketFrame> predicate) Receives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve. -
Uses of WebSocketFrame in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement WebSocketFrameMethods in com.microsoft.playwright.impl that return WebSocketFrameModifier and TypeMethodDescriptionprivate WebSocketFrameWebSocketImpl.waitForEventWithTimeout(WebSocketImpl.EventType eventType, Runnable code, Predicate<WebSocketFrame> predicate, Double timeout) WebSocketImpl.waitForFrameReceived(WebSocket.WaitForFrameReceivedOptions options, Runnable code) private WebSocketFrameWebSocketImpl.waitForFrameReceivedImpl(WebSocket.WaitForFrameReceivedOptions options, Runnable code) WebSocketImpl.waitForFrameSent(WebSocket.WaitForFrameSentOptions options, Runnable code) private WebSocketFrameWebSocketImpl.waitForFrameSentImpl(WebSocket.WaitForFrameSentOptions options, Runnable code) Method parameters in com.microsoft.playwright.impl with type arguments of type WebSocketFrameModifier and TypeMethodDescriptionvoidWebSocketImpl.offFrameReceived(Consumer<WebSocketFrame> handler) voidWebSocketImpl.offFrameSent(Consumer<WebSocketFrame> handler) voidWebSocketImpl.onFrameReceived(Consumer<WebSocketFrame> handler) voidWebSocketImpl.onFrameSent(Consumer<WebSocketFrame> handler) private WebSocketFrameWebSocketImpl.waitForEventWithTimeout(WebSocketImpl.EventType eventType, Runnable code, Predicate<WebSocketFrame> predicate, Double timeout)