Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Max Schmitt2844623109c7
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 {
/**