Skip to content

Instantly share code, notes, and snippets.

Last active Sep 11, 2020
What would you like to do?
Playwright - wait for element to be present
it('should return one book when exact title is given', async () => {
await page.fill('#searchBar', 'Agile Testing')
await page.waitForSelector('li.ui-screen-hidden', { state: 'attached' })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment