new World(attach, parameters)
Instantiate the object
Parameters:
| Name | Type | Description |
|---|---|---|
attach |
JSON | attach anything |
parameters |
Command | sets the parameters as command |
- Source:
Methods
-
sleep(milliseconds)
-
Sleep
Parameters:
Name Type Description millisecondsString milli seconds
- Source:
Returns:
return promise
- Type
- Bluebird
-
switchTab(tabNum)
-
Easy switch browser tabs
Parameters:
Name Type Default Description tabNumNumber 0 - Source:
Returns:
- Type
- TargetLocator