get console output from puppeteer

pull/4522/head
hontas 7 years ago
parent 421f2cf4dd
commit 9e78f39212

@ -110,8 +110,8 @@ describe('custom-elements', function() {
const page = await browser.newPage();
page.on('console', (type, ...args) => {
console[type](...args);
page.on('console', (type) => {
console[type._type](type._text);
});
page.on('error', error => {

Loading…
Cancel
Save