{"id":478816,"date":"2026-05-06T15:25:43","date_gmt":"2026-05-06T15:25:43","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=478816"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=478816","title":{"rendered":"Bug fingerprinting \u0434\u043b\u044f UI: \u043f\u043e\u0447\u0435\u043c\u0443 stack trace \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0447\u0442\u043e \u0432\u043c\u0435\u0441\u0442\u043e"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><strong>TL;DR:<\/strong> Sentry \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 backend-\u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e \u0445\u0435\u0448\u0443 <code>(error class + top stack frame + module)<\/code>. \u0414\u043b\u044f UI-\u0431\u0430\u0433\u043e\u0432 \u044d\u0442\u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442 \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f \u2014 \u0443 <code>expect(button).toBeVisible()<\/code> \u043d\u0435\u0442 stack frame \u0432 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435, \u0435\u0441\u0442\u044c <strong>\u043b\u043e\u043a\u0430\u0442\u043e\u0440 + assertion + URL<\/strong>. \u0412 webtest-orch \u044f \u0441\u043e\u0431\u0440\u0430\u043b composite SHA-256 fingerprint \u0438\u0437 <code>(normalized_selector | assertion type | error class | URL template | message[:80])<\/code> \u0441 \u0442\u0440\u0435\u043c\u044f rules \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (<code>:nth-child<\/code>, UUID, <code>\/users\/123 \u2192 \/users\/:id<\/code>). \u042d\u0442\u043e \u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 8-hex <code>BUG-id<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0433\u043e\u043d\u044b \u0438 \u0434\u0430\u0451\u0442 diff <code>new \/ regression \/ persisting \/ fixed<\/code> \u0431\u0435\u0437 \u0411\u0414 \u0438 embedding\u2019\u043e\u0432.<\/p>\n<p>\u0421\u0440\u0430\u0437\u0443 \u043f\u0440\u043e\u0448\u0443 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u043c\u0435\u043d\u044f \u043d\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0431\u0443\u043a\u0430\u0432 \u0438 \u043a\u043e\u0434\u0430.<\/p>\n<hr\/>\n<p>\u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0438\u0441\u0430\u043b <a href=\"https:\/\/github.com\/CreatmanCEO\/webtest-orch\" rel=\"noopener noreferrer nofollow\">webtest-orch<\/a> \u2014 Claude Code skill \u0434\u043b\u044f e2e-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0443\u043f\u0451\u0440\u0441\u044f \u0432 \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430\u044f. \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u043b\u0441\u044f. \u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u2014 \u0441\u043d\u043e\u0432\u0430. \u042d\u0442\u043e <strong>\u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433<\/strong> \u0438\u043b\u0438 <strong>\u043d\u043e\u0432\u044b\u0439<\/strong>? \u0415\u0441\u043b\u0438 \u0442\u043e\u0442 \u0436\u0435 \u2014 \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u043e\u043d \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f, \u0438 \u0431\u044b\u043b \u043b\u0438 \u043e\u043d fixed \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438? \u0415\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u0442, run-diff \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u0438 \u043b\u044e\u0431\u0430\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f \u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 \u0448\u0443\u043c\u0435 \u00ab9 fail\u2019\u043e\u0432 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u00bb.<\/p>\n<p>Backend-\u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0438\u043b Sentry \u2014 composite hash \u0438\u0437 error class \u0438 top stack frame. UI-\u0431\u0430\u0433\u0430\u043c \u044d\u0442\u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0437\u0431\u0435\u0440\u0443 \u043f\u043e\u0447\u0435\u043c\u0443, \u0438 \u043a\u0430\u043a\u043e\u0439 fingerprint \u0432 \u0438\u0442\u043e\u0433\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<hr\/>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0435\u0446\u0435\u043f\u0442 Sentry \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f UI<\/h3>\n<p><a href=\"https:\/\/docs.sentry.io\/concepts\/data-management\/event-grouping\/\" rel=\"noopener noreferrer nofollow\">Sentry\u2019s grouping algorithm<\/a> \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 backend-\u043e\u0448\u0438\u0431\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e:<\/p>\n<ul>\n<li>\n<p>\u0422\u0438\u043f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f (<code>TypeError<\/code>, <code>NullPointerException<\/code>)<\/p>\n<\/li>\n<li>\n<p>Top frame stack trace (<code>module.py:42 \u2192 user_handler<\/code>)<\/p>\n<\/li>\n<li>\n<p>\u0422\u0440\u0430\u043d\u0437\u0438\u0442\u0438\u0432\u043d\u043e \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 top \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/p>\n<\/li>\n<\/ul>\n<p>\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 backend-\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 stack \u2014 \u043e\u0434\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430, \u043e\u0434\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435.<\/p>\n<p>UI-\u0431\u0430\u0433\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0438\u043d\u0430\u0447\u0435. \u041f\u0430\u0434\u0430\u0435\u0442 test:<\/p>\n<pre><code>Error: expect(locator).toBeVisible() failedLocator: getByRole('button', { name: 'Place Order' })Expected: visibleActual: not foundURL: https:\/\/shop.example.com\/checkout<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u0430\u043a\u043e\u0439 \u0437\u0434\u0435\u0441\u044c \u201ctop stack frame\u201d? \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u2014 Playwright internals (<code>expect.js:128<\/code>), \u043d\u043e \u0434\u043b\u044f \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044d\u0442\u043e <strong>\u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c<\/strong>. \u0420\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 <code>expect.js:128<\/code>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Playwright \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 <code>expect(locator).toBeVisible()<\/code> \u0432 \u043c\u0438\u0440\u0435.<\/p>\n<p>\u0422\u043e \u0447\u0442\u043e <strong>\u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e<\/strong> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e UI-\u0431\u0430\u0433\u0430:<\/p>\n<ol>\n<li>\n<p><strong>\u0427\u0442\u043e \u043c\u044b \u0438\u0441\u043a\u0430\u043b\u0438<\/strong> \u2014 locator (<code>getByRole('button', { name: 'Place Order' })<\/code>)<\/p>\n<\/li>\n<li>\n<p><strong>\u0427\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438<\/strong> \u2014 assertion (<code>toBeVisible<\/code>, <code>toHaveText<\/code>, <code>toHaveURL<\/code>)<\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0438\u043f \u043e\u0448\u0438\u0431\u043a\u0438<\/strong> \u2014 class (<code>TimeoutError<\/code>, <code>AssertionError<\/code>)<\/p>\n<\/li>\n<li>\n<p><strong>\u0413\u0434\u0435<\/strong> \u2014 URL pattern (\u0431\u0435\u0437 \u0432\u043e\u043b\u0430\u0442\u0438\u043b\u044c\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439)<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/strong> \u2014 short snippet of error message<\/p>\n<\/li>\n<\/ol>\n<p>\u042d\u0442\u0438 \u043f\u044f\u0442\u044c \u043f\u043e\u043b\u0435\u0439 \u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0442 bug semantically \u2014 \u043d\u0435 \u0435\u0433\u043e technical signature, \u0430 \u0435\u0433\u043e <strong>product meaning<\/strong>.<\/p>\n<hr\/>\n<h3>Naive \u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f<\/h3>\n<p>\u041f\u0435\u0440\u0432\u0430\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f \u2014 \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u044f \u0432\u0441\u0435\u0445 \u043f\u044f\u0442\u0438 \u043f\u043e\u043b\u0435\u0439:<\/p>\n<pre><code class=\"python\">fingerprint = sha256(f\"{selector}|{assertion}|{error_class}|{url}|{message}\")[:8]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 80% \u0441\u043b\u0443\u0447\u0430\u0435\u0432. \u0420\u0443\u0448\u0438\u0442\u0441\u044f \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 20%, \u0438 \u044d\u0442\u0438 20% \u2014 \u0441\u0430\u043c\u044b\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0435.<\/p>\n<p><strong>\u0421\u043b\u0443\u0447\u0430\u0439 1 \u2014 <\/strong><code><strong>:nth-child(N)<\/strong><\/code><\/p>\n<p>\u0422\u0435\u0441\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0431\u0430\u0433 \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u0441\u043f\u0438\u0441\u043a\u0430. Selector:<\/p>\n<pre><code>getByRole('button').nth(2)  \/\/ i.e. nth-child(3) in DOM<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0417\u0430\u0432\u0442\u0440\u0430 \u043a\u0442\u043e-\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0430\u0433 \u043d\u0430 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u043c. Selector:<\/p>\n<pre><code>getByRole('button').nth(3)  \/\/ i.e. nth-child(4) in DOM<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u043e <strong>\u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433<\/strong> (\u043a\u043d\u043e\u043f\u043a\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 accessible name \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0442\u043e\u043c \u0436\u0435 UI-\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435), \u043d\u043e naive fingerprint \u0432\u0438\u0434\u0438\u0442 \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u00ab\u043d\u043e\u0432\u044b\u0439\u00bb bug. Run-diff \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u0435\u043d.<\/p>\n<p><strong>\u0421\u043b\u0443\u0447\u0430\u0439 2 \u2014 UUIDs \u0432 URL<\/strong><\/p>\n<pre><code>URL: \/run\/abc123de-1234-1234-1234-123456789abc\/details<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u2014 \u043d\u043e\u0432\u044b\u0439 UUID. \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u2014 \u043d\u043e\u0432\u044b\u0439 fingerprint. \u041a\u0430\u0436\u0434\u044b\u0439 \u0431\u0430\u0433 \u201c\u043d\u043e\u0432\u044b\u0439\u201d forever.<\/p>\n<p><strong>\u0421\u043b\u0443\u0447\u0430\u0439 3 \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 ID \u0432 URL<\/strong><\/p>\n<pre><code>URL: \/users\/12345\/profile<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u044e\u0437\u0435\u0440 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 setup project \u2192 \u0440\u0430\u0437\u043d\u044b\u0439 ID \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d. \u0422\u043e\u0442 \u0436\u0435 fingerprint problem.<\/p>\n<p><strong>\u0421\u043b\u0443\u0447\u0430\u0439 4 \u2014 query strings<\/strong><\/p>\n<pre><code>URL: \/search?q=foo&amp;utm_source=test&amp;_=1715693845<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>Timestamp \u0432 query, UTM-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u0437 ad campaign \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u0435. Fingerprint \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0448\u044c.<\/p>\n<hr\/>\n<h3>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c<\/h3>\n<pre><code class=\"python\">import reimport hashlibSELECTOR_NORMS = [    (re.compile(r\":nth-child\\(\\d+\\)\"),   \":nth-child\"),    (re.compile(r\":nth-of-type\\(\\d+\\)\"), \":nth-of-type\"),]URL_NORMS = [    # UUIDs (\u043b\u044e\u0431\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f)    (re.compile(r\"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\", re.I),     \":uuid\"),    # \u0427\u0438\u0441\u043b\u043e\u0432\u044b\u0435 ID \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u0435\u0448\u0430\u043c\u0438    (re.compile(r\"\/\\d+(?=\/|$|\\?)\"), \"\/:id\"),    # Query strings \u2014 \u0446\u0435\u043b\u0438\u043a\u043e\u043c    (re.compile(r\"\\?.*$\"), \"\"),]def normalize_selector(s: str) -&gt; str:    for pat, repl in SELECTOR_NORMS:        s = pat.sub(repl, s)    return sdef normalize_url(url: str) -&gt; str:    if not url:        return \"\"    # Stripping protocol+host \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c    m = re.match(r\"^https?:\/\/[^\/]+(.*)\", url)    path = m.group(1) if m else url    for pat, repl in URL_NORMS:        path = pat.sub(repl, path)    return pathdef compute_fingerprint(bug: dict) -&gt; str:    err = bug.get(\"error\") or {}    msg = (err.get(\"message\") or \"\")[:120]    selector = normalize_selector(bug.get(\"selector\", \"\"))    assertion = bug.get(\"assertion_type\", \"Generic\")    error_class = bug.get(\"error_class\", \"AssertionError\")    url_path = normalize_url(err.get(\"url\") or \"\")    composite = f\"{selector}|{assertion}|{error_class}|{url_path}|{msg[:80]}\"    return hashlib.sha256(composite.encode(\"utf-8\")).hexdigest()[:8]<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u0438\u0445 \u0442\u0440\u0451\u0445 \u043f\u0440\u0430\u0432\u0438\u043b:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0414\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041f\u043e\u0441\u043b\u0435<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>getByRole('button').nth(2)<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>getByRole('button').nth(2)<\/code> (nth \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u043c \u2014 \u044d\u0442\u043e explicit \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 intent)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>getByRole('item') :nth-child(3)<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>getByRole('item') :nth-child<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>\/run\/abc123de-...-12345...\/info<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>\/run\/:uuid\/info<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>\/users\/12345\/profile<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>\/users\/:id\/profile<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><code>\/search?q=x&amp;utm=y<\/code><\/p>\n<\/td>\n<td>\n<p align=\"left\"><code>\/search<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><code>nth(N)<\/code> (Playwright explicit API) \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u2014 \u044d\u0442\u043e intent \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430: \u00ab\u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0440\u0435\u0442\u044c\u044f \u043a\u043d\u043e\u043f\u043a\u0430\u00bb. \u0410 <code>:nth-child(N)<\/code> (CSS \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440) \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0443\u0434\u0430 \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 positional index \u0438\u0437 \u0430\u0432\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0448\u0443\u043c\u0438\u0442 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438.<\/p>\n<p>\u0414\u043b\u0438\u043d\u0430 fingerprint \u2014 8 hex chars (32 \u0431\u0438\u0442\u0430). \u041f\u0440\u0438 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u043e\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 ~2^-32 \u043d\u0430 \u043f\u0430\u0440\u0443, \u0434\u043b\u044f \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0433\u043e suite \u0432 50-100 \u0431\u0430\u0433\u043e\u0432 \u044d\u0442\u043e \u0434\u0430\u0451\u0442 &lt;0.001% false collision rate. SHA-256 \u00abfull\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435\u0442 \u2014 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 fingerprint \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0434\u043b\u044f UI \u043e\u0442\u0447\u0451\u0442\u043e\u0432 (<code>BUG-a3f9c2b1<\/code>).<\/p>\n<hr\/>\n<h3>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0435\u0439 \u0438\u0437 \u0440\u0430\u0437\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 runtime-\u043e\u0448\u0438\u0431\u043e\u043a<\/h3>\n<p>Selector \u0440\u0435\u0434\u043a\u043e \u043b\u0435\u0436\u0438\u0442 \u0432 structured field. Playwright \u043a\u0438\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 error.message + snippet. \u0412\u043e\u0442 regex-extractor \u0434\u043b\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 Playwright-\u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432:<\/p>\n<pre><code class=\"python\">def extract_selector(error_snippet: str, error_msg: str) -&gt; str:    haystack = (error_snippet or \"\") + \" \" + (error_msg or \"\")    for prefix in (\"getByRole\", \"getByLabel\", \"getByText\", \"getByTestId\",                   \"getByPlaceholder\", \"getByAltText\", \"getByTitle\", \"locator\"):        m = re.search(rf\"{prefix}\\([^)]+\\)\", haystack)        if m:            return m.group(0)    return \"\"def extract_assertion_type(msg: str) -&gt; str:    for kw in (\"toBeVisible\", \"toHaveText\", \"toHaveURL\", \"toHaveTitle\",               \"toHaveAttribute\", \"toContainText\", \"toEqual\", \"toBe\"):        if kw in msg:            return kw    if re.search(r\"timeout|Timeout\", msg):        return \"Timeout\"    return \"Generic\"def extract_error_class(msg: str) -&gt; str:    m = re.match(r\"^([A-Z][A-Za-z]+(Error|Exception)):\", msg)    if m:        return m.group(1)    if re.search(r\"timeout|Timeout\", msg):        return \"TimeoutError\"    return \"AssertionError\"<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0430\u0440\u0441\u0435\u0440 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 match \u0438\u0437 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430. <code>getByRole<\/code> \u0438\u0434\u0451\u0442 \u043f\u0435\u0440\u0432\u044b\u043c \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e describes intent. <code>locator(...)<\/code> \u2014 fallback \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u0432.<\/p>\n<p>\u041e\u0434\u0438\u043d edge case: \u0435\u0441\u043b\u0438 \u0432 error message \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <code>expect(getByRole('button')).toContain(getByText('saved'))<\/code>) \u2014 \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439. \u042d\u0442\u043e \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u044f, \u043d\u0435 optimal, \u043d\u043e <strong>\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430<\/strong> \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0442\u0435\u0441\u0442\u0430.<\/p>\n<hr\/>\n<h3>Run-diff: \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 fingerprint\u2019\u043e\u043c<\/h3>\n<p>\u0421\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 fingerprint \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u043e\u043d\u0430. \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0439 value \u2014 diff \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438. \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c:<\/p>\n<pre><code class=\"python\">def diff_runs(current: list[dict], previous: list[dict]) -&gt; dict:    prev_map = {b.get(\"fingerprintHash\"): b for b in previous if b.get(\"fingerprintHash\")}    summary = {\"new\": 0, \"regression\": 0, \"persisting\": 0, \"fixed\": 0}    out = []    cur_hashes = set()    for bug in current:        fp = bug[\"fingerprintHash\"]        cur_hashes.add(fp)        prev = prev_map.get(fp)        if prev is None:            state = \"new\"        elif (prev.get(\"diff\") or {}).get(\"state\") == \"fixed\":            state = \"regression\"  # \u0431\u044b\u043b fixed, \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f        else:            state = \"persisting\"            bug[\"occurrenceCount\"] = (prev.get(\"occurrenceCount\") or 1) + 1        bug[\"diff\"] = {            \"state\": state,            \"previousRunId\": prev.get(\"lastSeenRunId\") if prev else None,        }        summary[state] += 1        out.append(bug)    # Newly fixed: present in previous, absent in current    for fp, prev in prev_map.items():        if fp in cur_hashes:            continue        if (prev.get(\"diff\") or {}).get(\"state\") == \"fixed\":            continue  # already fixed earlier \u2014 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u043c \"newly\"        prev_copy = dict(prev)        prev_copy[\"diff\"] = {\"state\": \"fixed\", \"previousRunId\": prev.get(\"lastSeenRunId\")}        out.append(prev_copy)        summary[\"fixed\"] += 1    return {\"bugs\": out, \"summary\": summary}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\n<p><code><strong>new<\/strong><\/code> \u2014 fingerprint \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435<\/p>\n<\/li>\n<li>\n<p><code><strong>persisting<\/strong><\/code> \u2014 \u0431\u044b\u043b, \u0432\u0441\u0451 \u0435\u0449\u0451 \u0435\u0441\u0442\u044c; \u0441\u0447\u0451\u0442\u0447\u0438\u043a occurrence \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u0441\u044f<\/p>\n<\/li>\n<li>\n<p><code><strong>fixed<\/strong><\/code> \u2014 \u0431\u044b\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c, \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0438 \u041d\u0415 \u0431\u044b\u043b \u043f\u043e\u043c\u0435\u0447\u0435\u043d fixed \u0440\u0430\u043d\u044c\u0448\u0435<\/p>\n<\/li>\n<li>\n<p><code><strong>regression<\/strong><\/code> \u2014 \u0431\u044b\u043b, \u0431\u044b\u043b \u043f\u043e\u043c\u0435\u0447\u0435\u043d fixed, \u043f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f<\/p>\n<\/li>\n<\/ul>\n<p><code>regression<\/code> \u2014 \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u042d\u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b \u0447\u0442\u043e \u043f\u043e\u0447\u0438\u043d\u043a\u0430 \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u0438 \u043d\u0443\u0436\u043d\u043e investigate. \u0412 \u043e\u0442\u0447\u0451\u0442\u0435 webtest-orch \u2014 <code>\ud83d\udea8 Regression<\/code> \u0432 diff-\u0441\u0435\u043a\u0446\u0438\u0438 <a href=\"http:\/\/report.md\" rel=\"noopener noreferrer nofollow\"><code>report.md<\/code><\/a>.<\/p>\n<hr\/>\n<h3>Edge cases \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c<\/h3>\n<p><strong>Viewport-dependent bugs.<\/strong> <code>touch-target: BUTTON 86\u00d720 \u043d\u0430 390\u00d7844<\/code> \u2014 fingerprint \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 viewport size. \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430 mobile <strong>\u0438<\/strong> desktop, \u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433 \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 fingerprint\u2019\u0430. \u042d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u2014 \u0431\u0430\u0433 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 mobile, \u043d\u0435 \u043d\u0430 desktop. \u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u043b\u0430\u043f\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u2014 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u043d\u043e\u0440\u043c.\u043f\u0440\u0430\u0432\u0438\u043b\u043e: <code>r\"\\d+x\\d+\" \u2192 \"WxH\"<\/code>. \u042d\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c \u0432\u0438\u0434\u0435\u0442\u044c \u043e\u0442\u0447\u0451\u0442.<\/p>\n<p><strong>Selector \u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c.<\/strong> \u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 welcome-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432\u0440\u043e\u0434\u0435 <code>getByText('Welcome, John')<\/code> \u0441\u043e\u0437\u0434\u0430\u044e\u0442 fingerprint per username. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c spec \u043d\u0430 <code>getByRole('heading', { name: \/Welcome\/ })<\/code> \u0435\u0449\u0451 \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0435 \u0432 fingerprint\u2019\u0435. Fingerprint \u043d\u0430\u0434\u0451\u0436\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 spec \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p><strong>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u0433\u043e\u0432 \u043d\u0430 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435.<\/strong> \u0415\u0441\u043b\u0438 \u0442\u0435\u0441\u0442 \u043f\u0430\u0434\u0430\u0435\u0442 \u0441 <code>expect(issues).toEqual([])<\/code> \u0433\u0434\u0435 <code>issues<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 8 axe-core violations, fingerprint \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u2014 \u043e\u0434\u0438\u043d. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 webtest-orch <code>run_<\/code><a href=\"http:\/\/suite.py\" rel=\"noopener noreferrer nofollow\"><code>suite.py<\/code><\/a> \u0441\u043d\u0430\u0447\u0430\u043b\u0430 <strong>\u0440\u0430\u0441\u0449\u0435\u043f\u043b\u044f\u0435\u0442 issues collector \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 bug records<\/strong>, \u043f\u043e\u0442\u043e\u043c fingerprint \u043a\u0430\u0436\u0434\u044b\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u0432\u0430\u0436\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c \u2014 \u0431\u0435\u0437 \u043d\u0435\u0451 \u0432\u0441\u0435 a11y-violations \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0434\u0430\u044e\u0442 \u043e\u0434\u0438\u043d <code>BUG-id<\/code> \u0438 \u0442\u0435\u0440\u044f\u044e\u0442\u0441\u044f \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438.<\/p>\n<p><strong>SHA-256 vs xxhash vs CRC32.<\/strong> \u042f \u0432\u044b\u0431\u0440\u0430\u043b SHA-256 \u043f\u043e \u0434\u0432\u0443\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c: (1) \u043a\u0440\u0438\u043f\u0442\u043e\u0441\u0442\u043e\u0439\u043a\u043e\u0441\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u043d\u043e \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u0438 \u0432\u0430\u0436\u043d\u044b \u2014 \u043d\u0430 32 \u0431\u0438\u0442\u0430 SHA-256 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0443\u0447\u0448\u0435 CRC32 \u043d\u0430 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u043a\u0430\u0445; (2) std lib \u0432 Python \u0431\u0435\u0437 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439. xxhash \u0431\u044b\u043b \u0431\u044b \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u043d\u043e \u0434\u043b\u044f 100-1000 \u0431\u0430\u0433\u043e\u0432 \u0432 \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u2014 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b.<\/p>\n<hr\/>\n<h3>Severity inference \u043a\u0430\u043a side-effect<\/h3>\n<p>\u0418\u0437 \u0442\u0435\u0445 \u0436\u0435 extracted \u043f\u043e\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 severity \u0431\u0435\u0437 LLM. axe-core impact\u2019\u044b \u043c\u0430\u043f\u043f\u044f\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e:<\/p>\n<pre><code class=\"python\">def severity_from_signals(bug: dict) -&gt; str:    issue_line = (bug.get(\"issueLine\") or \"\").lower()    # axe-core impact \u2192 severity    if \"a11y[critical]\" in issue_line or \"a11y[serious]\" in issue_line:        return \"S1\"    if \"a11y[moderate]\" in issue_line:        return \"S2\"    if \"a11y[minor]\" in issue_line:        return \"S3\"    # \u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0442\u0435\u0433\u0438 \u043e\u0442 spec template    if issue_line.startswith(\"heading-jump:\"):     return \"S2\"    if issue_line.startswith(\"touch-target:\"):     return \"S2\"    if issue_line.startswith(\"overflow:\"):         return \"S1\"    # Heuristic match \u043d\u0430 keywords \u0438\u0437 title + error    text = (bug.get(\"title\", \"\") + \" \" + bug.get(\"error\", {}).get(\"message\", \"\")).lower()    if any(k in text for k in [\"auth\", \"login\", \"checkout\", \"payment\", \"5xx\"]):        return \"S0\"    if any(k in text for k in [\"uncaught\", \"hydration\"]):        return \"S0\"    return \"S2\"  # default<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u042d\u0442\u0430 \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043a\u0440\u044b\u0432\u0430\u0435\u0442 80% \u0441\u043b\u0443\u0447\u0430\u0435\u0432. \u0414\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 20% (P0 product regression \u0441\u043e generic-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c) \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d override mechanism \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u043f\u0435\u0440\u0435\u0434 <code>test()<\/code>:<\/p>\n<pre><code>\/\/ @severity: S0test('checkout completely broken', async ({ page }) =&gt; { \/* ... *\/ });<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><code>fingerprint_<\/code><a href=\"http:\/\/bugs.py\" rel=\"noopener noreferrer nofollow\"><code>bugs.py<\/code><\/a> \u043f\u0430\u0440\u0441\u0438\u0442 spec \u0444\u0430\u0439\u043b, \u0438\u0449\u0435\u0442 <code>\/\/ @severity:<\/code> \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043f\u0435\u0440\u0435\u0434 <code>test()<\/code>, \u043c\u0430\u0442\u0447\u0438\u0442 \u043f\u043e test title \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 override. \u042d\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442 false-negative case \u043a\u043e\u0433\u0434\u0430 heuristic \u043d\u0435\u0434\u043e\u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u0442 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e\u0441\u0442\u044c.<\/p>\n<hr\/>\n<h3>\u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435<\/h3>\n<p><code>bugs.json<\/code> \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0433\u043e\u043d\u0430:<\/p>\n<pre><code class=\"json\">{  \"runId\": \"run-2026-04-30-1430\",  \"bugs\": [    {      \"id\": \"BUG-a3f9c2b1\",      \"fingerprintHash\": \"a3f9c2b1\",      \"title\": \"Checkout 'Place Order' button non-functional on mobile\",      \"severity\": \"S0\",      \"priority\": \"P0\",      \"diff\": { \"state\": \"regression\", \"previousRunId\": \"run-2026-04-26-0902\" },      \"occurrenceCount\": 3,      \"trackerMappings\": {        \"linear\": { \"priority\": 1 },        \"github\": { \"labels\": [\"bug\", \"severity\/s0\", \"priority\/p0\"] },        \"jira\":   { \"issueType\": \"Bug\", \"priorityName\": \"Highest\" }      }    }  ]}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0440\u043e\u0434\u0438\u0442\u0441\u044f auto-filing \u0432 \u0442\u0440\u0435\u043a\u0435\u0440\u044b (Linear\/GitHub\/Jira), markdown-\u043e\u0442\u0447\u0451\u0442 \u0441 severity breakdown, run-diff summary \u0432 <code>diff.json<\/code>. \u0412\u0441\u0451 \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e, \u0431\u0435\u0437 LLM \u0432 pipeline \u2014 \u044d\u043a\u043e\u043d\u043e\u043c\u043d\u043e \u0438 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c\u043e.<\/p>\n<p>\u041f\u043e\u043b\u043d\u0430\u044f \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u2014 \u0432 <a href=\"https:\/\/github.com\/CreatmanCEO\/webtest-orch\" rel=\"noopener noreferrer nofollow\">webtest-orch<\/a>, \u0441\u043a\u0440\u0438\u043f\u0442 <code>scripts\/fingerprint_<\/code><a href=\"http:\/\/bugs.py\" rel=\"noopener noreferrer nofollow\"><code>bugs.py<\/code><\/a>, ~250 \u0441\u0442\u0440\u043e\u043a, MIT.<\/p>\n<hr\/>\n<h3>\u041f\u043e\u043b\u0435\u0437\u043d\u043e\u0435<\/h3>\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/CreatmanCEO\/webtest-orch\" rel=\"noopener noreferrer nofollow\">webtest-orch<\/a> \u2014 Claude Code skill \u0434\u043b\u044f e2e-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u044d\u0442\u043e\u0442 fingerprint<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/docs.sentry.io\/concepts\/data-management\/event-grouping\/\" rel=\"noopener noreferrer nofollow\">Sentry grouping docs<\/a> \u2014 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 backend-\u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044d\u0442\u043e\u0442 UI-\u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/playwright.dev\/docs\/best-practices#use-locators\" rel=\"noopener noreferrer nofollow\">Playwright locator priority<\/a> \u2014 \u043f\u043e\u0447\u0435\u043c\u0443 <code>getByRole<\/code> \u0438\u0434\u0451\u0442 \u043f\u0435\u0440\u0432\u044b\u043c \u0432 \u043d\u0430\u0448\u0435\u043c extractor<\/p>\n<\/li>\n<\/ul>\n<p>\u2014 <em>Nick (Creatman). \u0414\u0435\u043b\u0430\u044e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 Claude Code: webtest-orch, cc-janitor, claude-code-antiregression-setup, claude-statusline, ai-context-hierarchy, notebooklm-claude-workflows. \u0412\u0441\u0435 MIT, \u0432\u0441\u0435 \u043d\u0430 <\/em><a href=\"https:\/\/github.com\/CreatmanCEO\" rel=\"noopener noreferrer nofollow\"><em>github.com\/CreatmanCEO<\/em><\/a><em>.<\/em><\/p>\n<\/div>\n<p>\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\/1032230\/\">https:\/\/habr.com\/ru\/articles\/1032230\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TL;DR: Sentry \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 backend-\u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e \u0445\u0435\u0448\u0443 (error class + top stack frame + module). \u0414\u043b\u044f UI-\u0431\u0430\u0433\u043e\u0432 \u044d\u0442\u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442 \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f \u2014 \u0443 expect(button).toBeVisible() \u043d\u0435\u0442 stack frame \u0432 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435, \u0435\u0441\u0442\u044c \u043b\u043e\u043a\u0430\u0442\u043e\u0440 + assertion + URL. \u0412 webtest-orch \u044f \u0441\u043e\u0431\u0440\u0430\u043b composite SHA-256 fingerprint \u0438\u0437 (normalized_selector | assertion type | error class | URL template | message[:80]) \u0441 \u0442\u0440\u0435\u043c\u044f rules \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (:nth-child, UUID, \/users\/123 \u2192 \/users\/:id). \u042d\u0442\u043e \u0434\u0430\u0451\u0442 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 8-hex BUG-id \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0433\u043e\u043d\u044b \u0438 \u0434\u0430\u0451\u0442 diff new \/ regression \/ persisting \/ fixed \u0431\u0435\u0437 \u0411\u0414 \u0438 embedding\u2019\u043e\u0432.\u0421\u0440\u0430\u0437\u0443 \u043f\u0440\u043e\u0448\u0443 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u043c\u0435\u043d\u044f \u043d\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0431\u0443\u043a\u0430\u0432 \u0438 \u043a\u043e\u0434\u0430.\u041a\u043e\u0433\u0434\u0430 \u044f \u043f\u0438\u0441\u0430\u043b webtest-orch \u2014 Claude Code skill \u0434\u043b\u044f e2e-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0443\u043f\u0451\u0440\u0441\u044f \u0432 \u0437\u0430\u0434\u0430\u0447\u0443 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430\u044f. \u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u043b\u0441\u044f. \u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u2014 \u0441\u043d\u043e\u0432\u0430. \u042d\u0442\u043e \u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433 \u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0439? \u0415\u0441\u043b\u0438 \u0442\u043e\u0442 \u0436\u0435 \u2014 \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u043e\u043d \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f, \u0438 \u0431\u044b\u043b \u043b\u0438 \u043e\u043d fixed \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438? \u0415\u0441\u043b\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0435\u0442, run-diff \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u0438 \u043b\u044e\u0431\u0430\u044f \u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u044f \u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 \u0448\u0443\u043c\u0435 \u00ab9 fail\u2019\u043e\u0432 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u00bb.Backend-\u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0438\u043b Sentry \u2014 composite hash \u0438\u0437 error class \u0438 top stack frame. UI-\u0431\u0430\u0433\u0430\u043c \u044d\u0442\u043e\u0442 \u0440\u0435\u0446\u0435\u043f\u0442 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0438 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0437\u0431\u0435\u0440\u0443 \u043f\u043e\u0447\u0435\u043c\u0443, \u0438 \u043a\u0430\u043a\u043e\u0439 fingerprint \u0432 \u0438\u0442\u043e\u0433\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.\u041f\u043e\u0447\u0435\u043c\u0443 \u0440\u0435\u0446\u0435\u043f\u0442 Sentry \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f UISentry\u2019s grouping algorithm \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 backend-\u043e\u0448\u0438\u0431\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e:\u0422\u0438\u043f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f (TypeError, NullPointerException)Top frame stack trace (module.py:42 \u2192 user_handler)\u0422\u0440\u0430\u043d\u0437\u0438\u0442\u0438\u0432\u043d\u043e \u2014 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 top \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 backend-\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0434\u0435\u0442\u0435\u0440\u043c\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 stack \u2014 \u043e\u0434\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430, \u043e\u0434\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435.UI-\u0431\u0430\u0433\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0438\u043d\u0430\u0447\u0435. \u041f\u0430\u0434\u0430\u0435\u0442 test:Error: expect(locator).toBeVisible() failedLocator: getByRole(&#8216;button&#8217;, { name: &#8216;Place Order&#8217; })Expected: visibleActual: not foundURL: https:\/\/shop.example.com\/checkout\u041a\u0430\u043a\u043e\u0439 \u0437\u0434\u0435\u0441\u044c \u201ctop stack frame\u201d? \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u2014 Playwright internals (expect.js:128), \u043d\u043e \u0434\u043b\u044f \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044d\u0442\u043e \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c. \u0420\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0432\u0441\u0435 \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 expect.js:128, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Playwright \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 expect(locator).toBeVisible() \u0432 \u043c\u0438\u0440\u0435.\u0422\u043e \u0447\u0442\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e UI-\u0431\u0430\u0433\u0430:\u0427\u0442\u043e \u043c\u044b \u0438\u0441\u043a\u0430\u043b\u0438 \u2014 locator (getByRole(&#8216;button&#8217;, { name: &#8216;Place Order&#8217; }))\u0427\u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0438 \u2014 assertion (toBeVisible, toHaveText, toHaveURL)\u0422\u0438\u043f \u043e\u0448\u0438\u0431\u043a\u0438 \u2014 class (TimeoutError, AssertionError)\u0413\u0434\u0435 \u2014 URL pattern (\u0431\u0435\u0437 \u0432\u043e\u043b\u0430\u0442\u0438\u043b\u044c\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439)\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u2014 short snippet of error message\u042d\u0442\u0438 \u043f\u044f\u0442\u044c \u043f\u043e\u043b\u0435\u0439 \u0432 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044e\u0442 bug semantically \u2014 \u043d\u0435 \u0435\u0433\u043e technical signature, \u0430 \u0435\u0433\u043e product meaning.Naive \u043f\u043e\u0434\u0445\u043e\u0434 \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d \u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f\u041f\u0435\u0440\u0432\u0430\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f \u2014 \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u044f \u0432\u0441\u0435\u0445 \u043f\u044f\u0442\u0438 \u043f\u043e\u043b\u0435\u0439:fingerprint = sha256(f&#187;{selector}|{assertion}|{error_class}|{url}|{message}&#187;)[:8]\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 80% \u0441\u043b\u0443\u0447\u0430\u0435\u0432. \u0420\u0443\u0448\u0438\u0442\u0441\u044f \u043d\u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 20%, \u0438 \u044d\u0442\u0438 20% \u2014 \u0441\u0430\u043c\u044b\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b\u0435.\u0421\u043b\u0443\u0447\u0430\u0439 1 \u2014 :nth-child(N)\u0422\u0435\u0441\u0442 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u0431\u0430\u0433 \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435 \u0441\u043f\u0438\u0441\u043a\u0430. Selector:getByRole(&#8216;button&#8217;).nth(2)  \/\/ i.e. nth-child(3) in DOM\u0417\u0430\u0432\u0442\u0440\u0430 \u043a\u0442\u043e-\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043f\u0438\u0441\u043a\u0430 \u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0430\u0433 \u043d\u0430 \u0447\u0435\u0442\u0432\u0451\u0440\u0442\u043e\u043c. Selector:getByRole(&#8216;button&#8217;).nth(3)  \/\/ i.e. nth-child(4) in DOM\u042d\u0442\u043e \u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433 (\u043a\u043d\u043e\u043f\u043a\u0430 \u0441 \u0442\u0435\u043c \u0436\u0435 accessible name \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0442\u043e\u043c \u0436\u0435 UI-\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435), \u043d\u043e naive fingerprint \u0432\u0438\u0434\u0438\u0442 \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u043a\u0430\u0436\u0434\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u00ab\u043d\u043e\u0432\u044b\u0439\u00bb bug. Run-diff \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u0435\u043d.\u0421\u043b\u0443\u0447\u0430\u0439 2 \u2014 UUIDs \u0432 URLURL: \/run\/abc123de-1234-1234-1234-123456789abc\/details\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u2014 \u043d\u043e\u0432\u044b\u0439 UUID. \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d \u2014 \u043d\u043e\u0432\u044b\u0439 fingerprint. \u041a\u0430\u0436\u0434\u044b\u0439 \u0431\u0430\u0433 \u201c\u043d\u043e\u0432\u044b\u0439\u201d forever.\u0421\u043b\u0443\u0447\u0430\u0439 3 \u2014 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 ID \u0432 URLURL: \/users\/12345\/profile\u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u044e\u0437\u0435\u0440 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 setup project \u2192 \u0440\u0430\u0437\u043d\u044b\u0439 ID \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0433\u043e\u043d. \u0422\u043e\u0442 \u0436\u0435 fingerprint problem.\u0421\u043b\u0443\u0447\u0430\u0439 4 \u2014 query stringsURL: \/search?q=foo&amp;utm_source=test&amp;_=1715693845Timestamp \u0432 query, UTM-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u0437 ad campaign \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0439 \u0441\u0440\u0435\u0434\u0435. Fingerprint \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0448\u044c.\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0434 \u0445\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043cimport reimport hashlibSELECTOR_NORMS = [    (re.compile(r&#187;:nth-child\\(\\d+\\)&#187;),   &#171;:nth-child&#187;),    (re.compile(r&#187;:nth-of-type\\(\\d+\\)&#187;), &#171;:nth-of-type&#187;),]URL_NORMS = [    # UUIDs (\u043b\u044e\u0431\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f)    (re.compile(r&#187;[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}&#187;, re.I),     &#171;:uuid&#187;),    # \u0427\u0438\u0441\u043b\u043e\u0432\u044b\u0435 ID \u043c\u0435\u0436\u0434\u0443 \u0441\u043b\u0435\u0448\u0430\u043c\u0438    (re.compile(r&#187;\/\\d+(?=\/|$|\\?)&#187;), &#171;\/:id&#187;),    # Query strings \u2014 \u0446\u0435\u043b\u0438\u043a\u043e\u043c    (re.compile(r&#187;\\?.*$&#187;), &#171;&#187;),]def normalize_selector(s: str) -&gt; str:    for pat, repl in SELECTOR_NORMS:        s = pat.sub(repl, s)    return sdef normalize_url(url: str) -&gt; str:    if not url:        return &#171;&#187;    # Stripping protocol+host \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c    m = re.match(r&#187;^https?:\/\/[^\/]+(.*)&#187;, url)    path = m.group(1) if m else url    for pat, repl in URL_NORMS:        path = pat.sub(repl, path)    return pathdef compute_fingerprint(bug: dict) -&gt; str:    err = bug.get(&#171;error&#187;) or {}    msg = (err.get(&#171;message&#187;) or &#171;&#187;)[:120]    selector = normalize_selector(bug.get(&#171;selector&#187;, &#171;&#187;))    assertion = bug.get(&#171;assertion_type&#187;, &#171;Generic&#187;)    error_class = bug.get(&#171;error_class&#187;, &#171;AssertionError&#187;)    url_path = normalize_url(err.get(&#171;url&#187;) or &#171;&#187;)    composite = f&#187;{selector}|{assertion}|{error_class}|{url_path}|{msg[:80]}&#187;    return hashlib.sha256(composite.encode(&#171;utf-8&#187;)).hexdigest()[:8]\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u0438\u0445 \u0442\u0440\u0451\u0445 \u043f\u0440\u0430\u0432\u0438\u043b:\u0414\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438\u041f\u043e\u0441\u043b\u0435getByRole(&#8216;button&#8217;).nth(2)getByRole(&#8216;button&#8217;).nth(2) (nth \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u043c \u2014 \u044d\u0442\u043e explicit \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 intent)getByRole(&#8216;item&#8217;) :nth-child(3)getByRole(&#8216;item&#8217;) :nth-child\/run\/abc123de-&#8230;-12345&#8230;\/info\/run\/:uuid\/info\/users\/12345\/profile\/users\/:id\/profile\/search?q=x&amp;utm=y\/searchnth(N) (Playwright explicit API) \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u2014 \u044d\u0442\u043e intent \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430: \u00ab\u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0440\u0435\u0442\u044c\u044f \u043a\u043d\u043e\u043f\u043a\u0430\u00bb. \u0410 :nth-child(N) (CSS \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440) \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u0435\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0442\u0443\u0434\u0430 \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 positional index \u0438\u0437 \u0430\u0432\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0448\u0443\u043c\u0438\u0442 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438.\u0414\u043b\u0438\u043d\u0430 fingerprint \u2014 8 hex chars (32 \u0431\u0438\u0442\u0430). \u041f\u0440\u0438 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u043e\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u0438 ~2^-32 \u043d\u0430 \u043f\u0430\u0440\u0443, \u0434\u043b\u044f \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0433\u043e suite \u0432 50-100 \u0431\u0430\u0433\u043e\u0432 \u044d\u0442\u043e \u0434\u0430\u0451\u0442 &lt;0.001% false collision rate. SHA-256 \u00abfull\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043c\u044b\u0441\u043b\u0430 \u043d\u0435\u0442 \u2014 \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439 fingerprint \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0434\u043b\u044f UI \u043e\u0442\u0447\u0451\u0442\u043e\u0432 (BUG-a3f9c2b1).\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0435\u0439 \u0438\u0437 \u0440\u0430\u0437\u043d\u043e\u0442\u0438\u043f\u043d\u044b\u0445 runtime-\u043e\u0448\u0438\u0431\u043e\u043aSelector \u0440\u0435\u0434\u043a\u043e \u043b\u0435\u0436\u0438\u0442 \u0432 structured field. Playwright \u043a\u0438\u0434\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 error.message + snippet. \u0412\u043e\u0442 regex-extractor \u0434\u043b\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 Playwright-\u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432:def extract_selector(error_snippet: str, error_msg: str) -&gt; str:    haystack = (error_snippet or &#171;&#187;) + &#187; &#187; + (error_msg or &#171;&#187;)    for prefix in (&#171;getByRole&#187;, &#171;getByLabel&#187;, &#171;getByText&#187;, &#171;getByTestId&#187;,                   &#171;getByPlaceholder&#187;, &#171;getByAltText&#187;, &#171;getByTitle&#187;, &#171;locator&#187;):        m = re.search(rf&#187;{prefix}\\([^)]+\\)&#187;, haystack)        if m:            return m.group(0)    return &#171;&#187;def extract_assertion_type(msg: str) -&gt; str:    for kw in (&#171;toBeVisible&#187;, &#171;toHaveText&#187;, &#171;toHaveURL&#187;, &#171;toHaveTitle&#187;,               &#171;toHaveAttribute&#187;, &#171;toContainText&#187;, &#171;toEqual&#187;, &#171;toBe&#187;):        if kw in msg:            return kw    if re.search(r&#187;timeout|Timeout&#187;, msg):        return &#171;Timeout&#187;    return &#171;Generic&#187;def extract_error_class(msg: str) -&gt; str:    m = re.match(r&#187;^([A-Z][A-Za-z]+(Error|Exception)):&#187;, msg)    if m:        return m.group(1)    if re.search(r&#187;timeout|Timeout&#187;, msg):        return &#171;TimeoutError&#187;    return &#171;AssertionError&#187;\u041f\u0430\u0440\u0441\u0435\u0440 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 match \u0438\u0437 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u043f\u0438\u0441\u043a\u0430. getByRole \u0438\u0434\u0451\u0442 \u043f\u0435\u0440\u0432\u044b\u043c \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0438 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e describes intent. locator(&#8230;) \u2014 fallback \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u0432.\u041e\u0434\u0438\u043d edge case: \u0435\u0441\u043b\u0438 \u0432 error message \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u043e\u043a\u0430\u0442\u043e\u0440\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, expect(getByRole(&#8216;button&#8217;)).toContain(getByText(&#8216;saved&#8217;))) \u2014 \u0431\u0435\u0440\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0432\u044b\u0439. \u042d\u0442\u043e \u043a\u043e\u043d\u0432\u0435\u043d\u0446\u0438\u044f, \u043d\u0435 optimal, \u043d\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u0430 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0442\u0435\u0441\u0442\u0430.Run-diff: \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 fingerprint\u2019\u043e\u043c\u0421\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 fingerprint \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u043e\u043d\u0430. \u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0439 value \u2014 diff \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0433\u043e\u043d\u0430\u043c\u0438. \u0410\u043b\u0433\u043e\u0440\u0438\u0442\u043c:def diff_runs(current: list[dict], previous: list[dict]) -&gt; dict:    prev_map = {b.get(&#171;fingerprintHash&#187;): b for b in previous if b.get(&#171;fingerprintHash&#187;)}    summary = {&#171;new&#187;: 0, &#171;regression&#187;: 0, &#171;persisting&#187;: 0, &#171;fixed&#187;: 0}    out = []    cur_hashes = set()    for bug in current:        fp = bug[&#171;fingerprintHash&#187;]        cur_hashes.add(fp)        prev = prev_map.get(fp)        if prev is None:            state = &#171;new&#187;        elif (prev.get(&#171;diff&#187;) or {}).get(&#171;state&#187;) == &#171;fixed&#187;:            state = &#171;regression&#187;  # \u0431\u044b\u043b fixed, \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f        else:            state = &#171;persisting&#187;            bug[&#171;occurrenceCount&#187;] = (prev.get(&#171;occurrenceCount&#187;) or 1) + 1        bug[&#171;diff&#187;] = {            &#171;state&#187;: state,            &#171;previousRunId&#187;: prev.get(&#171;lastSeenRunId&#187;) if prev else None,        }        summary[state] += 1        out.append(bug)    # Newly fixed: present in previous, absent in current    for fp, prev in prev_map.items():        if fp in cur_hashes:            continue        if (prev.get(&#171;diff&#187;) or {}).get(&#171;state&#187;) == &#171;fixed&#187;:            continue  # already fixed earlier \u2014 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0435\u043c &#171;newly&#187;        prev_copy = dict(prev)        prev_copy[&#171;diff&#187;] = {&#171;state&#187;: &#171;fixed&#187;, &#171;previousRunId&#187;: prev.get(&#171;lastSeenRunId&#187;)}        out.append(prev_copy)        summary[&#171;fixed&#187;] += 1    return {&#171;bugs&#187;: out, &#171;summary&#187;: summary}\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f:new \u2014 fingerprint \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435persisting \u2014 \u0431\u044b\u043b, \u0432\u0441\u0451 \u0435\u0449\u0451 \u0435\u0441\u0442\u044c; \u0441\u0447\u0451\u0442\u0447\u0438\u043a occurrence \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0442\u0441\u044ffixed \u2014 \u0431\u044b\u043b \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c, \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0438 \u041d\u0415 \u0431\u044b\u043b \u043f\u043e\u043c\u0435\u0447\u0435\u043d fixed \u0440\u0430\u043d\u044c\u0448\u0435regression \u2014 \u0431\u044b\u043b, \u0431\u044b\u043b \u043f\u043e\u043c\u0435\u0447\u0435\u043d fixed, \u043f\u043e\u0442\u043e\u043c \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044fregression \u2014 \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u042d\u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b \u0447\u0442\u043e \u043f\u043e\u0447\u0438\u043d\u043a\u0430 \u0441\u043b\u043e\u043c\u0430\u043b\u0430\u0441\u044c \u0438 \u043d\u0443\u0436\u043d\u043e investigate. \u0412 \u043e\u0442\u0447\u0451\u0442\u0435 webtest-orch \u2014 \ud83d\udea8 Regression \u0432 diff-\u0441\u0435\u043a\u0446\u0438\u0438 report.md.Edge cases \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044cViewport-dependent bugs. touch-target: BUTTON 86\u00d720 \u043d\u0430 390\u00d7844 \u2014 fingerprint \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 viewport size. \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043d\u0430 mobile \u0438 desktop, \u0442\u043e\u0442 \u0436\u0435 \u0431\u0430\u0433 \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 fingerprint\u2019\u0430. \u042d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u2014 \u0431\u0430\u0433 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 mobile, \u043d\u0435 \u043d\u0430 desktop. \u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u043b\u0430\u043f\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u2014 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u043d\u0443 \u043d\u043e\u0440\u043c.\u043f\u0440\u0430\u0432\u0438\u043b\u043e: r&#187;\\d+x\\d+&#187; \u2192 &#171;WxH&#187;. \u042d\u0442\u043e \u0443\u0436\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c \u0432\u0438\u0434\u0435\u0442\u044c \u043e\u0442\u0447\u0451\u0442.Selector \u0441 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c. \u0414\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 welcome-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432\u0440\u043e\u0434\u0435 getByText(&#8216;Welcome, John&#8217;) \u0441\u043e\u0437\u0434\u0430\u044e\u0442 fingerprint per username. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c spec \u043d\u0430 getByRole(&#8216;heading&#8217;, { name: \/Welcome\/ }) \u0435\u0449\u0451 \u043d\u0430 \u0441\u0442\u0430\u0434\u0438\u0438&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-478816","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478816","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=478816"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/478816\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=478816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=478816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=478816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}