-
Notifications
You must be signed in to change notification settings - Fork 1
SelectorAttribute
jasniec edited this page Nov 1, 2019
·
1 revision
SelectorAttribute (Selector) extracts inner text from the element.
Constructor attributes:
-
string
selector - css selector to desired markup
Optional properties:
-
string
Attribute - selected markup's attribute name. If the property's value is set,SelectorAttribute
will extract not the inner text of markup but attribute's value -
bool
SkipIfNotFound - if true, not found markup (by selector) or not existing attribute will not cause exception throwing, but property parsing will be skipped. -
string[]
EmptyValues - if result ofSelectorAttribute
will be one of these, property parsing will be skipped
If property is skipped, it won't receive any value, so it'll keep default value (or assigned by user as default)