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

fix(docs): fix snippets, integrate navigations to ToC and core concepts #1884

Merged
merged 1 commit into from
Apr 20, 2020
Merged

fix(docs): fix snippets, integrate navigations to ToC and core concepts #1884

merged 1 commit into from
Apr 20, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Apr 20, 2020

No description provided.

@@ -75,16 +75,35 @@ const context = await browser.newContext({

<br/>

## Pages and frames
## Pages, frames and navigation
Copy link
Member

Choose a reason for hiding this comment

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

I'd leave as is. User will not pick this because they were interested in 'navigation'.

const page = await context.newPage();
```

A page can be used to navigate to URLs and then interact with contents. You don't usually need to worry about navigation and can focus on the interaction.
Copy link
Member

Choose a reason for hiding this comment

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

A page can navigate to

const page = await context.newPage();
```

A page can be used to navigate to URLs and then interact with contents. You don't usually need to worry about navigation and can focus on the interaction.
Copy link
Member

Choose a reason for hiding this comment

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

Drop "You don't usually need to worry about navigation and can focus on the interaction." If I don't need to worry, as you said.

@@ -104,6 +123,7 @@ await frame.fill('#username-input', 'John');

- [class `Page`](./api.md#class-page)
- [class `Frame`](./api.md#class-frame)
- [Navigation and loading](loading.md)
Copy link
Member

Choose a reason for hiding this comment

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

It is very easy for me to assume this is a link to the api.md and never click it. Do "To learn more about page navigation and loading, read this document".

@dgozman
Copy link
Contributor Author

dgozman commented Apr 20, 2020

All done.

@dgozman dgozman merged commit 3485ffb into microsoft:master Apr 20, 2020
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.

2 participants