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 |
How colors could be handled in selenium webdriver?
Which are the browsers supported by selenium ide?
Explain xpath.
Is webelement an interface or a class?
How can you mark a test case as failed by using soft assertion?
How to write in a text box using Selenium?
Which web driver implementation is fastest?
How do you read data from excel?
what will be the first salary and what will be the hike in the salary?
Explain the difference between assert and verify commands?
What is an explicit wait in selenium?
Explain what is assertion in selenium and what are the types of assertion?