-
Home
-
API
-
Avalonia.HeadlessTestingFramework.Appium
-
By
-
Methods
-
All(By[])
All(By[]) Method
Definition
Combines multiple locators with AND logic.
public static By All(params By[] locators)
Parameters
- locators
- By[]
The locators to combine.
Returns
- By
- A By locator that matches all conditions.
Examples
var element = driver.FindElement(By.All(By.ClassName("Button"), By.Text("Submit")));