Sha256: 855993ad1dc7bd045f6949de67ba6f3cc8d126511a425fbc20fc95b67b37d494

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

module Fluent
  module WebElements
    class Radio < 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/radio'
          self.class.send :include, Fluent::Platforms::WatirWebDriver::Radio
        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/radio.rb