mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
docs: add route class -> networking guide reference (#14092)
This commit is contained in:
parent
cdd589da91
commit
2844623109
@ -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.
|
||||
|
2
packages/playwright-core/types/types.d.ts
vendored
2
packages/playwright-core/types/types.d.ts
vendored
@ -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 {
|
||||
/**
|
||||
|
2
tests/config/experimental.d.ts
vendored
2
tests/config/experimental.d.ts
vendored
@ -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 {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user