docs: add route class -> networking guide reference (#14092)

This commit is contained in:
Max Schmitt 2022-05-11 16:07:00 +01:00 committed by GitHub
parent cdd589da91
commit 2844623109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,8 @@
Whenever a network route is set up with [`method: Page.route`] or [`method: BrowserContext.route`], the `Route` object
allows to handle the route.
Learn more about [networking](../network.md).
## async method: Route.abort
Aborts the route's request.

View File

@ -14926,6 +14926,8 @@ export interface Response {
* [page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route) or
* [browserContext.route(url, handler[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route),
* the `Route` object allows to handle the route.
*
* Learn more about [networking](https://playwright.dev/docs/network).
*/
export interface Route {
/**

View File

@ -14928,6 +14928,8 @@ export interface Response {
* [page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route) or
* [browserContext.route(url, handler[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route),
* the `Route` object allows to handle the route.
*
* Learn more about [networking](https://playwright.dev/docs/network).
*/
export interface Route {
/**