MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / release

Method release

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

Releases the depressed left mouse button, in the middle of the given element. This is equivalent to: Actions.moveToElement(onElement).release() Invoking this action without invoking #clickAndHold() first will result in undefined behaviour. @param target Element to release the mou

(WebElement target)

Source from the content-addressed store, hash-verified

208 * @return A self reference.
209 */
210 public Actions release(WebElement target) {
211 return moveInTicks(target, 0, 0).tick(getActivePointer().createPointerUp(LEFT.asArg()));
212 }
213
214 /**
215 * If the element is outside the viewport, scrolls the bottom of the element to the bottom of the

Callers

nothing calls this directly

Calls 5

tickMethod · 0.95
moveInTicksMethod · 0.95
getActivePointerMethod · 0.95
createPointerUpMethod · 0.80
asArgMethod · 0.45

Tested by

no test coverage detected