{"id":394215,"date":"2024-06-29T11:28:30","date_gmt":"2024-06-29T11:28:30","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=394215"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=394215","title":{"rendered":"<span>\u0412\u044b\u0448\u0435\u043b \u0440\u0435\u043b\u0438\u0437 Playwright 1.33<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ce1\/138\/7d4\/ce11387d4e6d51da8cb5b3e337bf2127.png\" width=\"1600\" height=\"960\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ce1\/138\/7d4\/ce11387d4e6d51da8cb5b3e337bf2127.png\"\/><\/figure>\n<h2>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432:<\/h2>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-or\" rel=\"noopener noreferrer nofollow\">locator.or()<\/a>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u0442\u043e\u0440, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043b\u044e\u0431\u043e\u043c\u0443 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u041d\u043e\u0432\u043e\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e&#187;, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u043b\u0438\u0431\u043e \u043a\u043d\u043e\u043f\u043a\u0438 &#171;\u041d\u043e\u0432\u043e\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e&#187;, \u043b\u0438\u0431\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"javascript\">const newEmail = page.getByRole('button', { name: 'New' }); const dialog = page.getByText('Confirm security settings'); await expect(newEmail.or(dialog)).toBeVisible(); if (await dialog.isVisible())   await page.getByRole('button', { name: 'Dismiss' }).click(); await newEmail.click();<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>hasNot<\/code> \u0438 <code>hasNotText<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 <strong>\u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442<\/strong> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c.<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"javascript\">const rowLocator = page.locator('tr'); await rowLocator     .filter({ hasNotText: 'text in column 1' })     .filter({ hasNot: page.getByRole('button', { name: 'column 2 button' }) })     .screenshot();<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u043e\u0432\u043e\u0435 \u0432\u0435\u0431-\u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-attached\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeAttached()<\/a>, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 DOM \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041d\u0435 \u043f\u0443\u0442\u0430\u0439\u0442\u0435 \u0441 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-visible\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeVisible()<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d \u0438 \u0432\u0438\u0434\u0435\u043d.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041d\u043e\u0432\u044b\u0435 API<\/h2>\n<ul>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-or\" rel=\"noopener noreferrer nofollow\">locator.or()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>hasNot<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>hasNotText<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-attached\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeAttached()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>timeout<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-route#route-fetch\" rel=\"noopener noreferrer nofollow\">route.fetch()<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-reporter#reporter-on-exit\" rel=\"noopener noreferrer nofollow\">reporter.onExit()<\/a><\/p>\n<\/li>\n<\/ul>\n<h2>\u26a0\ufe0f \u041a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/h2>\n<ul>\n<li>\n<p><code>mcr.microsoft.com\/playwright:v1.34.0<\/code> \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u0443 Playwright, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043d\u0430 Ubuntu Jammy. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c focal-based \u043e\u0431\u0440\u0430\u0437, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code>mcr.microsoft.com\/playwright:v1.34.0-focal<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0412\u0435\u0440\u0441\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432<\/h2>\n<ul>\n<li>\n<p>Chromium 113.0.5672.53<\/p>\n<\/li>\n<li>\n<p>Mozilla Firefox 112.0<\/p>\n<\/li>\n<li>\n<p>WebKit 16.4<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445:<\/p>\n<ul>\n<li>\n<p>Google Chrome 112<\/p>\n<\/li>\n<li>\n<p>Microsoft Edge 112<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, <a href=\"https:\/\/playwright.dev\/\" rel=\"noopener noreferrer nofollow\">Playwright<\/a> &#8212; \u044d\u0442\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0432\u0435\u0431-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c Chromium, Firefox \u0438 WebKit \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0435\u0434\u0438\u043d\u043e\u0433\u043e API.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ca9\/bdd\/6d2\/ca9bdd6d2811d0cb68d9c226f6dc15b7.png\" width=\"2298\" height=\"562\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ca9\/bdd\/6d2\/ca9bdd6d2811d0cb68d9c226f6dc15b7.png\"\/><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/733962\/\"> https:\/\/habr.com\/ru\/articles\/733962\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><\/figure>\n<h2>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432:<\/h2>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-or\" rel=\"noopener noreferrer nofollow\">locator.or()<\/a>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043b\u043e\u043a\u0430\u0442\u043e\u0440, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043b\u044e\u0431\u043e\u043c\u0443 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u041d\u043e\u0432\u043e\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e&#187;, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0435 \u043e\u043a\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u043b\u0438\u0431\u043e \u043a\u043d\u043e\u043f\u043a\u0438 &#171;\u041d\u043e\u0432\u043e\u0435 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0435 \u043f\u0438\u0441\u044c\u043c\u043e&#187;, \u043b\u0438\u0431\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"javascript\">const newEmail = page.getByRole('button', { name: 'New' }); const dialog = page.getByText('Confirm security settings'); await expect(newEmail.or(dialog)).toBeVisible(); if (await dialog.isVisible())   await page.getByRole('button', { name: 'Dismiss' }).click(); await newEmail.click();<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b <code>hasNot<\/code> \u0438 <code>hasNotText<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a> \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 <strong>\u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442<\/strong> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c.<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"javascript\">const rowLocator = page.locator('tr'); await rowLocator     .filter({ hasNotText: 'text in column 1' })     .filter({ hasNot: page.getByRole('button', { name: 'column 2 button' }) })     .screenshot();<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u043e\u0432\u043e\u0435 \u0432\u0435\u0431-\u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-attached\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeAttached()<\/a>, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 DOM \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041d\u0435 \u043f\u0443\u0442\u0430\u0439\u0442\u0435 \u0441 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-visible\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeVisible()<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u0435\u043d \u0438 \u0432\u0438\u0434\u0435\u043d.<\/p>\n<\/li>\n<\/ul>\n<h2>\u041d\u043e\u0432\u044b\u0435 API<\/h2>\n<ul>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-or\" rel=\"noopener noreferrer nofollow\">locator.or()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>hasNot<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>hasNotText<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-locator#locator-filter\" rel=\"noopener noreferrer nofollow\">locator.filter()<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-locatorassertions#locator-assertions-to-be-attached\" rel=\"noopener noreferrer nofollow\">expect(locator).toBeAttached()<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u0430\u044f \u043e\u043f\u0446\u0438\u044f <code>timeout<\/code> \u0432 <a href=\"https:\/\/playwright.dev\/docs\/api\/class-route#route-fetch\" rel=\"noopener noreferrer nofollow\">route.fetch()<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/api\/class-reporter#reporter-on-exit\" rel=\"noopener noreferrer nofollow\">reporter.onExit()<\/a><\/p>\n<\/li>\n<\/ul>\n<h2>\u26a0\ufe0f \u041a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435<\/h2>\n<ul>\n<li>\n<p><code>mcr.microsoft.com\/playwright:v1.34.0<\/code> \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0437\u0443 Playwright, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043d\u0430 Ubuntu Jammy. \u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c focal-based \u043e\u0431\u0440\u0430\u0437, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code>mcr.microsoft.com\/playwright:v1.34.0-focal<\/code><\/p>\n<\/li>\n<\/ul>\n<h2>\u0412\u0435\u0440\u0441\u0438\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432<\/h2>\n<ul>\n<li>\n<p>Chromium 113.0.5672.53<\/p>\n<\/li>\n<li>\n<p>Mozilla Firefox 112.0<\/p>\n<\/li>\n<li>\n<p>WebKit 16.4<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u043d\u0430\u043b\u0430\u0445:<\/p>\n<ul>\n<li>\n<p>Google Chrome 112<\/p>\n<\/li>\n<li>\n<p>Microsoft Edge 112<\/p>\n<\/li>\n<\/ul>\n<hr\/>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, <a href=\"https:\/\/playwright.dev\/\" rel=\"noopener noreferrer nofollow\">Playwright<\/a> &#8212; \u044d\u0442\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u0432\u0435\u0431-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c Chromium, Firefox \u0438 WebKit \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0435\u0434\u0438\u043d\u043e\u0433\u043e API.<\/p>\n<figure class=\"full-width\"><\/figure>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/733962\/\"> https:\/\/habr.com\/ru\/articles\/733962\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-394215","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/394215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=394215"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/394215\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=394215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=394215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=394215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}