lib/Dhalang/puppeteer.rb in Dhalang-0.5.0 vs lib/Dhalang/puppeteer.rb in Dhalang-0.6.0

- old
+ new

@@ -5,13 +5,16 @@ private_constant :NODE_MODULES_PATH USER_OPTIONS = { navigationTimeout: 10000, navigationWaitUntil: 'load', + navigationWaitForSelector: '', + navigationWaitForXPath: '', userAgent: '', isHeadless: true, viewPort: '', - httpAuthenticationCredentials: '' + httpAuthenticationCredentials: '', + isAutoHeight: false } private_constant :USER_OPTIONS DEFAULT_PDF_OPTIONS = { scale: 1,