public static IEnumerable<string> ParseByCssSelector( Tab tab, SourceType sourceType, string cssSelector, string attribute, bool onlyVisible )
Parameters
- tab
Type: Zennolab.CommandCenter.Tab
The tab to parse.
- sourceType
Type: ZennoLab.InterfacesLibrary.Enums.Parser.SourceType
Source type. Parse as DOM or Html.
- cssSelector
Type: System.String
CSS-selector.
- attribute
Type: System.String
The attribute to take.
- onlyVisible
Type: System.Boolean
True if parse only visible elements; otherwise, false. Default value is true.
Return Value
Type: System.Collections.Generic.IEnumerable
The result of parsing data. Returns list of attributes.