Sha256: d5cdb628dfc92c63fe3fe06eb9630bc53463587d44eacf2f884ee7f37cd9d2bb

Contents?: true

Size: 534 Bytes

Versions: 1

Compression:

Stored size: 534 Bytes

Contents

module Fluent
  module WebElements
    class CheckBox < WebElement

      def initialize(web_element, platform)
        @web_element = web_element
        include_platform_specifics_for platform
      end

      def include_platform_specifics_for(platform)
        super
        if platform[:platform] == :watir_webdriver
          require 'fluent/platform_watir/platform_web_elements/checkbox'
          self.class.send :include, Fluent::Platforms::WatirWebDriver::CheckBox
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-0.2.0 lib/fluent/web_elements/checkbox.rb