diff --git a/src/main/java/io/appium/java_client/AppiumDriver.java b/src/main/java/io/appium/java_client/AppiumDriver.java index 7fa2b3629..44cf6ed17 100644 --- a/src/main/java/io/appium/java_client/AppiumDriver.java +++ b/src/main/java/io/appium/java_client/AppiumDriver.java @@ -170,6 +170,7 @@ public AppiumDriver(URL remoteSessionAddress, String platformName, String automa ); executor.setCommandCodec(new AppiumW3CHttpCommandCodec()); executor.setResponseCodec(new W3CHttpResponseCodec()); + executor.refreshAdditionalCommands(); setCommandExecutor(executor); this.executeMethod = new AppiumExecutionMethod(this); super.setErrorHandler(ERROR_HANDLER);