Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix: beautiful toHaveScreenshot in tracing (#12422)
Andrey Lushnikova0cf33bbb02d
diff --git a/packages/playwright-core/src/protocol/channels.ts b/packages/playwright-core/src/protocol/channels.tsindex 8eef17b58e..09def4da7e 100644--- a/packages/playwright-core/src/protocol/channels.ts+++ b/packages/playwright-core/src/protocol/channels.ts@@ -4089,6 +4089,7 @@ export const commandsWithTracingSnapshots = new Set(['Page.goBack','Page.goForward','Page.reload',+ 'Page.expectScreenshot','Page.screenshot','Page.setViewportSize','Page.keyboardDown',diff --git a/packages/playwright-core/src/protocol/protocol.yml b/packages/playwright-core/src/protocol/protocol.ymlindex 8e350bc7a5..3ccf0c99f6 100644--- a/packages/playwright-core/src/protocol/protocol.yml+++ b/packages/playwright-core/src/protocol/protocol.yml@@ -1028,6 +1028,8 @@ Page:log:type: array?items: string+ tracing:+ snapshot: truescreenshot:parameters: