await page.isVisible("text="Delete"")
maybe this is the one you’re looking for.
From the .isVisible()
documentation:
Returns whether the element is visible.
selector
that does not match any elements is considered not visible.
await page.isVisible("text="Delete"")
maybe this is the one you’re looking for.
From the .isVisible()
documentation:
Returns whether the element is visible.
selector
that does not match any elements is considered not visible.