| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
default Response |
Page.goBack()
Returns the main resource response.
|
Response |
Page.goBack(Page.GoBackOptions options)
Returns the main resource response.
|
default Response |
Page.goForward()
Returns the main resource response.
|
Response |
Page.goForward(Page.GoForwardOptions options)
Returns the main resource response.
|
default Response |
Page.navigate(String url)
Returns the main resource response.
|
default Response |
Frame.navigate(String url)
Returns the main resource response.
|
Response |
Frame.navigate(String url,
Frame.NavigateOptions options)
Returns the main resource response.
|
Response |
Page.navigate(String url,
Page.NavigateOptions options)
Returns the main resource response.
|
default Response |
Page.reload()
Returns the main resource response.
|
Response |
Page.reload(Page.ReloadOptions options)
Returns the main resource response.
|
Response |
Request.response()
Returns the matching
Response object, or null if the response was not received due to error. |
Response |
Frame.waitForNavigation(Frame.WaitForNavigationOptions options,
Runnable callback)
Waits for the frame navigation and returns the main resource response.
|
Response |
Page.waitForNavigation(Page.WaitForNavigationOptions options,
Runnable callback)
Waits for the main frame navigation and returns the main resource response.
|
default Response |
Page.waitForNavigation(Runnable callback)
Waits for the main frame navigation and returns the main resource response.
|
default Response |
Frame.waitForNavigation(Runnable callback)
Waits for the frame navigation and returns the main resource response.
|
Response |
Page.waitForResponse(Pattern urlOrPredicate,
Page.WaitForResponseOptions options,
Runnable callback)
Returns the matched response.
|
default Response |
Page.waitForResponse(Pattern urlOrPredicate,
Runnable callback)
Returns the matched response.
|
Response |
Page.waitForResponse(Predicate<Response> urlOrPredicate,
Page.WaitForResponseOptions options,
Runnable callback)
Returns the matched response.
|
default Response |
Page.waitForResponse(Predicate<Response> urlOrPredicate,
Runnable callback)
Returns the matched response.
|
Response |
Page.waitForResponse(String urlOrPredicate,
Page.WaitForResponseOptions options,
Runnable callback)
Returns the matched response.
|
default Response |
Page.waitForResponse(String urlOrPredicate,
Runnable callback)
Returns the matched response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Page.offResponse(Consumer<Response> handler)
Removes handler that was previously added with
onResponse(handler). |
void |
Page.onResponse(Consumer<Response> handler)
Emitted when [response] status and headers are received for a request.
|
Response |
Page.waitForResponse(Predicate<Response> urlOrPredicate,
Page.WaitForResponseOptions options,
Runnable callback)
Returns the matched response.
|
default Response |
Page.waitForResponse(Predicate<Response> urlOrPredicate,
Runnable callback)
Returns the matched response.
|
Copyright © 2021. All rights reserved.