Sha256: d29858a3fd9f7e311fea2ea30c8466d85544c9b790e8e2db8a9c8dca608d86d3
Contents?: true
Size: 328 Bytes
Versions: 5
Compression:
Stored size: 328 Bytes
Contents
module Tedium module SitePrism module ActionDsl def action(name, role = name) element "#{name}_element", :role, role define_method "#{name}!" do send("#{name}_element").click end end def actions(*names) names.each { |n| action n } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems