public
Description: Selenium Poetry is a DSL created to separate the test intention from the HTML selectors. HTML selector are placed in separate YAML files, while the test uses identifiers (phrases) to refer to the selectors in the YAML files.
Homepage: http://rubyforge.org/projects/selenium-poetry
Clone URL: git://github.com/viniciusteles/selenium_poetry.git
Vinicius Teles (author)
Thu Oct 02 10:23:42 -0700 2008
selenium_poetry / init.rb
100644 14 lines (9 sloc) 0.325 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SeleniumOnRails::TestBuilder.send("include", SeleniumPoetry) if defined?(SeleniumOnRails::TestBuilder)
 
if defined?(SeleniumOnRails::TestBuilderActions)
  module SeleniumOnRails::TestBuilderActions
  
    alias_method :original_open, :open
 
    def open(*urls)
      urls.each { |url| original_open url }
    end
 
  end
end