Uses of Interface
com.microsoft.playwright.WebSocket
-
Packages that use WebSocket Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
Uses of WebSocket in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WebSocket Modifier and Type Field Description java.util.function.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, java.lang.Runnable callback)Performs action and waits for a newWebSocket.default WebSocketPage. waitForWebSocket(java.lang.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(java.util.function.Consumer<WebSocket> handler)Removes handler that was previously added withonClose(handler).voidPage. offWebSocket(java.util.function.Consumer<WebSocket> handler)Removes handler that was previously added withonWebSocket(handler).voidWebSocket. onClose(java.util.function.Consumer<WebSocket> handler)Fired when the websocket closes.voidPage. onWebSocket(java.util.function.Consumer<WebSocket> handler)Emitted whenWebSocketrequest is sent.Page.WaitForWebSocketOptionsPage.WaitForWebSocketOptions. setPredicate(java.util.function.Predicate<WebSocket> predicate)Receives theWebSocketobject and resolves to truthy value when the waiting should resolve. -
Uses of WebSocket in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement WebSocket Modifier and Type Class Description (package private) classWebSocketImplMethods in com.microsoft.playwright.impl that return WebSocket Modifier and Type Method Description WebSocketPageImpl. waitForWebSocket(Page.WaitForWebSocketOptions options, java.lang.Runnable code)private WebSocketPageImpl. waitForWebSocketImpl(Page.WaitForWebSocketOptions options, java.lang.Runnable code)Method parameters in com.microsoft.playwright.impl with type arguments of type WebSocket Modifier and Type Method Description voidWebSocketImpl. offClose(java.util.function.Consumer<WebSocket> handler)voidPageImpl. offWebSocket(java.util.function.Consumer<WebSocket> handler)voidWebSocketImpl. onClose(java.util.function.Consumer<WebSocket> handler)voidPageImpl. onWebSocket(java.util.function.Consumer<WebSocket> handler)
-