Here is the post how to use findelements...
findElement()
In this scenario i will show search for restaurants and get number of results on webpage and get ratings of each restaurant .
findElement()
- Find the first element within the current page
- Returns a single WebElement.
- Syntax: WebElement findElement(By by)
- Find all elements within the current page.
- Returns List of WebElements.
- Syntax: java.util.List
findElements(By by)
In this scenario i will show search for restaurants and get number of results on webpage and get ratings of each restaurant .
No comments:
Post a Comment