I have this code:
driver = new HtmlUnitDriver();
((HtmlUnitDriver) driver).setJavascriptEnabled(true);
baseUrl = "http://www.url.com/";
driver.get(baseUrl + "/");
...
But if i try to Run i have this exception:
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "match" of undefined (http://www.url.com//javascript/jquery.ceebox/jquery.swfobject.js#2)
How i can solve it? there is a way?