Search using multiple mechanisms
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim by1 As By
Dim by2 As By
Dim by3 As By
Dim by4 As By
Dim by5 As By
Dim by6 As By
Dim returnValue As By
returnValue = By.Any(by1, by2, by3,
by4, by5, by6)
Parameters
- by1
- Type: SeleniumBy
Mechanism 1 - by2
- Type: SeleniumBy
Mechanism 2 - by3 (Optional)
- Type: SeleniumBy
Optional - Mechanism 3 - by4 (Optional)
- Type: SeleniumBy
Optional - Mechanism 4 - by5 (Optional)
- Type: SeleniumBy
Optional - Mechanism 5 - by6 (Optional)
- Type: SeleniumBy
Optional - Mechanism 6
Return Value
Type:
ByBy object
See Also