O'Reilly logo

Agile Automation and Unified Funtional Testing by Rajeev Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 38

Object Identification Using CSS Selectors

Cascading Style Sheets (CSS) is a style sheet language that defines the presentation semantics (the look and formatting) of a HTML or XML document. For example, CSS describes fonts, colors, margins, height, width, background images and many other presentation semantics. The purpose of CSS is to separate the presentation information from the markup or content.

CSS defines a list of pattern-matching rules which determine which style is to be applied to elements in the DOM. These patterns are called selectors. If all rules in the pattern are satisfied for a certain element, then the selector matches the element. Browser applies the defined style to the matched element.

UFT uses the same principles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required