Method: Selenium::WebDriver::Driver#get_attribute

Defined in:
lib/oats/oats_selenium_api.rb

#get_attribute(locator) ⇒ Object



547
548
549
550
551
# File 'lib/oats/oats_selenium_api.rb', line 547

def get_attribute(locator)
  oats_debug "get_attribute #{locator}"
  loc, val = locator.split(/\/@/)
  element?(loc).attribute(val)
end