Created
November 4, 2017 20:43
-
-
Save webmutation/26626f8a7e03a2980f937d966a8de936 to your computer and use it in GitHub Desktop.
Test Chromeless on https://chromeless.netlify.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const chromeless = new Chromeless({ remote: true }) | |
const screenshot = await chromeless | |
.goto('https://html5test.com/') | |
.wait(2000) | |
.screenshot() | |
console.log(screenshot) | |
await chromeless.end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment