Class: Furter::Accessors::Label

Inherits:
View
  • Object
show all
Defined in:
lib/furter/accessors/label.rb

Constant Summary

Constants included from Furter

TIMEOUT, VERSION

Instance Method Summary collapse

Methods inherited from View

#click, #enabled?, #initialize, #next_responders, #visible?

Methods included from Furter

#exists?, #has_text?, included, #wait_for, #wait_for_and_touch, #wait_for_text

Constructor Details

This class inherits a constructor from Furter::Accessors::View

Instance Method Details

#textObject



8
9
10
# File 'lib/furter/accessors/label.rb', line 8

def text
  frankly_map(selector, 'text')[0]
end

#view_classObject



4
5
6
# File 'lib/furter/accessors/label.rb', line 4

def view_class
  'label'
end