Class: PageObject::Elements::Media

Inherits:
Element
  • Object
show all
Defined in:
lib/page-object/elements/media.rb

Direct Known Subclasses

Audio, Video

Instance Attribute Summary

Attributes inherited from Element

#element

Instance Method Summary collapse

Methods inherited from Element

#==, #check_exists, #check_visible, #children, #disabled?, #drag_and_drop_on, #following_sibling, #following_siblings, #initialize, #method_missing, #name, #parent, plural_form, #preceding_sibling, #preceding_siblings, #present?, #respond_to_missing?, #siblings, #wait_until, #when_not_present, #when_present

Methods included from NestedElements

included

Constructor Details

This class inherits a constructor from PageObject::Elements::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PageObject::Elements::Element

Instance Method Details

#has_controls?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/page-object/elements/media.rb', line 5

def has_controls?
  attribute(:controls)
end