Sha256: 4e5e98cd29796312a27cd5878f534edad68718e46cb5b2bc8152a82238acc944
Contents?: true
Size: 447 Bytes
Versions: 14
Compression:
Stored size: 447 Bytes
Contents
module HtmlSelectorsHelpers # Maps a name to a selector. Used primarily by the # # When /^(.+) within (.+)$/ do |step, scope| # # step definitions in web_steps.rb # def selector_for(locator) case locator when "the page" "html > body" else raise "Can't find mapping from \"#{locator}\" to a selector.\n" + "Now, go and add a mapping in #{__FILE__}" end end end World(HtmlSelectorsHelpers)
Version data entries
14 entries across 14 versions & 1 rubygems