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

All about findElement() and findElements() methods

Hello Folks, In this post we will learn: What is findElement() method. What is findElements() method. What is difference between findElement() and findElements() methods. What is common between findElement() and findElements() methods. Exception thrown in case of element is not found. Introduction: A webpage has many elements like button, text box etc. These elements are called

Read More

Tools To Find XPath In Chrome Browser

Hello Folks, We have seen tools to find XPath in Firefox. Those tools were specific to Firefox browser. In this post, we will learn tools to find XPath in Chrome browser. Finding XPath without any tools: You can find XPath and CSS selector of any web element in chrome browser without any tools as well.

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.