[AAE-4547] Add getInputValue() in TestElement class (#6753)

* Add getInputValue() in TestElement class

* Resolve code review comments
This commit is contained in:
Petruta Bogdana Patrichi
2021-03-02 14:32:16 +02:00
committed by GitHub
parent ea18a2cdd9
commit cb90dc21a8

View File

@@ -98,6 +98,10 @@ export class TestElement {
return BrowserActions.getText(this.elementFinder);
}
getInputValue(): Promise<string> {
return BrowserActions.getInputValue(this.elementFinder);
}
async typeText(text: string): Promise<void> {
await BrowserActions.clearSendKeys(this.elementFinder, text);
}