Waits | Implicit Wait

In the Previous Tutorial, we learned to interact with the elements in the page. In this tutorial, we’ll learn to handle the timeout issues in the script. What are timeout or wait issues in the automation script? Let us say you wrote a script to automate this scenario: Go to myshopping.com Search for iPhone Click on Add …

Read moreWaits | Implicit Wait

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

Identifying elements in the page | Inspect attributes like id, class, name etc of an element

  In the Previous Tutorial, we wrote and run our very first Selenium script. In this tutorial, we will explore different ways of identifying elements in a web page. We’ll try to uniquely identify elements in the page using its one of the following attributes – id attribute name attribute class attribute What is a UI element in a web …

Read moreIdentifying elements in the page | Inspect attributes like id, class, name etc of an element

First selenium script | Writing and running code

In the Previous Tutorial, we covered the following – Created a new project ‘TeachMeSelenium’. Configured project to include Selenium dependencies In this tutorial, we’ll write a magical script that does the following operations – Navigate to https://cosmocode.io/automation-practice-first-selenium-script Print the page title Type “Teach me selenium” in the search box Click on the “Search” icon. And finally, close the …

Read moreFirst selenium script | Writing and running code