-
-
Save angiejones/fa413dae21f67c0b76e6cd2f3b3db735 to your computer and use it in GitHub Desktop.
Playwright - wait
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void search(String query) { | |
page.fill(locator_searchBar, query); | |
var expectedState = new Page.WaitForSelectorOptions().withState(ATTACHED); | |
page.waitForSelector(locator_hiddenBooks,expectedState); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment