How to convert a string to an object reference in ruby
I want to take in a page name in a gherkin step then set it as an object reference (I think that’s what it’s called.) Then I can use that to interact with page elements. Is there an easier way to do this in ruby? When(/^I am on the (.*) page$/) do |page| case page… Read More How to convert a string to an object reference in ruby