WebDriverCompositeAction
in package
implements
WebDriverAction
An action for aggregating actions and triggering all of them afterwards.
Table of Contents
Interfaces
- WebDriverAction
- Interface representing a single user-interaction action.
Properties
- $actions : array<string|int, WebDriverAction>
Methods
- addAction() : WebDriverCompositeAction
- Add an WebDriverAction to the sequence.
- getNumberOfActions() : int
- Get the number of actions in the sequence.
- perform() : mixed
- Perform the sequence of actions.
Properties
$actions
private
array<string|int, WebDriverAction>
$actions
= []
Methods
addAction()
Add an WebDriverAction to the sequence.
public
addAction(WebDriverAction $action) : WebDriverCompositeAction
Parameters
- $action : WebDriverAction
Return values
WebDriverCompositeAction —The current instance.
getNumberOfActions()
Get the number of actions in the sequence.
public
getNumberOfActions() : int
Return values
int —The number of actions.
perform()
Perform the sequence of actions.
public
perform() : mixed