Method: WDA::Element#attribute

Defined in:
lib/wda_lib/element.rb

#attribute(name) ⇒ Object Also known as: []

Get attribute value

Parameters:

  • name (String)

Returns:

  • is attributeValue [String]



41
42
43
# File 'lib/wda_lib/element.rb', line 41

def attribute(name)
  client.get '/element/' + eid + '/attribute/' + name
end