diff --git a/bellatrix.ios/src/main/java/solutions/bellatrix/ios/infrastructure/DriverService.java b/bellatrix.ios/src/main/java/solutions/bellatrix/ios/infrastructure/DriverService.java index 8137b1f7..b4525a0a 100644 --- a/bellatrix.ios/src/main/java/solutions/bellatrix/ios/infrastructure/DriverService.java +++ b/bellatrix.ios/src/main/java/solutions/bellatrix/ios/infrastructure/DriverService.java @@ -109,6 +109,8 @@ private static IOSDriver initializeDriverRegularMode(String serviceUrl) { caps.setAutomationName(AutomationName.IOS_XCUI_TEST); caps.setPlatformVersion(getAppConfiguration().getIosVersion()); caps.setDeviceName(getAppConfiguration().getDeviceName()); + caps.setUdid(ConfigurationService.get(IOSSettings.class).getDeviceIdentifier()); + caps.setWebviewConnectTimeout(Duration.ofSeconds(ConfigurationService.get(IOSSettings.class).getTimeoutSettings().getWebviewConnectTimeout())); if (getAppConfiguration().getIsMobileWebExecution()) { caps.withBrowserName(ConfigurationService.get(IOSSettings.class).getDefaultBrowser());