Most of the time JavaScript files are not in the classpath, so loadScript() should accept a File parameter that points to the JavaScript file you want to load for testing.
Log in to post a comment.