Remove duplicate code in web_steps.rb (Maybe we should stop using web_steps.rb altogether?)