lib/appium_capybara/driver/appium/node.rb in appium_capybara-1.4.1 vs lib/appium_capybara/driver/appium/node.rb in appium_capybara-1.5.0
- old
+ new
@@ -1,25 +1,18 @@
module Appium::Capybara
class Appium::Capybara::Node < Capybara::Selenium::Node
- def value
- native.value
- end
-
def label
native.label
end
def name
native.name
end
+ # Override
def set(value)
native.clear
send_keys(value)
- end
-
- def send_keys(value)
- native.send_keys(value.to_s)
end
def long_press
action = Appium::TouchAction.new
action.long_press(element: native, duration: 2000)