Sha256: 4b21a92dbe269a2ae22edbec7f99f5fa5a23fde42125f2ec3bb522da0158e83b
Contents?: true
Size: 544 Bytes
Versions: 2
Compression:
Stored size: 544 Bytes
Contents
module Spectie module Configuration class Selenium attr_writer :driver_options attr_accessor :start_browser_once, :controlled def initialize self.start_browser_once = true self.controlled = true end def driver_options @driver_options || raise("No Selenium driver options specified") end def controlled? self.controlled == true end end def selenium @selenium ||= Selenium.new end end ::Spec::Runner.send :include, Configuration end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spectie-0.0.4 | lib/spectie/selenium/configuration.rb |
spectie-0.0.3 | lib/spectie/selenium/configuration.rb |