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

Update k6-browser examples and move browser class to root as a module #1200

Merged

Conversation

inancgumus
Copy link
Member

@inancgumus inancgumus commented Jun 6, 2023

This PR updates k6-browser examples to the new API (browser.newPage) and moves Browser class as a module to the root page. 🚨 Check out the issue for the remaining tasks. I'll deal with them in another PR. Let's merge this to prevent merge conflicts.

@inancgumus inancgumus self-assigned this Jun 6, 2023
@inancgumus inancgumus linked an issue Jun 6, 2023 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

There's a version of the docs published here:

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

It will be deleted automatically in 30 days.

@inancgumus inancgumus force-pushed the update/1171-k6-browser-options branch from a132835 to 3c2307b Compare June 6, 2023 09:49
Copy link
Contributor

@mdcruz mdcruz left a comment

Choose a reason for hiding this comment

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

Thank you @inancgumus! The changes look great. I have made a few suggestions :)

Also, it probably makes sense to merge #1178 to this PR and check with @ankur22.

inancgumus added a commit that referenced this pull request Jun 7, 2023
inancgumus added a commit that referenced this pull request Jun 7, 2023
inancgumus added a commit that referenced this pull request Jun 7, 2023
@inancgumus inancgumus force-pushed the update/1171-k6-browser-options branch from c910c40 to b9eb766 Compare June 7, 2023 13:01
@inancgumus inancgumus requested a review from mdcruz June 7, 2023 14:58
inancgumus added a commit that referenced this pull request Jun 7, 2023
inancgumus added a commit that referenced this pull request Jun 7, 2023
inancgumus added a commit that referenced this pull request Jun 7, 2023
@inancgumus inancgumus force-pushed the update/1171-k6-browser-options branch from 06cb77d to 7517419 Compare June 7, 2023 15:03
Copy link
Contributor

@mdcruz mdcruz left a comment

Choose a reason for hiding this comment

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

A few more comments, but looking good! 🙌🏼

@inancgumus inancgumus changed the base branch from main to update/browser-cloud-updates June 8, 2023 12:36
Copy link
Contributor

@andrewslotin andrewslotin left a comment

Choose a reason for hiding this comment

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

Overall 👍 Left a couple of questions for your consideration.

@inancgumus inancgumus added the Area: browser The browser module label Jun 8, 2023
Copy link
Contributor

@ka3de ka3de left a comment

Choose a reason for hiding this comment

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

Great work @inancgumus ! 👏 Thanks a lot for working on this!
Overall the changes in organization look good to me, I just mentioned a few considerations. Also, I see there are still examples that use the old init/close methods, but I guess it's because this is still in draft 👍

inancgumus added a commit that referenced this pull request Jun 9, 2023
inancgumus added a commit that referenced this pull request Jun 9, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
inancgumus added a commit that referenced this pull request Jun 16, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
ankur22 pushed a commit that referenced this pull request Jun 29, 2023
inancgumus added a commit that referenced this pull request Jul 28, 2023
inancgumus added a commit that referenced this pull request Jul 28, 2023
inancgumus added a commit that referenced this pull request Jul 28, 2023
inancgumus added a commit that referenced this pull request Jul 28, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 2023
inancgumus added a commit that referenced this pull request Aug 4, 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