Use the Selector Recognition Property

(Available from version 7.0 onwards.)

When using the Selector property, all queries are absolute, meaning they cannot be used as an anchored element, but only as a child that has a document element as its immediate parent. In addition, because the query can be specified in numerous ways, it can be complicated to generate. For this reason, solution implementation engineers or connectivity developers typically need to analyze the HTML domain to write a selector query. Some examples of the usage of the Selector property are listed below:

Query

Result

#id-attribute Returns elements with specific attribute
INPUT Returns all elements with tag INPUT
div.jhp Returns <div class="jhp"...
body>div:nth-of-type(1) Returns first div in body

body>div:nth-of-type(1)>div>

div:nth-of-type(1)

More drill in. First div in body, then looks for all div in that parent div, then for each resulting div returns first div again. This can return a set of elements.

body>div:nth-of-type(1)>div>

div:nth-of-type(1)>div:nth-oftype(

2)>ol>li:nth-of-type(1)>a

A long query to an anchor (link) element.
#gbg>ol>li:nth-of-type(1)>a A shorter version, using anchor div with id.