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

Method Click

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

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

(IWebElement onElement)

Source from the content-addressed store, hash-verified

365 /// <returns>A self-reference to this <see cref="Actions"/>.</returns>
366 /// <exception cref="ArgumentNullException">If <paramref name="onElement"/> is null.</exception>
367 public Actions Click(IWebElement onElement)
368 {
369 this.MoveToElement(onElement).Click();
370 return this;
371 }
372
373 /// <summary>
374 /// Clicks the mouse at the last known mouse coordinates.

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected