Skip to content

Commit 4f41a97

Browse files
authored
CHG: selenium-java version to latest [SYS-5266] [QA-5353] (#46)
* CHG: selenium-java version to latest * CHG: add readTimout 4 minutes for remote webdriver
1 parent 710cd36 commit 4f41a97

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
<!-- Shared version number properties -->
452452
<properties>
453453
<org.springframework.version>5.3.39</org.springframework.version>
454-
<selenium.version>4.23.1</selenium.version>
454+
<selenium.version>4.27.0</selenium.version>
455455
<appium.version>9.2.3</appium.version>
456456
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
457457
<project.scm.id>stevia</project.scm.id>

src/main/java/com/persado/oss/quality/stevia/selenium/core/controllers/factories/WebDriverWebControllerFactoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private WebDriver getRemoteWebDriver(String rcUrl, Capabilities desiredCapabilit
119119
* we need to take into consideration the time needed for the Grid node to be spawned
120120
* Gridlastic suggests setting it to 10 minutes
121121
*/
122-
ClientConfig baseConfig = ClientConfig.defaultConfig().baseUrl(new URL(rcUrl));
122+
ClientConfig baseConfig = ClientConfig.defaultConfig().baseUrl(new URL(rcUrl)).readTimeout(Duration.ofMinutes(4));
123123
ClientConfig config = (SteviaContext.getParam("grid").equals("gridlastic") || !gridInfo.hasBasicAuth) ? baseConfig : baseConfig.authenticateAs(new UsernameAndPassword(gridInfo.userName, gridInfo.password));
124124
CommandExecutor executor = new HttpCommandExecutor(config);
125125
try {

0 commit comments

Comments
 (0)