Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

Changing the default browser window size

synthetics-script
developer

#1

Here’s a super simple example of how to change the browser window size:

$browser.manage().window().setSize(640, 480).then(function() {
    $browser.get("http://whatsmy.browsersize.com"); 
});

Feature Idea: Customize browser user agent and browser size for synthetic test
Synthetics for mobile web applications