release notes
release notes
Published 1/14/2022
Pre-ReleasePre-releaselocator.dragTo(locator)expect(locator).toBeChecked({ checked })await page.locator('li', { hasText: 'my item' }).locator('button').click();
Read more in locator documentation.tsconfig.json's baseUrl and paths, so you can use aliasesPW_EXPERIMENTAL_TS_ESM that allows importing ESM modules in your TS code, without the need for the compile step. Don't forget the .js suffix when you are importing your esm modules. Run your tests as follows:npm i --save-dev @playwright/test@1.18.0-rc1
PW_EXPERIMENTAL_TS_ESM=1 npx playwright test
The npm init playwright command is now generally available for your use:
# Run from your project's root directory
npm init playwright
# Or create a new project
npm init playwright new-project
This will scaffold everything needed to get started with Playwright Test: configuration file, optionally add examples, a GitHub Action workflow and a first test example.spec.ts.
testCase.repeatEachIndex APIacceptDownloads option now defaults to trueThis version was also tested against the following stable channels:
release notes
Published 1/14/2022
Pre-ReleasePre-releaselocator.dragTo(locator)expect(locator).toBeChecked({ checked })await page.locator('li', { hasText: 'my item' }).locator('button').click();
Read more in locator documentation.tsconfig.json's baseUrl and paths, so you can use aliasesPW_EXPERIMENTAL_TS_ESM that allows importing ESM modules in your TS code, without the need for the compile step. Don't forget the .js suffix when you are importing your esm modules. Run your tests as follows:npm i --save-dev @playwright/test@1.18.0-rc1
PW_EXPERIMENTAL_TS_ESM=1 npx playwright test
The npm init playwright command is now generally available for your use:
# Run from your project's root directory
npm init playwright
# Or create a new project
npm init playwright new-project
This will scaffold everything needed to get started with Playwright Test: configuration file, optionally add examples, a GitHub Action workflow and a first test example.spec.ts.
testCase.repeatEachIndex APIacceptDownloads option now defaults to trueThis version was also tested against the following stable channels:
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.