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

javascript alert window #76

Closed
antoniojimenez-flood opened this issue Aug 19, 2019 · 3 comments
Closed

javascript alert window #76

antoniojimenez-flood opened this issue Aug 19, 2019 · 3 comments
Assignees
Labels
docs Documentation needs fixing
Milestone

Comments

@antoniojimenez-flood
Copy link

**Is your feature request related to a problem? No, it's a feature request

Describe the solution you'd like
Ability to handle Javascript alert windows with Flood Element

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@ivanvanderbyl
Copy link
Contributor

This is already supported :)

step('Handle alert', async browser => {
  let dialog = await browser.wait(Until.alertIsPresent())
  await dialog.accept()
})

@ivanvanderbyl ivanvanderbyl self-assigned this Jan 22, 2020
@ivanvanderbyl ivanvanderbyl added the docs Documentation needs fixing label Jan 22, 2020
@ivanvanderbyl ivanvanderbyl added this to the v1.1 milestone Jan 22, 2020
@wilsonmar
Copy link
Contributor

@ivanvanderbyl if this has been created, we should update https://wilsonmar.github.io/flood-the-internet/#challenges-on-the-internet-app, which has a page to test actual events.

@steveb85
Copy link

steveb85 commented Dec 2, 2022

Is there a problem with this in 2.0? I can't for the life of me get it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation needs fixing
Projects
None yet
Development

No branches or pull requests

4 participants