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