Method: Selenium::WebDriver::PointerActions#pointer_up

Defined in:
lib/selenium/webdriver/common/interactions/pointer_actions.rb

#pointer_up(button = :left, device: nil) ⇒ ActionBuilder

Releases the pressed mouse button at the current mouse location of the PointerInput device.

Examples:

Releasing a button after clicking and holding


driver.action.pointer_down(:left).pointer_up(:left).perform

Parameters:

Returns:



66
67
68
# File 'lib/selenium/webdriver/common/interactions/pointer_actions.rb', line 66

def pointer_up(button = :left, device: nil, **)
  button_action(button, :create_pointer_up, device: device, **)
end