I hereby claim:
- I am nicktaylor on github.
- I am nick84 (https://keybase.io/nick84) on keybase.
- I have a public key ASCdfH54g9zpuOBXUj9ROmKD7CM6JM-TzidsErN8m68SJwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import "babel-polyfill" | |
const puppeteer = require('puppeteer'); | |
const url = 'https://www.racingpost.com'; | |
puppeteer | |
.launch() | |
.then(browser => browser.newPage()) | |
.then(page => page.goto(url).then(() => page.content())) | |
.then(html=> console.log(html)) |
t is [Module] { | |
__esModule: true, | |
addComment: [Function: addComment], | |
addComments: [Function: addComments], | |
appendToMemberExpression: [Function: appendToMemberExpression], | |
assertNode: [Function: assertNode], | |
buildMatchMemberExpression: [Function: buildMatchMemberExpression], | |
clone: [Function: clone], | |
cloneDeep: [Function: cloneDeep], | |
cloneDeepWithoutLoc: [Function: cloneDeepWithoutLoc], |