Sha256: b10c014fa21f1a8c8afa86a371b6c6eb4c27b7ac1d7a2644ca3674c81e9ea3da
Contents?: true
Size: 468 Bytes
Versions: 14
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Webdrone class Browser def open @open ||= Open.new self end end class Open attr_reader :a0 def initialize(a0) @a0 = a0 end def url(url) @a0.driver.get url rescue StandardError => error Webdrone.report_error(@a0, error) end def reload @a0.driver.navigate.refresh rescue StandardError => error Webdrone.report_error(@a0, error) end end end
Version data entries
14 entries across 14 versions & 1 rubygems