|
|
@ -5,7 +5,7 @@ class SelectAccount extends EventEmitter { |
|
|
|
command (this: NightwatchBrowser, account?: string): NightwatchBrowser { |
|
|
|
command (this: NightwatchBrowser, account?: string): NightwatchBrowser { |
|
|
|
if (account) { |
|
|
|
if (account) { |
|
|
|
this.api |
|
|
|
this.api |
|
|
|
.click(`*[data-id="runTabSelectAccount"] *[id="txorigin"]`) |
|
|
|
.click(`*[data-id="runTabSelectAccount"]`) |
|
|
|
.perform(() => { |
|
|
|
.perform(() => { |
|
|
|
this.emit('complete') |
|
|
|
this.emit('complete') |
|
|
|
}) |
|
|
|
}) |
|
|
|