Some methods to support capybara