Master XPath, Css Selector, and Other Locators in Selenium

11 ratings
Offered By
Coursera Project Network
In this Guided Project, you will:

Writing and identifying effective and unique locating strategy to identify web elements

Mastering Xpath and CSS Selector

Writing Xpath for identifying dynamic elements

Clock2 Hours
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Selenium automates browsers, that’s it. What you do with that power is up to you.” Selenium is the most widely used UI automation tool to test web applications. In this project, we are going to learn one of the most used concepts in selenium i.e identifying web elements using locating techniques provided by Selenium automation tool. By the end of this project, you will learn how to identify web elements using locators like Id, Name, Classname, Tagname, Linktext, Partial Linktext, XPath and CSS Selectors Special focus is given to XPath locator covering topics like absolute and relative XPath, methods, operators and axes in XPath, and how to write XPaths for dynamic web elements.

Skills you will develop

  • Xpath
  • Selenium
  • Test Automation
  • Locating Strategies

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Locators in Selenium Test Automation and using Id, name, classname, and Tagname

  2. Linktext and Partial linktext in locating strategies

  3. Absolute and relative XPaths

  4. Operators in XPaths

  5. Methods in XPath

  6. Axes in XPath

  7. CSS Selector

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.