Sha256: 72799f89bad3cd838200cda76e721ce55037d434a55fbe6b8cd20211ac0614e2

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

require "selenium-webdriver"

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

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
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webdriver_manager-0.4.0 lib/webdriver_manager/selenium.rb
webdriver_manager-0.3.0 lib/webdriver_manager/selenium.rb
webdriver_manager-0.2.0 lib/webdriver_manager/selenium.rb