Hey i have questionin my test i need to wait for about 15 minute(there is process inside the app that run) how can i preform wait process (the Appium application turn off after 2 minute)
1) In loop do some ping like below to prevent driver stop:
for(int i=0,i<30,i++) { // 30x30sec=15min try{Thread.sleep(30000)}catch(Exception e){} //every 30 sec driver.getPagerSource() }
2) or after 15min just reopen driver again