class Appium::Capybara::Appium::Capybara::Node
Public Instance Methods
Source
# File lib/appium_capybara/driver/appium/node.rb, line 23 def find_custom(finder, locator) native.find_elements(finder, locator).map { |n| self.class.new(driver, n) } end
Source
# File lib/appium_capybara/driver/appium/node.rb, line 27 def inspect %(#<#{self.class} name="#{name}">) end
Source
# File lib/appium_capybara/driver/appium/node.rb, line 17 def long_press action = Appium::TouchAction.new action.long_press(element: native, duration: 2000) action.perform end
Source
# File lib/appium_capybara/driver/appium/node.rb, line 12 def set(value, _options = {}) native.clear send_keys(value) end
Override