Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): remove remaining mentions of Chromium targets #1435

Merged
merged 1 commit into from
Mar 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ context.clearPermissions();
#### browserContext.close()
- returns: <[Promise]>

Closes the browser context. All the targets that belong to the browser context
Closes the browser context. All the pages that belong to the browser context
will be closed.

> **NOTE** the default browser context cannot be closed.
Expand Down Expand Up @@ -3798,11 +3798,10 @@ Only one trace can be active at a time per browser.

* extends: [BrowserContext]

Chromium-specific features including targets, service worker support, etc.
Chromium-specific features including background pages, service worker support, etc.

```js
const backroundPageTarget = await context.waitForTarget(target => target.type() === 'background_page');
const backgroundPage = await backroundPageTarget.page();
const backgroundPage = await context.waitForEvent('backgroundpage');
```

<!-- GEN:toc -->
Expand Down