Module: Selenium::WebDriver::DriverExtensions::HasInputDevices Private

Defined in:
lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#actionActionBuilder

Returns:



35
36
37
# File 'lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb', line 35

def action
  ActionBuilder.new mouse, keyboard
end

#keyboardObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



51
52
53
# File 'lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb', line 51

def keyboard
  Keyboard.new @bridge
end

#mouseObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



43
44
45
# File 'lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb', line 43

def mouse
  Mouse.new @bridge
end