Interfaces
ValueSelector
represents a dom element selector and the method to extract the value from the element.
Extends
Properties
multiValue?
optional multiValue: boolean;
Optional. Whether the selector extracts multiple values, if set to true the returned value will be array of strings
regex?
optional regex: object;
Optional. A regex pattern and match index for extracting the value.
matchIndex?
optional matchIndex: number;
pattern
pattern: string;
selectionMethod?
optional selectionMethod: object | "direct-text" | "all-text";
Optional. The method for selecting the value. all-text
selects all text content, direct-text
selects the direct text content(does not include the text inside nested elements), and propertyName
selects the value of a property.
selector
selector: string;
The selector string for the element.
Inherited from
type?
optional type: "css" | "xpath";
Optional. The type of the selector (xpath or css) default is css