Skip to content

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

docs(chrome-extensions): update test fixture grammar (#17770)

Justin Kate2b5fc4f88ca
diff --git a/docs/src/chrome-extensions-js-python.md b/docs/src/chrome-extensions-js-python.md
index 322053d1fc..3c8af1bcd1 100644
--- a/docs/src/chrome-extensions-js-python.md
+++ b/docs/src/chrome-extensions-js-python.md
@@ -97,7 +97,7 @@ with sync_playwright() as playwright:
## Testing
-To have the extension loaded when running tests you can use a test fixture to set the context. You can also dynamically retrieve the extension id and use it that to load and test the popup page for example.
+To have the extension loaded when running tests you can use a test fixture to set the context. You can also dynamically retrieve the extension id and use it to load and test the popup page for example.
```ts
import { test as base, expect, BrowserContext } from "@playwright/test";
@@ -201,4 +201,4 @@ def test_example_test(page: Page) -> None:
def test_popup_page(page: Page, extension_id: str) -> None:
page.goto(f"chrome-extension://{extension_id}/popup.html")
expect(page.locator("body")).to_have_text("my-extension popup")
-```
\ No newline at end of file
+```