| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
void |
Page.route(Pattern url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by a page.
|
void |
BrowserContext.route(Pattern url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by any page in the browser context.
|
void |
Page.route(Predicate<String> url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by a page.
|
void |
BrowserContext.route(Predicate<String> url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by any page in the browser context.
|
void |
Page.route(String url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by a page.
|
void |
BrowserContext.route(String url,
Consumer<Route> handler)
Routing provides the capability to modify network requests that are made by any page in the browser context.
|
void |
Page.unroute(Pattern url,
Consumer<Route> handler)
Removes a route created with
Page.route(). |
void |
BrowserContext.unroute(Pattern url,
Consumer<Route> handler)
Removes a route created with
BrowserContext.route(). |
void |
Page.unroute(Predicate<String> url,
Consumer<Route> handler)
Removes a route created with
Page.route(). |
void |
BrowserContext.unroute(Predicate<String> url,
Consumer<Route> handler)
Removes a route created with
BrowserContext.route(). |
void |
Page.unroute(String url,
Consumer<Route> handler)
Removes a route created with
Page.route(). |
void |
BrowserContext.unroute(String url,
Consumer<Route> handler)
Removes a route created with
BrowserContext.route(). |
Copyright © 2021. All rights reserved.