From 2844623109c73d0298628ae4049f695c4de86e62 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 11 May 2022 16:07:00 +0100 Subject: [PATCH] docs: add route class -> networking guide reference (#14092) --- docs/src/api/class-route.md | 2 ++ packages/playwright-core/types/types.d.ts | 2 ++ tests/config/experimental.d.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/docs/src/api/class-route.md b/docs/src/api/class-route.md index d1002c5da1..e8e0a7049a 100644 --- a/docs/src/api/class-route.md +++ b/docs/src/api/class-route.md @@ -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. diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index a0d1f50563..e5850f2fac 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -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 { /** diff --git a/tests/config/experimental.d.ts b/tests/config/experimental.d.ts index f93d4dd625..e7eef54717 100644 --- a/tests/config/experimental.d.ts +++ b/tests/config/experimental.d.ts @@ -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 { /**