MCPcopy Create free account
hub / github.com/comunes/kune / doubleClick

Method doubleClick

src/test/java/cc/kune/selenium/SeleniumUtils.java:83–90  ·  view source on GitHub ↗

Double click. @param webdriver the webdriver @param element the element

(final WebDriver webdriver, final WebElement element)

Source from the content-addressed store, hash-verified

81 * the element
82 */
83 public static void doubleClick(final WebDriver webdriver, final WebElement element) {
84 SeleniumUtils.moveMouseTo(webdriver, element);
85 sleep(300);
86 SeleniumUtils.hightlight(element, webdriver);
87 final Actions builder = new Actions(webdriver);
88 final Action doubleClick = builder.doubleClick(element).build();
89 doubleClick.perform();
90 }
91
92 /**
93 * Fast speed.

Callers 1

openFirtsContentMethod · 0.95

Calls 4

moveMouseToMethod · 0.95
sleepMethod · 0.95
hightlightMethod · 0.95
buildMethod · 0.45

Tested by

no test coverage detected