brenden / node-webshot

Easy website screenshots in Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zoomFactor

ElModdy opened this issue · comments

Hi,
I tried to set the zoomFactor like that:

option = {
      windowSize:{
         width: 800
       },
       quality: 100,
       phantomConfig: {
          "zoomFactor": '2.0'
       },
       siteType:'html',
       captureSelector: "#content",
       defaultWhiteBackground: true
   }
  
   webshot(content, output, option, ()=>{})

but it doesn't work

Solved