Skip to content

Commit

Permalink
CHG: selenium-java version to latest [SYS-5266] [QA-5353] (#46)
Browse files Browse the repository at this point in the history
* CHG: selenium-java version to latest

* CHG: add readTimout 4 minutes for remote webdriver
  • Loading branch information
mkousteris authored Dec 13, 2024
1 parent 710cd36 commit 4f41a97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@
<!-- Shared version number properties -->
<properties>
<org.springframework.version>5.3.39</org.springframework.version>
<selenium.version>4.23.1</selenium.version>
<selenium.version>4.27.0</selenium.version>
<appium.version>9.2.3</appium.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.scm.id>stevia</project.scm.id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private WebDriver getRemoteWebDriver(String rcUrl, Capabilities desiredCapabilit
* we need to take into consideration the time needed for the Grid node to be spawned
* Gridlastic suggests setting it to 10 minutes
*/
ClientConfig baseConfig = ClientConfig.defaultConfig().baseUrl(new URL(rcUrl));
ClientConfig baseConfig = ClientConfig.defaultConfig().baseUrl(new URL(rcUrl)).readTimeout(Duration.ofMinutes(4));
ClientConfig config = (SteviaContext.getParam("grid").equals("gridlastic") || !gridInfo.hasBasicAuth) ? baseConfig : baseConfig.authenticateAs(new UsernameAndPassword(gridInfo.userName, gridInfo.password));
CommandExecutor executor = new HttpCommandExecutor(config);
try {
Expand Down

0 comments on commit 4f41a97

Please sign in to comment.