Refactored arguments preprocessing of Capybara dsl methods