Sha256: 442d1b6ed7224e6ffec5d1f965d3e26257cd80887c7cee0d4e0752e577cc6f6c

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 Bytes

Contents

module SeleniumConnect
  class Runner
    class Chrome
      attr_reader :config

      def initialize(config)
        @config = config
      end

      def match?
        config.browser == "chrome"
      end

      def launch
        init_browser
      end

      private

      def init_browser
        config.browser.to_sym
      end

    end #Chrome
  end #Runner
end #SeleniumConnect

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
selenium-connect-2.0.0 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.9.3 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.9.1 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.9.0 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.8.1 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.8.0 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.7.0 lib/selenium-connect/runners/chrome.rb
selenium-connect-1.6.0 lib/selenium-connect/runners/chrome.rb