java - How to enable --no-reset if appium server is started by AppiumServiceBuilder -


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 server gets started default --full-reset capability, causing app reset every time on each run. need set --no-reset appium server appium doesn't re install app everytime . how can here?

you can explicitly set "noresetvalue" appium capability accepts boolean value, true/false

when set true , prevents app re-installing each time, java example:

capabilities = new desiredcapabilities();     capabilities.setcapability("noresetvalue","true");  

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -