Skip to content

Commit

Permalink
[java] Fixing development mode detection in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 21, 2018
1 parent b86e375 commit 99f01ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/client/test/org/openqa/selenium/testing/DevMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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) {
Expand Down

0 comments on commit 99f01ff

Please sign in to comment.