1

In playwright is there a way for waiting until one of specified condition becomes true similar to one in webdriverio :

      browser.waitUntil(
        () => this.twoFactorHeader.isExisting() === true || this.tosTitle.isExisting() === true || this.errorMessage.isExisting() === true || DashboardPage.consultBtn.isExisting() === true, {
          timeout: helper.defaultWaitTime(),
          timeoutMsg: `page is not loaded after ${helper.defaultWaitTime()} seconds`
        }
      )

0 Answers0