Method: Appium::Core::Base::Bridge#element_attribute

Defined in:
lib/appium_lib_core/common/base/bridge.rb

#element_attribute(element, name) ⇒ Object

For Appium override

[View source]

231
232
233
234
235
236
# File 'lib/appium_lib_core/common/base/bridge.rb', line 231

def element_attribute(element, name)
  # For W3C in Selenium Client
  # execute_atom :getAttribute, element, name.
  # 'dom_attribute' in the WebDriver Selenium.
  execute :get_element_attribute, id: element.id, name: name
end