- screenshot ([boolean windowSized = false]) : {Promise -> string}
- Take a screenshot of the page into a data: URI
- Available since 0.6.0
- Parameter:
- boolean windowSized : Whether the screenshot is limited to the browser window boader (optional)
- w.screenshot().then(dataURI => {
- w.uri = dataURI;
- });
- # vim: ts=4 noet ai
|