Skip to content

Commit

Permalink
Fix the transparent option (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenverfallie committed Jan 16, 2022
1 parent 2898aa3 commit ba2e641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ export default class Pageres extends EventEmitter {
timeout: options.timeout,
fullPage: !options.crop,
styles: options.css && [options.css],
defaultBackground: !options.transparent,
scripts: options.script && [options.script],
cookies: options.cookies, // TODO: Support string cookies in capture-website
element: options.selector,
Expand Down

0 comments on commit ba2e641

Please sign in to comment.