Table of Contents

Class ActionBuilder

Namespace
OpenQA.Selenium.Interactions
Assembly
WebDriver.dll

Provides methods that allow the creation of action sequences to enable advanced user interactions.

public class ActionBuilder
Inheritance
ActionBuilder
Inherited Members

Constructors

ActionBuilder()

public ActionBuilder()

Methods

AddAction(Interaction)

Adds an action to the built set of actions. Adding an action will add a "tick" to the set of all actions to be executed.

public ActionBuilder AddAction(Interaction actionToAdd)

Parameters

actionToAdd Interaction

The action to add to the set of actions

Returns

ActionBuilder

A self reference.

AddActions(params Interaction[])

Adds an action to the built set of actions. Adding an action will add a "tick" to the set of all actions to be executed. Only one action for each input device may be added for a single tick.

public ActionBuilder AddActions(params Interaction[] actionsToAdd)

Parameters

actionsToAdd Interaction[]

The set actions to add to the existing set of actions.

Returns

ActionBuilder

A self reference.

ToString()

Returns a string that represents the current ActionBuilder.

public override string ToString()

Returns

string

A string that represents the current ActionBuilder.