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
How do I upload a file using selenium? I need to upload a word file during test execution.
How to assert title of the web page?
How to insert a start point in selenium ide?
Write a code to wait for a particular element to be visible on a page. Write a code to wait for an alert to appear.
what is the difference between driver.get() and driver.navigate.to(“url”)?
List out different types of locators?
Which are the browsers supported by selenium ide?
What are the different exceptions you have faced in selenium webdriver?
How to insert a comment in selenium ide?
What is the difference between “type” and “typeandwait” command?
How to debug the tests in selenium ide?
What are heightened privileges browsers?
Using selenium how can you handle network latency?
How can we check if an element is getting displayed on a web page?
How can we move to nth child element using css selector?