refactored 'web_steps.rb'