search

Class ActionSequence

Exported By
All Known Aliases

Class for defining sequences of complex user interactions. Each sequence will not be executed until #perform is called.

This class should not be instantiated directly. Instead, obtain an instance using WebDriver.actions().

Sample usage:

 driver.actions().
     keyDown(Key.SHIFT).
     click(element1).
     click(element2).
     dragAndDrop(element3, element4).
     keyUp(Key.SHIFT).
     perform();

new ActionSequence( driver )

Parameters
driverWebDriver

The driver that should be used to perform this action sequence.

Instance Methods