lib/fluent/platform_selenium.rb in fluent-0.3.0 vs lib/fluent/platform_selenium.rb in fluent-0.4.0

- old
+ new

@@ -1,15 +1,15 @@ module Fluent module Platforms module SeleniumWebDriver - def self.create_platform_object_for(browser) + def self.create_platform_object_for(driver) require 'fluent/platform_selenium/platform_object' - return SeleniumWebDriver::PlatformObject.new(browser) + return SeleniumWebDriver::PlatformObject.new(driver) end - def self.works_with?(browser) - browser.is_a?(::Selenium::WebDriver::Driver) + def self.works_with?(driver) + driver.is_a?(::Selenium::WebDriver::Driver) end end end end \ No newline at end of file