/// <summary> /// Performs a context-click (right click) on an element. /// </summary> /// <param name="element"> The element to context-click. If None, clicks on current mouse position.</param> /// <returns>Self</returns> public Actions ClickContext(WebElement element = null) { _actions.Add(() => act_click_context(element)); return(this); }
/// <summary> /// Double-clicks an element. /// </summary> /// <param name="element">The element to double-click. If None, clicks on current mouse position.</param> /// <returns>Self</returns> public Actions ClickDouble(WebElement element = null) { _actions.Add(() => act_click_double(element)); return(this); }
/// <summary> /// Holds down the left mouse button on an element. /// </summary> /// <param name="element">The element to mouse down. If None, clicks on current mouse position.</param> /// <returns>Self</returns> public Actions ClickAndHold(WebElement element = null) { _actions.Add(() => act_mouse_press(element)); return(this); }