Skip to content

Commit

Permalink
Increased driver wait
Browse files Browse the repository at this point in the history
  • Loading branch information
Umut Ay Bora committed Oct 4, 2022
1 parent 85109f9 commit 3986cef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.Umutayb</groupId>
<artifactId>Pickleib</artifactId>
<version>1.1.7</version>
<version>1.1.8</version>
<packaging>jar</packaging>

<name>Pickleib</name>
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/utils/driver/DriverFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ public static RemoteWebDriver getDriver(String driverName, RemoteWebDriver drive
}
}
driver.manage().window().setSize(new Dimension(frameWidth,frameHeight));
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(15));
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(30));
log.new Important(driverName+GRAY+" was selected");
return driver;
}
Expand Down

0 comments on commit 3986cef

Please sign in to comment.