Skip to content

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

test: normalize browser executable path variables (#287)

Andrey Lushnikovf56726759bce
diff --git a/test/playwright.spec.js b/test/playwright.spec.js
index c82f07e311..e375f2a742 100644
--- a/test/playwright.spec.js
+++ b/test/playwright.spec.js
@@ -42,9 +42,9 @@ module.exports.addTests = ({testRunner, product, playwrightPath}) => {
const slowMo = parseInt((process.env.SLOW_MO || '0').trim(), 10);
const executablePath = {
- 'Chromium': process.env.CHROME,
- 'Firefox': process.env.FFOX,
- 'WebKit': process.env.WEBKIT_PATH,
+ 'Chromium': process.env.CRPATH,
+ 'Firefox': process.env.FFPATH,
+ 'WebKit': process.env.WKPATH,
}[product];
const defaultBrowserOptions = {
handleSIGINT: false,