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: ignore grid version checks (#9969)
Andrey Lushnikov92c9e9a07974
diff --git a/packages/playwright-core/src/grid/gridServer.ts b/packages/playwright-core/src/grid/gridServer.tsindex 018afc1367..7973269d6a 100644--- a/packages/playwright-core/src/grid/gridServer.ts+++ b/packages/playwright-core/src/grid/gridServer.ts@@ -238,7 +238,7 @@ export class GridServer {this._wsServer.on('connection', async (ws, request) => {if (request.url?.startsWith(this._securePath('/claimWorker'))) {const params = new URL('http://localhost/' + request.url).searchParams;- if (params.get('pwVersion') !== this._pwVersion) {+ if (params.get('pwVersion') !== this._pwVersion && !process.env.PWTEST_UNSAFE_GRID_VERSION) {ws.close(WSErrors.CLIENT_PLAYWRIGHT_VERSION_MISMATCH.code, WSErrors.CLIENT_PLAYWRIGHT_VERSION_MISMATCH.reason);return;}