WebDriverPageSourceMatch Method |
Returns the first occurence matching the regular expression.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As WebDriver
Dim pattern As String
Dim group As Short
Dim returnValue As String
returnValue = instance.PageSourceMatch(pattern,
group)
Parameters
- pattern
- Type: SystemString
The regular expression pattern to match. - group (Optional)
- Type: SystemInt16
Optional - Group number (Zero based)
Return Value
Type:
StringString
See Also