WebElementTextMatches Method |
Returns all the occurences matching the regular expression.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As WebElement
Dim pattern As String
Dim returnValue As List
returnValue = instance.TextMatches(pattern)
Parameters
- pattern
- Type: SystemString
The regular expression pattern to match.
Return Value
Type:
ListArray of strings or null
See Also