Skip to content

Commit

Permalink
set defaultViewPort option for puppeteer (#167)
Browse files Browse the repository at this point in the history
- Mainly for those who like to keep the GUI open.
- Expands to fit and looks like it usually would.
  • Loading branch information
aliyss authored Apr 21, 2020
1 parent 686c99f commit bcd02aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ exports.UserAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit

exports.DefaultOptions = {
puppeteer: {
headless: true
headless: true,
defaultViewport: null
},
session: false,
qrTimeoutMs: 45000,
Expand Down

0 comments on commit bcd02aa

Please sign in to comment.