Answer Posted / chetan phani.j
Alert popup
Alert a =driver.switchto().alert()
String text=a.getText().
syso(text);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the significant changes/upgrades in various selenium versions?
what is the difference between driver.get() and driver.navigate.to(“url”)?
What are the different types of waits available in webdriver?
What are the different methods to refresh a web page in webdriver?
What is the difference between driver.close() and driver.quit() methods?
Just how much does selenium license cost per customer device?
Can we use selenium grid for performance testing?
Explain the different exceptions in selenium webdriver.
How to capture bitmaps in selenium?
Write a code snippet to perform mouse hover in webdriver.
What is the difference between page object model (pom) and page factory?
How to enforce the title of the website?
What are the different types of frameworks?
What are various ways of locating an element in selenium?
How to check if a text is highlighted on the page ?