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 annotations available in testng?
What are the significant changes in upgrades in various selenium versions?
What is pom (page object model)? What are its advantages?
what is the use of x-path?
How to capture screenshot in selenium webdriver?
How to clear the text in the text box using selenium webdriver?
Explain what is the difference between find elements () and find element ()?
How to print Duplicate values in Drop Down List
What distinguishes between an absolute and relative url in side?
How to enforce the title of the website?
Mention in what ways you can customize testng report?
What is the difference between driver.get() and driver.navigate.to()
What are the different exceptions you got when working with webdriver?
How to scroll down a page using javascript in selenium?
How do you read test data from excels?