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

Add missing browser request docs #1603

Merged
merged 24 commits into from
Jun 5, 2024
Merged

Conversation

ankur22
Copy link
Contributor

@ankur22 ankur22 commented Jun 3, 2024

What?

Add missing browser request docs. Also ensure that the existing docs use the correct async request methods.

Checklist

  • I have used a meaningful title for the PR.
  • I have described the changes I've made in the "What?" section above.
  • I have performed a self-review of my changes.
  • I have run the npm start command locally and verified that the changes look good.
  • I have made my changes in the docs/sources/next folder of the documentation.

Related PR(s)/Issue(s)

grafana/xk6-browser#1308

@ankur22 ankur22 marked this pull request as draft June 3, 2024 13:38
@ankur22 ankur22 changed the base branch from main to main-browser-async June 3, 2024 13:39
Comment on lines 28 to 29
| <a href="https://playwright.dev/docs/api/class-request#request-redirected-to" target="_blank" >request.redirectedTo()</a> | - |
| <a href="https://playwright.dev/docs/api/class-request#request-resource-type" target="_blank" >request.resourceType()</a> | - |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are not defined in k6 browser.

@ankur22 ankur22 marked this pull request as ready for review June 3, 2024 14:42
Copy link
Member

@inancgumus inancgumus left a comment

Choose a reason for hiding this comment

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

LGTM 👍 I've added some suggestions (feel free to ignore).

@ankur22 ankur22 merged commit 46b938e into main-browser-async Jun 5, 2024
2 checks passed
@ankur22 ankur22 deleted the async/browser-request branch June 5, 2024 16:19
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