diff --git a/java/src/org/openqa/selenium/firefox/FirefoxDriver.java b/java/src/org/openqa/selenium/firefox/FirefoxDriver.java index 9946193920e96..82bfe3bc429c1 100644 --- a/java/src/org/openqa/selenium/firefox/FirefoxDriver.java +++ b/java/src/org/openqa/selenium/firefox/FirefoxDriver.java @@ -144,8 +144,9 @@ public FirefoxDriverCommandExecutor(DriverService service) { private static Map getExtraCommands() { return ImmutableMap.builder() - .putAll(new AddHasFullPageScreenshot().getAdditionalCommands()) + .putAll(new AddHasContext().getAdditionalCommands()) .putAll(new AddHasExtensions().getAdditionalCommands()) + .putAll(new AddHasFullPageScreenshot().getAdditionalCommands()) .build(); } }