I have started Appium Server using AppiumServerBuilder
service = AppiumDriverLocalService
.buildService(new AppiumServiceBuilder()
.usingDriverExecutable(new File(nodeJsExecutable))
.withAppiumJS(new File(appiumJsExecutable))
.withIPAddress(appiumServerAddress)
.usingPort(appiumServerPort));
Now appium Appium Server gets started with default -full-rest capability, causing the app to reset every time on each run.
I need to set -no-rest for Appium Server so appium doesn’t re install app everytime . How can I do that here?