Upgrade Puppeteer to version 0.12.0

This commit is contained in:
Antonin Stefanutti 2017-10-17 12:34:31 +02:00
parent ac88783908
commit 7c4a609eef
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
"@decktape/fonteditor-core": "^0.0.37-beta.1",
"chalk": "^2.1.0",
"hummus": "^1.0.82",
"puppeteer": "^0.11.0",
"puppeteer": "^0.12.0",
"urijs": "^1.18.12"
},
"engines": {

View File

@ -65,7 +65,7 @@ class Generic {
async hasNextSlide() {
if (this.options.maxSlides && this.currentSlide >= this.options.maxSlides)
return false;
await this.page.press(this.key);
await this.page.keyboard.press(this.key);
// TODO: use mutation event directly instead of relying on a timeout
// TODO: detect cycle to avoid infinite navigation for frameworks
// that support loopable presentations like impress.js and flowtime.js