From f43fe4855df31ab35554244480dffdab8b084d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20R=C3=A8gne?= Date: Tue, 28 Jun 2022 22:46:54 +0200 Subject: [PATCH] docs: fix route.fallback typo (#15173) --- docs/src/api/class-route.md | 2 +- packages/playwright-core/types/types.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/api/class-route.md b/docs/src/api/class-route.md index 39444b6c46..59d140f043 100644 --- a/docs/src/api/class-route.md +++ b/docs/src/api/class-route.md @@ -117,7 +117,7 @@ If set changes the request HTTP headers. Header values will be converted to a st ## async method: Route.fallback When several routes match the given pattern, they run in the order opposite to their registration. -That way the last registered route can always override all the previos ones. In the example below, +That way the last registered route can always override all the previous ones. In the example below, request will be handled by the bottom-most handler first, then it'll fall back to the previous one and in the end will be aborted by the first registered route. diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 112ec34bdf..5ac7dbdda8 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -15287,7 +15287,7 @@ export interface Route { /** * When several routes match the given pattern, they run in the order opposite to their registration. That way the last - * registered route can always override all the previos ones. In the example below, request will be handled by the + * registered route can always override all the previous ones. In the example below, request will be handled by the * bottom-most handler first, then it'll fall back to the previous one and in the end will be aborted by the first * registered route. *