-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Conversation
docs/core-concepts.md
Outdated
@@ -75,16 +75,35 @@ const context = await browser.newContext({ | |||
|
|||
<br/> | |||
|
|||
## Pages and frames | |||
## Pages, frames and navigation |
There was a problem hiding this comment.
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'.
docs/core-concepts.md
Outdated
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. |
There was a problem hiding this comment.
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
docs/core-concepts.md
Outdated
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. |
There was a problem hiding this comment.
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.
docs/core-concepts.md
Outdated
@@ -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) |
There was a problem hiding this comment.
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".
All done. |
No description provided.