Skip to content

Commit

Permalink
format README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sudharsan-selvaraj committed Jun 9, 2021
1 parent 788b531 commit 15b294b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class WaitTest {
public WebDriver getDriver() {
SeleniumWaitOptions options = SeleniumWaitOptions.builder()
.parseAnnotations(true)
.defaultWaitTime(Duration.ofSeconds(30))
.defaultWaitTime(Duration.ofSeconds(30))
.build();

SeleniumWaitPlugin seleniumWaitPlugin = new SeleniumWaitPlugin(new ChromeDriver(), options);
Expand All @@ -86,9 +86,9 @@ public class WaitTest {

@Test
public void test() {
WebDriver driver = getDriver();
searchAmazon(driver);
searchAmazonWithoutWait(driver);
WebDriver driver = getDriver();
searchAmazon(driver);
searchAmazonWithoutWait(driver);
searchAmazonWithCustomWait(driver);
}

Expand Down

0 comments on commit 15b294b

Please sign in to comment.