Skip to content

Commit

Permalink
Remember to add AddContext commands to the Firefox CommandExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 21, 2021
1 parent 962db26 commit 9e4122b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/org/openqa/selenium/firefox/FirefoxDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ public FirefoxDriverCommandExecutor(DriverService service) {

private static Map<String, CommandInfo> getExtraCommands() {
return ImmutableMap.<String, CommandInfo>builder()
.putAll(new AddHasFullPageScreenshot().getAdditionalCommands())
.putAll(new AddHasContext().getAdditionalCommands())
.putAll(new AddHasExtensions().getAdditionalCommands())
.putAll(new AddHasFullPageScreenshot().getAdditionalCommands())
.build();
}
}
Expand Down

0 comments on commit 9e4122b

Please sign in to comment.