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
chore: fix wrong aligned protocol YAML (#10947)
Max Schmitt4fd8a40129fd
diff --git a/packages/playwright-core/src/protocol/channels.ts b/packages/playwright-core/src/protocol/channels.tsindex 357d593943..11eff87d3f 100644--- a/packages/playwright-core/src/protocol/channels.ts+++ b/packages/playwright-core/src/protocol/channels.ts@@ -3927,7 +3927,9 @@ export interface JsonPipeChannel extends JsonPipeEventTarget, Channel {export type JsonPipeMessageEvent = {message: any,};-export type JsonPipeClosedEvent = {};+export type JsonPipeClosedEvent = {+ error?: SerializedError,+};export type JsonPipeSendParams = {message: any,};diff --git a/packages/playwright-core/src/protocol/protocol.yml b/packages/playwright-core/src/protocol/protocol.ymlindex a7deefe6c3..c1625e2885 100644--- a/packages/playwright-core/src/protocol/protocol.yml+++ b/packages/playwright-core/src/protocol/protocol.yml@@ -3049,4 +3049,5 @@ JsonPipe:message: jsonclosed:+ parameters:error: SerializedError?