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

Method ContextClick

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

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

(IWebElement onElement)

Source from the content-addressed store, hash-verified

467 /// <returns>A self-reference to this <see cref="Actions"/>.</returns>
468 /// <exception cref="ArgumentNullException">If <paramref name="onElement"/> is null.</exception>
469 public Actions ContextClick(IWebElement onElement)
470 {
471 this.MoveToElement(onElement).ContextClick();
472 return this;
473 }
474
475 /// <summary>
476 /// Right-clicks the mouse at the last known mouse coordinates.

Callers 1

Calls 5

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

Tested by 1