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)
| 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. |