Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Ability to check that element is stale #1238

Closed
mortelee opened this issue Mar 5, 2020 · 3 comments · Fixed by #1244
Closed

[Feature]: Ability to check that element is stale #1238

mortelee opened this issue Mar 5, 2020 · 3 comments · Fixed by #1244
Assignees

Comments

@mortelee
Copy link

mortelee commented Mar 5, 2020

Is their an equivalent to what is available in selenium:
SeleniumExtras.WaitHelpers.ExpectedConditions.StalenessOf(element)

I could not find a way to implement this with the current API. Only possibilities that you have is the wait for element to be hidden or visible, but that it is removed from the dom.

@pavelfeldman pavelfeldman added the v1 label Mar 5, 2020
@pavelfeldman
Copy link
Member

We were planning to add something like waitForSelector(..., { detached: true }).

@dgozman ^^

@pavelfeldman pavelfeldman changed the title [Question]: How to check that element is stale? [Feature]: Ability to check that element is stale Mar 5, 2020
@Georgegriff
Copy link
Contributor

Trying to figure out if this change is in a release or not, could someone please clarify

@arjunattam
Copy link
Contributor

@Georgegriff: this change is available in master (docs), which is published as playwright@next on NPM. We are preparing the 0.12.0 release, which will have this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants