Getting Started
Getting Started with Appetize AppRecorder and Playwright
Installation
npm init @appetize/playwright@latestWhat's Installed
Usage
Next Steps
Writing TestsTest ConfigurationLast updated
Getting Started with Appetize AppRecorder and Playwright
npm init @appetize/playwright@latestLast updated
import { test, expect } from '@appetize/playwright'
test('example test', async ({ session }) => {
await expect(session).toHaveElement({
attributes: {
// replace with the text of an element that appears on your app
text: 'Hello world'
}
})
})npx playwright test --headed
# or, headlessly
npx playwright test