Hey i have question
in 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 Like
- 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()
}
- or after 15min just reopen driver again
1 Like