[java] Fixing path to webdriver.xpi resource
@@ -284,7 +284,7 @@ private void addWebDriverExtension(FirefoxProfile profile) {
private static Extension loadDefaultExtension() {
return new ClasspathExtension(
FirefoxProfile.class,
- "/" + FirefoxProfile.class.getPackage().getName().replace(".", "/") + "/webdriver.xpi");
+ "/" + XpiDriverService.class.getPackage().getName().replace(".", "/") + "/webdriver.xpi");
}
/**
