For example:
https://manet.herokuapp.com/?url=www.google.com&width=1024&clipRect=0%2C0%2C1024%2C2000
I get a screen like

out of page should not be included in a screenshot
Purpose of crop option is diferent. Smaler image size is preferable.
I want to do screnshot of maximum dimension 1024x2000.
How could I achive this scenario?
I want something like the maximum height of the viewport
Originally posted by @iwanowskidev in #7 (comment)