Skip to content

Instantly share code, notes, and snippets.

@angiejones
Created Jan 29, 2021
Embed
What would you like to do?
Playwright - wait for element to be DETACHED
public void clearSearchBar(){
page.fill(locator_searchBar, "");
var expectedState = new Page.WaitForSelectorOptions().withState(DETACHED);
page.waitForSelector(locator_hiddenBooks,expectedState);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment