Skip to content

Commit 3245986

Browse files
author
travis-ci
committed
Minor fix to ClickUtils methods that were incorrectly referencing SendKeysUtils
1 parent 2f6e602 commit 3245986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/uk/co/evoco/webdriver/utils/ClickUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public final class ClickUtils extends TolerantInteraction {
1818
* @throws Throwable any unhandled or un-tolerated exception
1919
*/
2020
public static void tolerantClick(WebElement webElement, int timeout) throws Throwable {
21-
new SendKeysUtils().tolerantInteraction(webElement, Optional.empty(), timeout);
21+
new ClickUtils().tolerantInteraction(webElement, Optional.empty(), timeout);
2222
}
2323

2424
public static void tolerantClick(WebElement webElement) throws Throwable {
25-
new SendKeysUtils().tolerantInteraction(webElement, Optional.empty(),
25+
new ClickUtils().tolerantInteraction(webElement, Optional.empty(),
2626
TestConfigHelper.get().getTolerantActionWaitTimeoutInSeconds());
2727
}
2828
}

0 commit comments

Comments
 (0)