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

Docs: Browser documentation updates for v1.0.0 #1208

Merged
merged 56 commits into from
Aug 14, 2023

Conversation

inancgumus
Copy link
Member

@inancgumus inancgumus commented Jun 8, 2023

This PR collects all the phase 1 cloud updates for the browser.

🚨 For changes to this PR's branch, please open a new PR, and once your PR is approved, rebase merge your PR to this branch instead of main.

Tasks

@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2023

There's a version of the docs published here:

https://mdr-ci.staging.k6.io/docs/refs/pull/1208/merge

It will be deleted automatically in 30 days.

@inancgumus inancgumus added the Area: browser The browser module label Jun 8, 2023
@inancgumus inancgumus force-pushed the update/browser-cloud-updates branch 2 times, most recently from 7a84879 to ad97215 Compare June 16, 2023 05:06
@ankur22 ankur22 force-pushed the update/browser-cloud-updates branch from ad97215 to b47ee30 Compare June 29, 2023 10:10
@inancgumus inancgumus changed the title All browser cloud updates PR All browser cloud documentation updates Aug 1, 2023
@inancgumus inancgumus changed the title All browser cloud documentation updates All browser cloud documentation updates for v1.0.0 Aug 1, 2023
@inancgumus inancgumus changed the title All browser cloud documentation updates for v1.0.0 All browser cloud documentation updates Aug 1, 2023
inancgumus and others added 13 commits August 4, 2023 17:18
Due to the changes made to k6 browser's API, for which the browser's
launch and close methods are no longer delegated/exposed to end users,
but instead handled automatically by the extension's implementation
itself, the browser.on() method is no longer applicable, as it was only
supporting the 'disconnect' event type. Therefor it is no longer exposed
to the JS API and removed from the documentation.
We no longer use it as we're using k6 versions.
As we're now handing off a ready browser from the get to.
inancgumus and others added 13 commits August 4, 2023 17:19
Co-authored-by: ka3de <daniel.jimenez@grafana.com>
We've made a change which means that there is now a 1-to-1 mapping
between browser and a browserContext. This means that there can only
ever be one browserContext open at any given point per browser. So
the contexts method on browser now only needs to return the current
browserContext.
The discription on browser.newContext needs to reflect the new change
where only one browserContext can be open at any given time per
browser. We need to notify the user how they can work with this new
behaviour.
The description on browser.newPage needs to reflect the new change
where only one browserContext can be open at any given time per
browser. We need to notify the user how they can work with this new
behaviour.
… browser/context.md

Co-authored-by: ka3de <daniel.jimenez@grafana.com>
@inancgumus inancgumus changed the title All browser cloud documentation updates All browser cloud documentation updates for v1.0.0 Aug 4, 2023
inancgumus and others added 5 commits August 7, 2023 15:31
The main reason of this change is to collect recommended practices of
using k6 browser under a single menu.

We have usage examples already in the other API documents. These
examples are more like "recommended practices". Also,
"Recommended practices and examples" didn't fit the menu and become
weird like "Recommended practices an..."
removeme Outdated Show resolved Hide resolved
@inancgumus inancgumus merged commit fa7a3cc into main Aug 14, 2023
5 checks passed
@inancgumus inancgumus deleted the update/browser-cloud-updates branch August 14, 2023 12:12
@inancgumus inancgumus changed the title All browser cloud documentation updates for v1.0.0 Docs: Browser documentation updates for v1.0.0 Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: browser The browser module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants