screenshot

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

Usage

1
browser.screenshot();