Uses of Class
com.microsoft.playwright.Page.WaitForWebSocketOptions
Packages that use Page.WaitForWebSocketOptions
-
Uses of Page.WaitForWebSocketOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Page.WaitForWebSocketOptionsModifier and TypeMethodDescriptionPage.WaitForWebSocketOptions.setPredicate(Predicate<WebSocket> predicate) Receives theWebSocketobject and resolves to truthy value when the waiting should resolve.Page.WaitForWebSocketOptions.setTimeout(double timeout) Maximum time to wait for in milliseconds.Methods in com.microsoft.playwright with parameters of type Page.WaitForWebSocketOptionsModifier and TypeMethodDescriptionPage.waitForWebSocket(Page.WaitForWebSocketOptions options, Runnable callback) Performs action and waits for a newWebSocket. -
Uses of Page.WaitForWebSocketOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type Page.WaitForWebSocketOptionsModifier and TypeMethodDescriptionPageImpl.waitForWebSocket(Page.WaitForWebSocketOptions options, Runnable code) private WebSocketPageImpl.waitForWebSocketImpl(Page.WaitForWebSocketOptions options, Runnable code)