Module: Gametel::Webview
- Includes:
- Webviewable
- Defined in:
- lib/gametel/webview.rb,
lib/gametel/webview/accessors.rb
Defined Under Namespace
Modules: Accessors
Constant Summary
Constants included from Webviewable
Gametel::Webviewable::ROBOTIUM_LEFT, Gametel::Webviewable::ROBOTIUM_RIGHT
Instance Attribute Summary
Attributes included from Webviewable
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Webviewable
#click_on_text, #has_text?, #initialize, #scroll_down, #scroll_left, #scroll_right, #scroll_up, #wait_for_text
Class Method Details
Instance Method Details
#has_element?(how, what) ⇒ Boolean
13 14 15 16 |
# File 'lib/gametel/webview.rb', line 13 def has_element?(how, what) platform.get_web_views_by(how, what, :target => :Brazenhead) not platform.last_json.empty? end |