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 are the types of assertions there in selenium?
Write a code snippet to navigate back and forward in browser history?
What is page object model or pom?
How to check if a text is highlighted on the page ?
What is the main difference between web-driver and rc?
Is there a way for me to know all available options when I start selenium server?
How can we move to nth child element using css selector?
What exactly is the price of selenium test-suite?
How you will login into any site if it is showing any authentication popup for username and password?
What is implicit wait in selenium webdriver?
Can captcha be automated?
What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?