Sha256: 3be6b630375e0cee7952b4ca20cc963685c4d22871c75d6080827308af87b22c

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

require "selenium-webdriver"

require "webdriver_manager/support"
require "webdriver_manager/drivers/driver_chrome"
require "webdriver_manager/drivers/driver_gecko"
require "webdriver_manager/drivers/driver_ie"
require "webdriver_manager/drivers/driver_ms"

module Selenium
  module WebDriver
    module Chrome
      def self.driver_path
        @driver_path ||= WebDriverManager::ChromeDriver.provision
      end
    end

    module Firefox
      def self.driver_path
        @driver_path ||= WebDriverManager::GeckoDriver.provision
      end
    end

    module IE
      def self.driver_path
        @driver_path ||= WebDriverManager::IEDriver.provision
      end
    end

    module Edge
      def self.driver_path
        @driver_path ||= WebDriverManager::MSDriver.provision
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webdriver_manager-0.6.0 lib/webdriver_manager/selenium.rb
webdriver_manager-0.5.0 lib/webdriver_manager/selenium.rb