How can I pause a variable time?
e.g I have a scenario that each user will do something together after 10 minutes since first started. So each user will compare its time to the very start time and pause accordingly. But seems like pause does not support that?
.exec(JCALogin.login1)
.exec(session =>{
var time = common.Common.compareStartTime
var diffTime = waitTime - time
println(diffTime )
session.setAttribute(“waitTime”, diffTime)
})
.pause(${diffTime})