Uses of Interface
com.microsoft.playwright.WebSocketFrame
-
Packages that use WebSocketFrame Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
Uses of WebSocketFrame in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WebSocketFrame Modifier and Type Field Description java.util.function.Predicate<WebSocketFrame>WebSocket.WaitForFrameReceivedOptions. predicateReceives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.java.util.function.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, java.lang.Runnable callback)Performs action and waits for a frame to be sent.default WebSocketFrameWebSocket. waitForFrameReceived(java.lang.Runnable callback)Performs action and waits for a frame to be sent.WebSocketFrameWebSocket. waitForFrameSent(WebSocket.WaitForFrameSentOptions options, java.lang.Runnable callback)Performs action and waits for a frame to be sent.default WebSocketFrameWebSocket. waitForFrameSent(java.lang.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(java.util.function.Consumer<WebSocketFrame> handler)Removes handler that was previously added withonFrameReceived(handler).voidWebSocket. offFrameSent(java.util.function.Consumer<WebSocketFrame> handler)Removes handler that was previously added withonFrameSent(handler).voidWebSocket. onFrameReceived(java.util.function.Consumer<WebSocketFrame> handler)Fired when the websocket receives a frame.voidWebSocket. onFrameSent(java.util.function.Consumer<WebSocketFrame> handler)Fired when the websocket sends a frame.WebSocket.WaitForFrameReceivedOptionsWebSocket.WaitForFrameReceivedOptions. setPredicate(java.util.function.Predicate<WebSocketFrame> predicate)Receives theWebSocketFrameobject and resolves to truthy value when the waiting should resolve.WebSocket.WaitForFrameSentOptionsWebSocket.WaitForFrameSentOptions. setPredicate(java.util.function.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 WebSocketFrame Modifier and Type Class Description private static classWebSocketImpl.WebSocketFrameImplMethods in com.microsoft.playwright.impl that return WebSocketFrame Modifier and Type Method Description private WebSocketFrameWebSocketImpl. waitForEventWithTimeout(WebSocketImpl.EventType eventType, java.lang.Runnable code, java.util.function.Predicate<WebSocketFrame> predicate, java.lang.Double timeout)WebSocketFrameWebSocketImpl. waitForFrameReceived(WebSocket.WaitForFrameReceivedOptions options, java.lang.Runnable code)private WebSocketFrameWebSocketImpl. waitForFrameReceivedImpl(WebSocket.WaitForFrameReceivedOptions options, java.lang.Runnable code)WebSocketFrameWebSocketImpl. waitForFrameSent(WebSocket.WaitForFrameSentOptions options, java.lang.Runnable code)private WebSocketFrameWebSocketImpl. waitForFrameSentImpl(WebSocket.WaitForFrameSentOptions options, java.lang.Runnable code)Method parameters in com.microsoft.playwright.impl with type arguments of type WebSocketFrame Modifier and Type Method Description voidWebSocketImpl. offFrameReceived(java.util.function.Consumer<WebSocketFrame> handler)voidWebSocketImpl. offFrameSent(java.util.function.Consumer<WebSocketFrame> handler)voidWebSocketImpl. onFrameReceived(java.util.function.Consumer<WebSocketFrame> handler)voidWebSocketImpl. onFrameSent(java.util.function.Consumer<WebSocketFrame> handler)private WebSocketFrameWebSocketImpl. waitForEventWithTimeout(WebSocketImpl.EventType eventType, java.lang.Runnable code, java.util.function.Predicate<WebSocketFrame> predicate, java.lang.Double timeout)
-