シンプルな Java アプリケーション用の Selenium スクリプトを作成しましたが、Selenium でログインできません。以下のコードを使用してセレンのテストを行っています。
this.driver.get(this.baseUrl + "/");
this.login();
this.driver.get(this.pageUrl);
this.driver.findElement(By.linkText("Administration")).click();
this.driver.findElement(By.cssSelector("span.ui-menuitem-text")).click();
このアプリケーションを実行すると、次のようになります。
org.openqa.selenium.WebDriverException: com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function tablesorter in object [object Object]. (script in http://localhost:8080/ from (1, 21880) to (1, 22000)#1)
Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 15:53:30'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_37'
Driver info: driver.version: HtmlUnitDriver
この問題を解決する方法を教えてください。