AvaloniaDriver Class

Definition

Main driver class for Avalonia headless testing with Appium-like API. Provides WebDriver/Appium compatible methods for UI automation.

public class AvaloniaDriver : IDisposable

Examples

using var driver = new AvaloniaDriver(window);

// Find and interact with elements
var button = driver.FindElement(By.Id("submitBtn"));
button.Click();

// Use XPath-like queries
var textBox = driver.FindElement(By.XPath("//TextBox[@Name='username']"));
textBox.SendKeys("testuser");

// Wait for conditions
driver.Wait.Until(d => d.FindElement(By.Id("result")).Displayed);
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (2)

Properties (10)

Methods (32)