Skip to content

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

docs: fix route.fallback typo (#15173)

Sébastien Règnef43fe4855df3
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.
*