()
| 189 | } |
| 190 | |
| 191 | async function stop(){ |
| 192 | var stopcount = 0; |
| 193 | var Interval = setInterval(async ()=>{ |
| 194 | for (var i = 0; i < driverList.length; i++){ |
| 195 | await driverList[i].driver.quit() |
| 196 | driverList.splice(i, 1) |
| 197 | } |
| 198 | if (stopcount > usedDriver) |
| 199 | clearInterval(Interval) |
| 200 | stopcount += 1 |
| 201 | }, 2500) |
| 202 | } |
| 203 | |
| 204 | module.exports = { |
| 205 | main: main, |
nothing calls this directly
no outgoing calls
no test coverage detected