docs: fix "brower" typo in multi-pages doc

This commit is contained in:
Timm Krause 2021-09-17 10:36:51 +02:00 committed by GitHub
parent d3c71cc207
commit 4cdc6f20c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ Each browser context can host multiple pages (tabs).
const pageOne = await context.newPage();
const pageTwo = await context.newPage();
// Get pages of a brower context
// Get pages of a browser context
const allPages = context.pages();
```
@ -127,7 +127,7 @@ const allPages = context.pages();
Page pageOne = context.newPage();
Page pageTwo = context.newPage();
// Get pages of a brower context
// Get pages of a browser context
List<Page> allPages = context.pages();
```
@ -136,7 +136,7 @@ List<Page> allPages = context.pages();
page_one = await context.new_page()
page_two = await context.new_page()
# get pages of a brower context
# get pages of a browser context
all_pages = context.pages()
```
@ -145,7 +145,7 @@ all_pages = context.pages()
page_one = context.new_page()
page_two = context.new_page()
# get pages of a brower context
# get pages of a browser context
all_pages = context.pages()
```
@ -154,7 +154,7 @@ all_pages = context.pages()
var pageOne = await context.NewPageAsync();
var pageTwo = await context.NewPageAsync();
// Get pages of a brower context
// Get pages of a browser context
var allPages = context.Pages;
```
@ -364,4 +364,4 @@ page.Popup += async (_, popup) => {
```
### API reference
- [`event: Page.popup`]
- [`event: Page.popup`]