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

This commit is contained in:
Yury Semikhatsky 2020-03-19 20:25:31 -07:00 committed by GitHub
parent 535b484637
commit f1d97b0466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,7 +392,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.
@ -3767,11 +3767,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 -->