playwright-python
playwright-python copied to clipboard
[Question]: What is depreciated in locator.is_visible() : the method or the argument to take timeout?
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