Skip to content

Commit

Permalink
minor comment and javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelendik committed Sep 12, 2021
1 parent 0c83da9 commit bc865b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ default public WebDriver getDriver(String name, DesiredCapabilities capabilities
}

/**
* Get driver by WebElement.
* Get driver by sessionId.
*
* @param sessionId
* - session id to be used for searching a desired driver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void onException(Throwable thr, WebDriver driver) {
throw new RuntimeException(thr);
}

// hopefully castDriver below resolve root cause of the recursive onException calls but keep below if to ensure
// hopefully castDriver below resolve root cause of the recursive onException calls but keep below to ensure
if (thr.getStackTrace() != null
&& (Arrays.toString(thr.getStackTrace())
.contains("com.qaprosoft.carina.core.foundation.webdriver.listener.DriverListener.onException")
Expand Down

0 comments on commit bc865b3

Please sign in to comment.