new WebReplaySettings()
A utility class for setting the web replay type.
Classes
Members
(static, constant) WebReplayType :string
The web replay types.
Type:
- string
Properties:
| Name | Type | Description |
|---|---|---|
WEB |
string | Replay using the web extension (Default) |
DEVICE |
string | Replay using the device |
Methods
(static) set(replayType)
Sets the web replay type. By default, web test runs use browser events to perform operations.
Set the replay type to DEVICE to specify that operations should be performed using mouse and keyboard operations instead.
The replay type remains in effect until the end of the run session or until you set it back to WEB.
Using DEVICE replay type may be helpful when running any of the following methods:
- click
- dragAndDropOn
- fireEvent
- set
- setSecure
- setValue
Parameters:
| Name | Type | Description |
|---|---|---|
replayType |
WebReplayType | The web replay type to set. See WebReplayType |
Throws:
-
If there's an error setting the web replay type
- Type
- Error