WebElementTextAsNumber Method |
Return a number parsed from the text
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As WebElement
Dim decimalCharacter As String
Dim errorValue As Object
Dim returnValue As Object
returnValue = instance.TextAsNumber(decimalCharacter,
errorValue)
Parameters
- decimalCharacter (Optional)
- Type: SystemString
Decimal character. Default is "." - errorValue (Optional)
- Type: SystemObject
Default value in case of failure
Return Value
Type:
ObjectNumber or defualt value
See Also