Viewport Sizing

Using BrowserAPI, you can set both the width and the height of the Viewport.

Should you need to change the browser's viewport, you can do so by using either or both of the following parameters:

The window_width parameter

Your full GET request should then be sent to the following address:

https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=<TARGETED_URL>&window_width=$size

The window_height parameter

Your full GET request should then be sent to the following address:

https://api.webscrapingapi.com/v1?api_key=<YOUR_API_KEY>&url=<TARGETED_URL>&window_height=$size

Last updated