Method: Selenium::WebDriver::PointerActions#release
- Defined in:
- lib/selenium/webdriver/common/interactions/pointer_actions.rb
#release(button: nil, device: nil) ⇒ ActionBuilder
Releases the depressed left mouse button at the current mouse location.
199 200 201 202 |
# File 'lib/selenium/webdriver/common/interactions/pointer_actions.rb', line 199 def release(button: nil, device: nil) pointer_up( || :left, device: device) self end |