-
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:
-
stringselector - css selector to desired markup
Optional properties:
-
stringAttribute - selected markup's attribute name. If the property's value is set,SelectorAttributewill extract not the inner text of markup but attribute's value -
boolSkipIfNotFound - 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 ofSelectorAttributewill 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)