0

I have clicked on a button that will update a span. So now I want to wait for that span to change from a 1 to a 2. It sounds like I'm trying to do exactly what text_to_be_present_in_element does, except without a locator. I already have the WebElement I need. Is it possible to use these expected_conditions functions with an actual WebElement?

1 Answer 1

1

Sounds like you could just get the value of the span and have python check once a second (or whatever) to see if it is different than before.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.