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

This commit is contained in:
Max Schmitt 2022-01-07 20:00:54 -05:00 committed by GitHub
parent dc07fa6da6
commit 913edf9bdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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