Sha256: 6c54765fe174c9082f56727a4bccca3dcb9b874cfa99c96faca824420eb36578

Contents?: true

Size: 336 Bytes

Versions: 23

Compression:

Stored size: 336 Bytes

Contents

module Webdrone
  class Browser
    def exec
      @exec ||= Exec.new self
    end
  end

  class Exec
    attr_accessor :a0

    def initialize(a0)
      @a0 = a0
    end

    def script(script, *more)
      @a0.driver.execute_script(script, *more)
    rescue => exception
      Webdrone.report_error(@a0, exception)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
webdrone-1.7.8 lib/webdrone/exec.rb
webdrone-1.7.4 lib/webdrone/exec.rb
webdrone-1.7.2 lib/webdrone/exec.rb
webdrone-1.7.0 lib/webdrone/exec.rb
webdrone-1.6.2 lib/webdrone/exec.rb
webdrone-1.6.0 lib/webdrone/exec.rb
webdrone-1.5.0 lib/webdrone/exec.rb
webdrone-1.4.8 lib/webdrone/exec.rb
webdrone-1.4.6 lib/webdrone/exec.rb
webdrone-1.4.4 lib/webdrone/exec.rb
webdrone-1.4.2 lib/webdrone/exec.rb
webdrone-1.4.0 lib/webdrone/exec.rb
webdrone-1.3.6 lib/webdrone/exec.rb
webdrone-1.3.4 lib/webdrone/exec.rb
webdrone-1.3.2 lib/webdrone/exec.rb
webdrone-1.3.0 lib/webdrone/exec.rb
webdrone-1.2.2 lib/webdrone/exec.rb
webdrone-1.2.0 lib/webdrone/exec.rb
webdrone-1.1.4 lib/webdrone/exec.rb
webdrone-1.1.2 lib/webdrone/exec.rb