Closed SansLang closed 3 years ago
Sure, see https://playwright.dev/docs/api/class-page/#pagewaitforselectorselector-options. Pass hidden or detached state into it.
okay
Looks like this has been updated to https://playwright.dev/docs/api/class-locator#locator-wait-for
For example, the same as selenium, WebDriverWait(driver, timeout).until_not(EC.visibility_of_element_located((By.XPATH, locator)))