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

how to identify an alert in the testcase #5

Open
GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment
Open

how to identify an alert in the testcase #5

GoogleCodeExporter opened this issue Jul 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Is there a way to click an alert-yes? An alert has on id.
I don't know how to identify the component.
Thank you .

Original issue reported on code.google.com by paulzi_3...@sina.com on 5 Aug 2009 at 12:29

@GoogleCodeExporter
Copy link
Author

Alert alt = new alert();
driver.switchTo.alert();
alt.getText();

Original comment by amazingr...@gmail.com on 28 Jul 2014 at 9:10

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

No branches or pull requests

1 participant