GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.XPathInfo Class Reference

Represents XPath matching information returned by advanced selector strategies. More...

Public Member Functions

 XPathInfo (string xpath, int matchedElements)
 Creates a new XPathInfo instance.

Properties

string Xpath [get, set]
 The generated XPath expression.
int MatchedElements [get, set]
 Number of elements matched by this XPath on the page.

Detailed Description

Represents XPath matching information returned by advanced selector strategies.

Definition at line 36 of file GPALElement.cs.

Constructor & Destructor Documentation

◆ XPathInfo()

GenerallyPositive.XPathInfo.XPathInfo ( string xpath,
int matchedElements )

Creates a new XPathInfo instance.

Parameters
xpathThe XPath string.
matchedElementsNumber of matching elements.

Definition at line 53 of file GPALElement.cs.

Property Documentation

◆ MatchedElements

int GenerallyPositive.XPathInfo.MatchedElements
getset

Number of elements matched by this XPath on the page.

Definition at line 46 of file GPALElement.cs.

◆ Xpath

string GenerallyPositive.XPathInfo.Xpath
getset

The generated XPath expression.

Definition at line 41 of file GPALElement.cs.


The documentation for this class was generated from the following file: