Skip to content

Instantly share code, notes, and snippets.

@angiejones
Last active September 11, 2020 21:33
Show Gist options
  • Save angiejones/4b038545f2ffb03618028096ca90f254 to your computer and use it in GitHub Desktop.
Save angiejones/4b038545f2ffb03618028096ca90f254 to your computer and use it in GitHub Desktop.
Playwright - access element
it('should have title', async () => {
assert.equal(await page.innerText('#page-title'), 'Automation Bookstore')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment