Take Screenshot
Take a screenshot of your browser
To take a screenshot of your browser, you can use the screenshot method.
Here is an basic example of how to take a screenshot of your page and save it to a file:
Scrollable screenshots
To take a screenshot of a scrollable page, you can use the screenshot method with the fullPage option.
Element screenshots
To take a screenshot of an element, you can use the screenshot method with the path option.