Class: Fluent::WebElements::Label

Inherits:
WebElement show all
Defined in:
lib/fluent/web_elements/label.rb

Instance Attribute Summary

Attributes inherited from WebElement

#web_element

Instance Method Summary collapse

Methods inherited from WebElement

#class_name, #click, #disabled?, #enabled?, #style, #text

Constructor Details

#initialize(web_element, platform) ⇒ Label

Returns a new instance of Label.



5
6
7
8
# File 'lib/fluent/web_elements/label.rb', line 5

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

Instance Method Details

#include_platform_specifics_for(platform) ⇒ Object



10
11
12
# File 'lib/fluent/web_elements/label.rb', line 10

def include_platform_specifics_for(platform)
  super
end