|
|
@ -6,13 +6,7 @@ class ExecuteScript extends EventEmitter { |
|
|
|
this.api |
|
|
|
this.api |
|
|
|
.clearEditableContent('*[data-id="terminalCliInput"]') |
|
|
|
.clearEditableContent('*[data-id="terminalCliInput"]') |
|
|
|
.click('*[data-id="terminalCli"]') |
|
|
|
.click('*[data-id="terminalCli"]') |
|
|
|
.pause(2000) |
|
|
|
.setValue('*[data-id="terminalCliInput"]', [this.api.Keys.CONTROL, 'a', this.api.Keys.DELETE]) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.BACK_SPACE) |
|
|
|
|
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', script) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', script) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.ENTER) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.ENTER) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.ENTER) |
|
|
|
.sendKeys('*[data-id="terminalCliInput"]', this.api.Keys.ENTER) |
|
|
|