diff options
Diffstat (limited to 'e2e/lib/Console.ts')
-rw-r--r-- | e2e/lib/Console.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/e2e/lib/Console.ts b/e2e/lib/Console.ts index 6a82387..e3bd2d6 100644 --- a/e2e/lib/Console.ts +++ b/e2e/lib/Console.ts @@ -35,6 +35,11 @@ export class Console { return p.getText(); } + async getInformationMessage(): Promise<string> { + const p = await this.webdriver.findElement(By.css('.vimvixen-console-info')); + return p.getText(); + } + async inputKeys(...keys: string[]) { const input = await this.webdriver.findElement(By.css('input')); await input.sendKeys(...keys); |