Sha256: 56643ef2fe81269de7281a9bb342e5953400747428851adb59516d587197a528
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 KB
Contents
require "gridium/version" require "log" require "spec_data" require "driver" require "driver_extensions" require "element" require "element_extensions" require "element_verification" require "page" module Gridium class << self attr_accessor :config end def self.configure self.config ||= Config.new yield config end class Config attr_accessor :report_dir, :target_environment, :browser, :url, :page_load_timeout, :element_timeout, :visible_elements_only, :log_level attr_accessor :highlight_verifications, :highlight_duration, :screenshot_on_failure def initialize @report_dir = Dir.home @target_environment = "localhost" @browser = :firefox @url = "about:blank" @page_load_timeout = 15 @element_timeout = 15 #This needs to be changed to only look for an element after a page is done loading @visible_elements_only = true @log_level = :fatal @highlight_verifications = false @highlight_duration = 0.100 @screenshot_on_failure = false end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gridium-0.1.4 | lib/gridium.rb |
gridium-0.1.3 | lib/gridium.rb |
gridium-0.1.2 | lib/gridium.rb |
gridium-0.1.1 | lib/gridium.rb |
gridium-0.1.0 | lib/gridium.rb |