You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thing = page.get_by_text('before')
print(thing.inner_text())
button.click() # changes the above thing's text
print(thing.inner_text()) # error
I want to search by text, at least initially, but still maintain a reference to that element after the text changes upon clicking the button.
What's the recommended way to do that?
The text was updated successfully, but these errors were encountered:
I want to search by text, at least initially, but still maintain a reference to that element after the text changes upon clicking the button.
What's the recommended way to do that?
The text was updated successfully, but these errors were encountered: