( elementLocator: By, value: string, timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_CLICK_ON_VISIBLE_ITEM )
| 735 | } |
| 736 | |
| 737 | async scrollToAndEnterValue( |
| 738 | elementLocator: By, |
| 739 | value: string, |
| 740 | timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_CLICK_ON_VISIBLE_ITEM |
| 741 | ): Promise<void> { |
| 742 | Logger.trace(); |
| 743 | |
| 744 | await this.scrollTo(elementLocator, timeout); |
| 745 | await this.enterValue(elementLocator, value, timeout); |
| 746 | } |
| 747 | |
| 748 | // method is useful to debug page object elements |
| 749 | async highLightElement(element: WebElement): Promise<void> { |
no test coverage detected