mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: normalize browser executable path variables (#287)
This commit is contained in:
parent
0f8333ba89
commit
f56726759b
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user