Instantiate errors in capybara-webkit

Opening this PR instead of #525