Uses of Interface
com.microsoft.playwright.Response
Packages that use Response
-
Uses of Response in com.microsoft.playwright
Methods in com.microsoft.playwright that return ResponseModifier and TypeMethodDescriptiondefault ResponsePage.goBack()Returns the main resource response.Page.goBack(Page.GoBackOptions options) Returns the main resource response.default ResponsePage.goForward()Returns the main resource response.Page.goForward(Page.GoForwardOptions options) Returns the main resource response.default ResponseReturns the main resource response.Frame.navigate(String url, Frame.NavigateOptions options) Returns the main resource response.default ResponseReturns the main resource response.Page.navigate(String url, Page.NavigateOptions options) Returns the main resource response.default ResponsePage.reload()This method reloads the current page, in the same way as if the user had triggered a browser refresh.Page.reload(Page.ReloadOptions options) This method reloads the current page, in the same way as if the user had triggered a browser refresh.Request.response()Returns the matchingResponseobject, ornullif the response was not received due to error.Frame.waitForNavigation(Frame.WaitForNavigationOptions options, Runnable callback) Deprecated.default ResponseFrame.waitForNavigation(Runnable callback) Deprecated.This method is inherently racy, please useFrame.waitForURL()instead.Page.waitForNavigation(Page.WaitForNavigationOptions options, Runnable callback) Deprecated.This method is inherently racy, please usePage.waitForURL()instead.default ResponsePage.waitForNavigation(Runnable callback) Deprecated.This method is inherently racy, please usePage.waitForURL()instead.Page.waitForResponse(String urlOrPredicate, Page.WaitForResponseOptions options, Runnable callback) Returns the matched response.default ResponsePage.waitForResponse(String urlOrPredicate, Runnable callback) Returns the matched response.Page.waitForResponse(Predicate<Response> urlOrPredicate, Page.WaitForResponseOptions options, Runnable callback) Returns the matched response.default ResponsePage.waitForResponse(Predicate<Response> urlOrPredicate, Runnable callback) Returns the matched response.Page.waitForResponse(Pattern urlOrPredicate, Page.WaitForResponseOptions options, Runnable callback) Returns the matched response.default ResponsePage.waitForResponse(Pattern urlOrPredicate, Runnable callback) Returns the matched response.Method parameters in com.microsoft.playwright with type arguments of type ResponseModifier and TypeMethodDescriptionvoidBrowserContext.offResponse(Consumer<Response> handler) Removes handler that was previously added withonResponse(handler).voidPage.offResponse(Consumer<Response> handler) Removes handler that was previously added withonResponse(handler).voidBrowserContext.onResponse(Consumer<Response> handler) Emitted when [response] status and headers are received for a request.voidPage.onResponse(Consumer<Response> handler) Emitted when [response] status and headers are received for a request.Page.waitForResponse(Predicate<Response> urlOrPredicate, Page.WaitForResponseOptions options, Runnable callback) Returns the matched response.default ResponsePage.waitForResponse(Predicate<Response> urlOrPredicate, Runnable callback) Returns the matched response. -
Uses of Response in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement ResponseMethods in com.microsoft.playwright.impl that return ResponseModifier and TypeMethodDescriptionFrameImpl.WaitForNavigationHelper.get()PageImpl.goBack(Page.GoBackOptions options) (package private) ResponsePageImpl.goBackImpl(Page.GoBackOptions options) PageImpl.goForward(Page.GoForwardOptions options) (package private) ResponsePageImpl.goForwardImpl(Page.GoForwardOptions options) PageImpl.reload(Page.ReloadOptions options) private ResponsePageImpl.reloadImpl(Page.ReloadOptions options) FrameImpl.waitForNavigation(Frame.WaitForNavigationOptions options, Runnable code) PageImpl.waitForNavigation(Page.WaitForNavigationOptions options, Runnable code) (package private) ResponseFrameImpl.waitForNavigationImpl(Logger logger, Runnable code, Frame.WaitForNavigationOptions options) private ResponseFrameImpl.waitForNavigationImpl(Logger logger, Runnable code, Frame.WaitForNavigationOptions options, UrlMatcher matcher) private ResponsePageImpl.waitForNavigationImpl(Logger logger, Runnable code, Page.WaitForNavigationOptions options) private ResponsePageImpl.waitForResponse(UrlMatcher urlMatcher, Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code) PageImpl.waitForResponse(String urlGlob, Page.WaitForResponseOptions options, Runnable code) PageImpl.waitForResponse(Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code) PageImpl.waitForResponse(Pattern urlPattern, Page.WaitForResponseOptions options, Runnable code) private ResponsePageImpl.waitForResponseImpl(Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code) Method parameters in com.microsoft.playwright.impl with type arguments of type ResponseModifier and TypeMethodDescriptionvoidBrowserContextImpl.offResponse(Consumer<Response> handler) voidPageImpl.offResponse(Consumer<Response> handler) voidBrowserContextImpl.onResponse(Consumer<Response> handler) voidPageImpl.onResponse(Consumer<Response> handler) private ResponsePageImpl.waitForResponse(UrlMatcher urlMatcher, Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code) PageImpl.waitForResponse(Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code) private ResponsePageImpl.waitForResponseImpl(Predicate<Response> predicate, Page.WaitForResponseOptions options, Runnable code)
Frame.waitForURL()instead.