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