How can we get text from a Web Part?
Answers were Sorted based on User's Feedback
Answer / uma rani
We can use getText() pre-defined method. It helps to retrieve the text of a specific web element.
String text = driver.findElement(By.id("xxxx")).getText();
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / uma rani
We can use getText() pre-defined method. It helps to retrieve the text of a specific web element.
String text = driver.findElement(By.id("xxxx")).getText();
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between driver.close() and driver.quit() methods?
What is the difference between single slash (/) and a double slash ( //) in xpath?
Tell me how colors could be handled in selenium webdriver?
How can you find if an element is displayed on the screen?
What are core extension?
Do you know any alternative test automation tools for selenium?
Explain how you can login into any site if it’s showing any authentication popup for password and username?
Explain the fundamental difference between xpath and css selector.
Explain dataproviders in testng ?
How to assert title of the web page?
What is selenium 3.0?
Tell us what selenium components do you know?