Get the data from an HTML table
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As TableElement
Dim firstRowsToSkip As Integer
Dim lastRowsToSkip As Integer
Dim map As String
Dim returnValue As Object(,)
returnValue = instance.Data(firstRowsToSkip,
lastRowsToSkip, map)
Parameters
- firstRowsToSkip (Optional)
- Type: SystemInt32
First row(s) to skip. Ex : 2 will skip the first two rows - lastRowsToSkip (Optional)
- Type: SystemInt32
Last row(s) to skip. Ex : 2 will skip the last two rows - map (Optional)
- Type: SystemString
Optional - Javascript code to scrap each cell. Default: (e)=>e.textContent.trim()
Return Value
Type:
ObjectExcel array
See Also