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

Browser Class #8

Merged
merged 1 commit into from
May 22, 2018
Merged

Browser Class #8

merged 1 commit into from
May 22, 2018

Conversation

olio09
Copy link
Contributor

@olio09 olio09 commented May 19, 2018

Browser Class Finish

@zhaoqize
Copy link
Owner

get it! 😊

```js
const puppeteer = require('puppeteer');

puppeteer.launch().then(async browser => {
// Store the endpoint to be able to reconnect to Chromium
// 存储端点以便能重新连接到Chromium
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的 端点 翻译成 节点 是不是更好?


#### browser.createIncognitoBrowserContext()
- returns: <[Promise]<[BrowserContext]>>

Creates a new incognito browser context. This won't share cookies/cache with other browser contexts.
创建一个匿名的浏览器上下文。这将不会于其他浏览器上下文分享cookies/cache
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

错别字,于 =》 与

@zhaoqize zhaoqize merged commit 2d89f1b into zhaoqize:master May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants