module Gametel::Webview

Public Class Methods

included(cls) click to toggle source
# File lib/gametel/webview.rb, line 8
def self.included(cls)
  cls.extend Gametel::Webview::Accessors
end

Public Instance Methods

has_element?(how, what) click to toggle source
# 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