switchTab
Switch focus to a particular tab / window handle.
Usage
1 | client.switchTab([windowHandle]).then(callback); |
Parameters
Param | Type | Details |
---|---|---|
windowHandle optional |
String | window handle URL to focus on (if no handle was specified the command switches to the first available one) |