playwright-python icon indicating copy to clipboard operation
playwright-python copied to clipboard

[Question]: What is depreciated in locator.is_visible() : the method or the argument to take timeout?

Open shivangijha opened this issue 3 years ago • 0 comments

Your question

While using locator.is_visible(), I get the true and false value, but in docs it says to be depreciated. I am confused if its just the time option in argument. return self.driver.locator("mat-icon[id='delete']").is_visible()

The conflict is in another usage, I have to wait for the page to download completely before I start searching for the slider to expand. Here slider is expanded before dom is rendered completely.

Sorry if this is stupid to ask

shivangijha avatar Sep 20 '22 10:09 shivangijha