Sha256: ceb789b3b2c4359b4efafe256f11294002d2187d8e021f82d952cb77368d06b1

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

WatirSplash::Frameworks::Helper.load_gem :gem => "firewatir", :version => "1.7.1"

module FireWatir #:nodoc:all
  class Firefox
    def exists?
      js_eval("getWindows().length").to_i == 1 || find_window(:url, @window_url) > 0
    end

    alias_method :exist?, :exists?

    def save_screenshot(params)
      # currently not yet supported
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watirsplash-1.1.1 lib/watirsplash/frameworks/firewatir.rb
watirsplash-1.1.0 lib/watirsplash/frameworks/firewatir.rb