ByAny Method
Search using multiple mechanisms

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim 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: By
By object
See Also