From c72f7e4fb480daf91a1bfeb107c1a2566fc36347 Mon Sep 17 00:00:00 2001 From: Marcel Pfotenhauer Date: Tue, 26 Mar 2019 10:35:43 +0100 Subject: [PATCH] #77 - added screen-resolution key in browser configuration for tesingbot --- .../configuration/BrowserConfigurationMapper.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/xceptance/neodymium/module/statement/browser/multibrowser/configuration/BrowserConfigurationMapper.java b/src/main/java/com/xceptance/neodymium/module/statement/browser/multibrowser/configuration/BrowserConfigurationMapper.java index 365dd3ea2..f2a53ea81 100644 --- a/src/main/java/com/xceptance/neodymium/module/statement/browser/multibrowser/configuration/BrowserConfigurationMapper.java +++ b/src/main/java/com/xceptance/neodymium/module/statement/browser/multibrowser/configuration/BrowserConfigurationMapper.java @@ -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