public void ShouldCatchErrorsWhenExecutingInitialScript() { driver.Url = ajaxyPage; executor.ExecuteAsyncScript("throw Error('you should catch this!');"); }