It is unlikely that this change will affect you, no action is required if your tests keep running as they did. Potentially breaking change in Playwright Test Global Setup New testInfo.errors and testResult.errors that contain all failed assertions and soft assertions. New option url in testConfig.webServer to ensure your web server is ready before running the tests Playwright Codegen now generates locators and frame locators Page.screenshot() and locator.screenshot() now automatically hide blinking caret Run npx playwright install to download browsers after npm install. Playwright and packages do not download browsers during npm install. Playwright package was downloading browsers during npm install, while was not. This is no longer the case, and we recommend to explicitly download browsers via npx playwright install command. However, up to v1.38, installing the playwright package instead of did automatically download browsers. If you are following this recommendation, nothing has changed for you. Playwright recommends to use package and download browsers via npx playwright install command. Note: If you are using package, this change does not affect you. Use locator.pressSequentially() only if there is a special keyboard handling on the page, and you need to press keys one-by-one.īreaking Changes: Playwright no longer downloads browsers automatically Please use locator.fill() instead which is much faster.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |