parent
0771890ac5
commit
7e4c81d1c1
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@ |
||||
const EventEmitter = require('events') |
||||
|
||||
class SelectAccount extends EventEmitter { |
||||
command (account) { |
||||
if (account) { |
||||
this.api |
||||
.click(`select[data-id="runTabSelectAccount"] [value="${account}"]`) |
||||
.perform(() => { |
||||
this.emit('complete') |
||||
}) |
||||
} else this.emit('complete') |
||||
return this |
||||
} |
||||
} |
||||
|
||||
module.exports = SelectAccount |
Loading…
Reference in new issue