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

Method DoubleClick

dotnet/src/webdriver/Interactions/Actions.cs:390–394  ·  view source on GitHub ↗

Double-clicks the mouse on the specified element. The element on which to double-click. A self-reference to this . If is null.

(IWebElement onElement)

Source from the content-addressed store, hash-verified

388 /// <returns>A self-reference to this <see cref="Actions"/>.</returns>
389 /// <exception cref="ArgumentNullException">If <paramref name="onElement"/> is null.</exception>
390 public Actions DoubleClick(IWebElement onElement)
391 {
392 this.MoveToElement(onElement).DoubleClick();
393 return this;
394 }
395
396 /// <summary>
397 /// Double-clicks the mouse at the last known mouse coordinates.

Calls 5

MoveToElementMethod · 0.95
GetActivePointerMethod · 0.95
CreatePointerDownMethod · 0.80
CreatePointerUpMethod · 0.80
AddActionMethod · 0.45

Tested by 2