Sha256: 6c4cbe479d84d09e1a57dd9fa8a136f8199e434f6cd69d0a60b25a3f75f7be37
Contents?: true
Size: 424 Bytes
Versions: 1
Compression:
Stored size: 424 Bytes
Contents
module Prickle module Actions module Click def click_by_name name find_by_name(name).click end def click find_element_by_identifier(@type, @identifier).click end private def method_missing method, *args if method =~ /^click_(.*)_by_name$/ find_by_name($1, args.first).click else super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prickle-0.0.1 | lib/prickle/capybara/click.rb |