diff --git a/src/printer.js b/src/printer.js
index 52726b057c43ae68ab869bbf9eacc8b6cb18062b..aa0a671fe42e5ae6169e18744e9f1551f2c709b1 100644
--- a/src/printer.js
+++ b/src/printer.js
@@ -101,9 +101,8 @@ class Printer extends EventEmitter {
     }
 
     await page.evaluate(() => {
-      window.PagedConfig = {
-        auto: false
-      }
+      window.PagedConfig = window.PagedConfig || {};
+      window.PagedConfig.auto = false;
     });