Interacting with the Elements in the page | Getting the list of elements and Child Element

In the Previous Tutorial, we learned to locate elements and perform the action on them. In this tutorial, we will learn some advanced ways to locate elements. Getting the list of elements with the matching locator Sometimes we may need to find all elements on the page that matches a particular locator. For instance, get …

Read moreInteracting with the Elements in the page | Getting the list of elements and Child Element

Interacting with the Elements in the page | Performing actions like click, type, select etc

In the Previous Tutorial, we wrote a script where we located all elements in Automation Practice page on which we wanted to perform some actions. We explored the following – Method to find an element Different WebDriver locators to pass as a parameter to find an element – linkText id className xpath cssSelector name partialLinkText tagName In this tutorial, …

Read moreInteracting with the Elements in the page | Performing actions like click, type, select etc