i am using Selenium 2.44.0 and PhantomJS 1.9.8. My code:
DesiredCapabilities c = new DesiredCapabilities();
c.setCapability(PhantomJSDriverService.PHANTOMJS_EXECUTABLE_PATH_PROPERTY, "<url to phantomjs.exe>");
WebDriver w = new PhantomJSDriver(c);
Error:
NoClassDefFoundError: org/openqa/selenium/browserlaunchers/Proxies
What should I do?