Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

SelectorKind

Grooper.Messaging

Specifies the type of selector syntax used to query HTML elements in Query HTML.

Remarks

The 'Selector Kind' determines how the selector string in the 'Selector' property is interpreted when extracting values from HTML documents. Choose between CSS or XPath to match elements using the appropriate syntax for your scenario.

  • CSS: Use standard CSS selector syntax to target elements by tag, class, ID, attribute, or hierarchy. See CSS Selectors documentation.
  • XPath: Use XPath expressions to select elements by tag, attribute, position, or nested structure. See XPath documentation.

Choosing a Selector Kind

  • Use CSS for simple queries, such as selecting elements by class, ID, or attribute.
  • Use XPath for advanced queries, such as selecting elements by position, nested structure, or complex conditions.
  • Test your selector against sample HTML to ensure it matches the intended elements.

Can be one of the following values:

NameValueDescription

Used By

Notification