Sha256: b17d2ed41a0a1812e48b6a76b79b136dcb49f026f51fbbac8c421bb570abcc34

Contents?: true

Size: 467 Bytes

Versions: 2

Compression:

Stored size: 467 Bytes

Contents

module Fluent
  module Platforms
    module SeleniumWebDriver

      def self.create_platform_object_for(browser)
        require 'fluent/platform_selenium/platform_object'
        return SeleniumWebDriver::PlatformObject.new(browser)
      end

      def self.works_with?(browser)
        browser.is_a?(::Selenium::WebDriver::Driver)
      end

    end
  end
end

Fluent::Platforms.register(:selenium_webdriver, Fluent::Platforms::SeleniumWebDriver)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluent-0.3.0 lib/fluent/platform_selenium.rb
fluent-0.2.0 lib/fluent/platform_selenium.rb