Module: Appium::Core::Base::Device::Value

Included in:
Bridge::MJSONWP, Bridge::W3C
Defined in:
lib/appium_lib_core/common/device/value.rb

Instance Method Summary collapse

Instance Method Details

#replace_value(element, *value) ⇒ Object


24
25
26
# File 'lib/appium_lib_core/common/device/value.rb', line 24

def replace_value(element, *value)
  execute :replace_value, { id: element.ref }, generate_value_and_text(value)
end

#set_immediate_value(element, *value) ⇒ Object


20
21
22
# File 'lib/appium_lib_core/common/device/value.rb', line 20

def set_immediate_value(element, *value)
  execute :set_immediate_value, { id: element.ref }, generate_value_and_text(value)
end