[java] Fixing development mode detection in tests
public class DevMode {
public static boolean isInDevMode() {
- return isInDevMode("/org/openqa/selenium/firefox/webdriver.xpi");
+ return isInDevMode("/org/openqa/selenium/remote/isDisplayed.js");
}
public static boolean isInDevMode(String nameOfRequiredResource) {
