Skip to content

Commit b995923

Browse files
fix: Ensure additional commands get added to the attach-to-session constructor
1 parent 6e1c324 commit b995923

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/io/appium/java_client/AppiumDriver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public AppiumDriver(URL remoteSessionAddress, String platformName, String automa
170170
);
171171
executor.setCommandCodec(new AppiumW3CHttpCommandCodec());
172172
executor.setResponseCodec(new W3CHttpResponseCodec());
173+
executor.refreshAdditionalCommands();
173174
setCommandExecutor(executor);
174175
this.executeMethod = new AppiumExecutionMethod(this);
175176
super.setErrorHandler(ERROR_HANDLER);

0 commit comments

Comments
 (0)