screenshot

Take a screenshot of the current viewport. To get the screenshot of the whole page use the action command saveScreenshot

Usage

1
client.screenshot().then(callback);

Parameters

Param Type Details