lib/site-object/page.rb
# Used to import page features for use within the page. Example:
#
#  class ConfigPage < MySite::Page
#    use_features :footer, :sidebar
#  end
#
# Then, once the page object has been initialized:
#
#  site.config_page.footer.about.click
#
# Use the PageFeature class to define page features.
Used to import page features for use within the page.

Then, once the page object has been initialized.



Use the PageFeature class to define page features.
Used to import page features for use within the page . Then once the page object has been initialized . Use the PageFeature class to define page features .
def use_features(*args)
      if self.page_features
        args.each { |feature| self.page_features << feature }
      else
        self.page_features = args
      end
    end
def use_features ( * args ) if self . page_features args . each { | feature | self . page_features << feature } else self . page_features = args end end
Used to import page features for use within the page.
Used to import page features for use within the page .
args
<not_specific>