Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| /// <summary> | |
| /// Make sure our IsJavaScriptErrorPresent() and GetJavaScriptError() extensions can correctly intercept an error. | |
| /// </summary> | |
| [Test] | |
| public void ShouldFindOneErrorInBadScript() | |
| { | |
| selenium.Open("http://localhost"); | |
| selenium.RunScript("window.ThereBetterNotBeAFunctionByThisName();"); | |
| // The error should be: | |
| // window.ThereBetterNotBeAFunctionByThisName is not a function at http://localhost/ics/support/myhistory.asp line 0 |