Skip to content

Commit

Permalink
#77 - added screen-resolution key in browser configuration for tesingbot
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Pfotenhauer committed Mar 26, 2019
1 parent 01d7cbf commit c72f7e4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ else if ("opera".equals(emulatedBrowser))

String emulatedDeviceScreenResolution = browserProfileConfiguration.get(SCREEN_RESOLUTION);
if (!StringUtils.isEmpty(emulatedDeviceScreenResolution))
{
// SauceLabs
capabilities.setCapability("screenResolution", emulatedDeviceScreenResolution);
// testingBot
capabilities.setCapability("screen-resolution", emulatedDeviceScreenResolution);
}

// appium

Expand Down

0 comments on commit c72f7e4

Please sign in to comment.