Skip to content

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

docs(python): fix wrong code snippet to get pages (#11260)

Max Schmitt913edf9bdb7c
diff --git a/docs/src/pages.md b/docs/src/pages.md
index f740e95519..34974ee447 100644
--- a/docs/src/pages.md
+++ b/docs/src/pages.md
@@ -114,7 +114,7 @@ page_one = await context.new_page()
page_two = await context.new_page()
# get pages of a browser context
-all_pages = context.pages()
+all_pages = context.pages
```
```python sync
@@ -123,7 +123,7 @@ page_one = context.new_page()
page_two = context.new_page()
# get pages of a browser context
-all_pages = context.pages()
+all_pages = context.pages
```
```csharp