Uses of Class
com.microsoft.playwright.Route.FetchOptions
-
Packages that use Route.FetchOptions Package Description com.microsoft.playwright -
-
Uses of Route.FetchOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Route.FetchOptions Modifier and Type Method Description Route.FetchOptions
Route.FetchOptions. setHeaders(Map<String,String> headers)
If set changes the request HTTP headers.Route.FetchOptions
Route.FetchOptions. setMaxRedirects(int maxRedirects)
Maximum number of request redirects that will be followed automatically.Route.FetchOptions
Route.FetchOptions. setMaxRetries(int maxRetries)
Maximum number of times network errors should be retried.Route.FetchOptions
Route.FetchOptions. setMethod(String method)
If set changes the request method (e.g.Route.FetchOptions
Route.FetchOptions. setPostData(byte[] postData)
If set changes the post data of request.Route.FetchOptions
Route.FetchOptions. setPostData(String postData)
If set changes the post data of request.Route.FetchOptions
Route.FetchOptions. setTimeout(double timeout)
Request timeout in milliseconds.Route.FetchOptions
Route.FetchOptions. setUrl(String url)
If set changes the request URL.Methods in com.microsoft.playwright with parameters of type Route.FetchOptions Modifier and Type Method Description APIResponse
Route. fetch(Route.FetchOptions options)
Performs the request and fetches result without fulfilling it, so that the response could be modified and then fulfilled.
-