MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / click

Method click

java/src/org/openqa/selenium/interactions/Actions.java:276–278  ·  view source on GitHub ↗

Clicks in the middle of the given element. Equivalent to: Actions.moveToElement(onElement).click() @param target Element to click. @return A self reference.

(WebElement target)

Source from the content-addressed store, hash-verified

274 * @return A self reference.
275 */
276 public Actions click(WebElement target) {
277 return moveInTicks(target, 0, 0).clickInTicks(LEFT);
278 }
279
280 /**
281 * Clicks at the current mouse location. Useful when combined with {@link

Calls 2

clickInTicksMethod · 0.95
moveInTicksMethod · 0.95