Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore(chrome): add canary channel on linux (#36801)

Yury Semikhatsky2a445bb005b4
diff --git a/packages/playwright-core/src/server/registry/index.ts b/packages/playwright-core/src/server/registry/index.ts
index 433a6f35f6..fde6b2f101 100644
--- a/packages/playwright-core/src/server/registry/index.ts
+++ b/packages/playwright-core/src/server/registry/index.ts
@@ -650,7 +650,7 @@ export class Registry {
}));
this._executables.push(this._createChromiumChannel('chrome-canary', {
- 'linux': '',
+ 'linux': '/opt/google/chrome-canary/chrome',
'darwin': '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
'win32': `\\Google\\Chrome SxS\\Application\\chrome.exe`,
}));
@@ -713,7 +713,7 @@ export class Registry {
'win32': `\\Google\\Chrome\\Application\\chrome.exe`,
}));
this._executables.push(this._createBidiChromiumChannel('bidi-chrome-canary', {
- 'linux': '',
+ 'linux': '/opt/google/chrome-canary/chrome',
'darwin': '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary',
'win32': `\\Google\\Chrome SxS\\Application\\chrome.exe`,
}));