These are chat archives for cucumber/cucumber-ruby
(:css => '#view_a')where the '#" signifies an id to the css selector.
So looking at this custom step I wanted to pass in these types and it do the same thing, as they are the same type of element
And(/^I click "(View|Edit|Delete|)"$/) do |text| button_element = getButtonElementByText( text ) button_element.click end
so if I type And I click "Edit" OR And I click "View" OR And I click "Delete"