mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 17:14:02 +03:00
docs: fix "brower" typo in multi-pages doc
This commit is contained in:
parent
d3c71cc207
commit
4cdc6f20c3
@ -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`]
|
||||
|
Loading…
Reference in New Issue
Block a user