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 a new example on waitForEvent #1760

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Conversation

ankur22
Copy link
Contributor

@ankur22 ankur22 commented Oct 4, 2024

What?

The new example will work with a new tab to wait for the new page to be created before continuing on with the test.

It also works with ControlOrMeta which is a new addition in the browser module.

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)

Updates: grafana/xk6-browser#1458

The new example will work with a new tab to wait for the new page to be
created before continuing on with the test.

It also works with ControlOrMeta.
@ankur22 ankur22 merged commit 1aac61a into main Oct 4, 2024
5 checks passed
@ankur22 ankur22 deleted the add/new-example-waitForEvent branch October 4, 2024 17:42
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