Last active
August 11, 2017 22:48
-
-
Save joelgriffith/6aeb55eed1d40d5774c3a1b25a767593 to your computer and use it in GitHub Desktop.
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 { Chrome } = require('navalia'); | |
const chrome = new Chrome(); | |
chrome | |
.goto('https://www.google.com/', { pageload: false }) | |
.evaluate(() => 'INSERT YOUR SCRIPT HERE') | |
// More stuff | |
.then((results) => { | |
console.log(results); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment