Sha256: 110fb62ff9e4e09ec7bc5058a7c3d0e2cf395fc742b56ec39c60de610e87c469
Contents?: true
Size: 427 Bytes
Versions: 23
Compression:
Stored size: 427 Bytes
Contents
module Webdrone class Browser def open @open ||= Open.new self end end class Open attr_accessor :a0 def initialize(a0) @a0 = a0 end def url(url) @a0.driver.get url rescue => exception Webdrone.report_error(@a0, exception) end def reload @a0.driver.navigate.refresh rescue => exception Webdrone.report_error(@a0, exception) end end end
Version data entries
23 entries across 23 versions & 1 rubygems