Sha256: f5434fce14c344fd7a220ca673bcf09776a2b706e6e73ba73e27c8b37dda271e
Contents?: true
Size: 958 Bytes
Versions: 14
Compression:
Stored size: 958 Bytes
Contents
require "cello" Given /^that element is named as:$/ do |elements| elements.raw.each do |name| @browser.send("#{name.first}_is_real?") end @elements = elements end Then /^I want click on this element$/ do @elements.raw.each do |name| @browser.send("#{name.first}_click") end @browser.close end Then /^I want know if this element is visible$/ do @elements.raw.each do |name| @browser.send("#{name.first}_is_visible?") end @browser.close end Then /^I want know if this element is enable$/ do @elements.raw.each do |name| @browser.send("#{name.first}_is_enable?") end @browser.close end Then /^I want know if this element exists$/ do @elements.raw.each do |name| @browser.send("#{name.first}_is_real?") end @browser.close end Then /^I shoud be able to click with the right button in this element$/ do @elements.raw.each do |name| @browser.send("#{name.first}_right_click") end @browser.close end
Version data entries
14 entries across 14 versions & 1 rubygems