Instantiate errors in capybara-webkit