Part 2: Waits in Selenium: Implicit Wait

Hello Folks, In last post, we have learnt about Thread.sleep() method. In this post we will learn: What is implicit wait? How to use implicit wait? What is behavior of implicit wait when element is found before specified time? What is behavior of implicit wait when element is not found and specified wait time expires?

Read More

Part 1: Waits In Selenium WebDriver: Thread.sleep()

Hello Folks, In this post we will learn: Why we need to use wait statements in selenium webdriver. Types of waits in selenium webdriver. What is Thread.sleep() and how to use it. Disadvantages of Thread.sleep() method. “Waits” are very important concepts in Selenium WebDriver. Understanding of types and usages of waits are necessary to write perfect

Read More

Method 2: getCssValue() : What, When and How to use?

Hello Folks, In last post, we have seen about getAttribute(). In this post we will learn about getCssValue() method. This post covers: What is getCssValue() method? Why we use getCssValue() method? How to use getCssValue() method? What is difference between getAttribute() and getCssValue() methods. Let’s start with basics. What is CSS: Cascading Style Sheets (CSS) is a

Read More

Method 1: getAttribute(): Why, What and How to use?

Hello Folks, In this post we will learn: Why we use getAttribute() method? What is getAttribute() method? How to use getAttribute() method? We will see a lot of examples as well. Let’s start:- Why we require getAttribute() method? A web developer defines attribute and properties to a web element to add extra meaning to it. For

Read More

Handling WebElement :: TEXTBOX

Hello Folks, We have learnt basic concepts of Selenium webdriver. From this post onward, I will cover the concepts of handling different types of web elements. We will start with Text Box. Topic will be covered in this post: What is text box and how to create it. How to type in a text box.

Read More

Which Locator To Use? Read This Post.

Hello Folks, We have seen eight types of locators in Selenium Webdriver. Now we may confuse which locators we should use. It is frequently asked interview question as well. So, we will learn the orders we should use locators. Selenium web driver takes time to find web element which is more or less based on

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.