giangtb7798

Results 1 comments of giangtb7798

``` async isElementVisible(locator: Locator, timeout: number, interval: number = 1000): Promise { while (timeout > 0) { if (await locator.isVisible()) { return true; } await this.page.waitForTimeout(interval); timeout -= interval; }...