GrabzIt
Tools to Capture and Convert the Web

Screenshot a web page in a browser window

Saturday, October 24, 2015

Screenshot in a Browser WindowSometimes there is a requirement not to just take a screenshot of a web page but to have the screenshot image wrapped by the browser window. So a user can see what the screenshot would appear like from their own browser window.

GrabzIt supports this with the special GrabzIt_Browser watermark, that puts the Web page screenshot in a browser frame and then puts the website URL in the address bar of the watermark as shown in the example. Browser screenshots are also compatible with the other features such as full page screenshots.

The browser watermark supports both image screenshots and animated GIF's. Below is an example of taking a browser screenshot with the PHP API.

$grabzIt->SetImageOptions("http://www.google.com", null, null,
null, null, null, null, null, null, 0, "GrabzIt_Browser");

Or with the JavaScript API, you can use:

<script type="text/javascript" src="//api.grabz.it/services/javascript.ashx?key=APPLICATION_KEY
&url=http://www.google.com&customWaterMarkId=GrabzIt_Browser"></script>

Of course you can also use this feature in the Online Screenshot Tool, just choose the GrabzIt Browser from the Custom Watermark option.

View the latest blog posts
Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Screenshots
  • Bigger Everything
Start Free Trial