Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

View File

@ -0,0 +1,24 @@
/**
*
* End all selenium server sessions at once. Like the [`end`](/api/utility/end.html) command is this command
* only supported in standalone mode.
*
* @alias browser.endAll
* @uses protocol/sessions, protocol/session
* @type utility
*
*/
let endAll = function () {
return this.sessions().then((res) => {
let sessionCommands = []
for (let session of res.value) {
sessionCommands.push(this.session('delete', session.id))
}
return this.unify(sessionCommands)
})
}
export default endAll