Provides Selenium 4-style Actions API for complex interaction sequences. Supports mouse, keyboard, touch, and pen input with parallel execution.
public class Actions
new Actions(driver)
.MoveToElement(element)
.Click()
.KeyDown(Key.LeftShift)
.SendKeys("HELLO")
.KeyUp(Key.LeftShift)
.Perform();
kind:method, kind:property, kind:ctor. Press Esc to clear.Actions(AvaloniaDriver)Creates a new Actions builder.Click()Clicks at the current mouse position.Click(AvaloniaElement)Clicks on an element.ClickAndHold(MouseButton)Presses the mouse button without releasing.ContextClick()Right-clicks at the current mouse position.ContextClick(AvaloniaElement)Right-clicks on an element.DoubleClick()Double-clicks at the current mouse position.DoubleClick(AvaloniaElement)Double-clicks on an element.DragAndDrop(AvaloniaElement, AvaloniaElement)Drags an element to another element.DragAndDropBy(AvaloniaElement, Int32, Int32)Drags an element by an offset.KeyDown(AvaloniaElement, Key)Presses a key down on an element.KeyDown(Key)Presses a key down without releasing.KeyUp(AvaloniaElement, Key)Releases a key on an element.KeyUp(Key)Releases a key.MoveByOffset(Int32, Int32)Moves the mouse by an offset from its current position.MoveToElement(AvaloniaElement, Int32, Int32)Moves the mouse to an offset from the element's center.MoveToElement(AvaloniaElement)Moves the mouse to the center of the element.MoveToLocation(Int32, Int32)Moves the mouse to absolute coordinates.Pause(Int32)Pauses for the specified duration.Pause(TimeSpan)Pauses for the specified duration.Perform()Performs all queued actions.PerformAsync()Performs all queued actions asynchronously.Release(MouseButton)Releases the mouse button.Reset()Clears all queued actions.Scroll(Int32, Int32)Scrolls by the specified amount.ScrollToElement(AvaloniaElement)Scrolls to an element.SendKeys(AvaloniaElement, String)Types text on an element.SendKeys(String)Types the specified text.