Perform a search on the site.

Your currency

Mastering Web Element Location with CSS and XPath

Fragile selectors make web tests difficult to maintain. Use CSS and XPath to identify page elements more precisely. Develop a location method that supports script reliability and adaptation to interface changes.

Duration
1 day 7 hours
Code
DEV005-FR Code

Presentation

UI test automation has become essential to web application quality. However, successful automation projects depend largely on your ability to locate elements precisely on a web page.

This intensive course explores element location techniques using CSS and XPath, two essential languages in this field. In one day, you will gain the foundations to:

  • Understand the underlying mechanisms: decode a web page’s structure and identify different element types.
  • Master targeting languages: use CSS and XPath syntax to select the required elements precisely.
  • Optimise automation scripts: write robust, efficient scripts by targeting elements reliably.

The program is intended for all testers and web developers wishing to start automation or improve existing skills. Mastering these concepts saves valuable time and significantly reduces false alarms.

Objectives

By the end of this course, you will be able to:

  • understand the principles of locating web elements;
  • identify and select all types of HTML elements;
  • use CSS and XPath selectors to interact with web page elements;
  • use locators in automated tests.
Last update: 24/09/2026