Sha256: 9beaad080e13fb30fd16bad1c371bcb3d9c5c4262106d753f447864c8c2d1fdf

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

module SeleniumConnect
  class Configuration
    attr_accessor :host, :port, :browser, :browser_path, :profile_path, :profile_name, :version, :background, :log, :jar

    def initialize
      defaults
    end

    private

    def defaults
      @host     = "localhost" unless host
      @port     = "4444"      unless port
      @browser  = "firefox"   unless browser
      @log      = false       unless log
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
selenium-connect-1.5.1 lib/selenium-connect/configuration.rb
selenium-connect-1.5.0 lib/selenium-connect/configuration.rb