166
Locating Strategies- (By CSS)
- CSS stands for Cascading Style Sheets. It is a Style Sheet Language which is used to describe the look and formatting of a document written in markup language.
- locating web elements through CSS involves use of CSS Selector which identifies an element based on the combination of HTML tag, id, class and attributes.
You can also refer to our CSS tutorial: https://tutoraspire.com/css-selector
In WebDriver, CSS Selector works in six modes to identify and locate web elements.
Next TopicWebDriver Locating Strategies