Skip to content

Commit 3994723

Browse files
committed
chore: add log
1 parent 1dfea46 commit 3994723

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/e2e/scripts/utils.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@ async function createBrowser(browserKey, pathToExtension) {
5353
);
5454

5555
const rppPort = await getPort();
56+
const executablePath = config.firefoxPath ? config.firefoxPath : undefined;
57+
console.log(
58+
`📱 launch ${browserKey} from ${executablePath || 'default path'}`,
59+
);
5660
const browser = await puppeteer.launch({
5761
// headless: false,
5862
browser: 'firefox',
59-
executablePath: config.firefoxPath ? config.firefoxPath : undefined,
63+
executablePath,
6064
args: [`--start-debugger-server=${rppPort}`],
6165
extraPrefsFirefox: {
6266
'devtools.chrome.enabled': true,
@@ -83,6 +87,9 @@ async function createBrowser(browserKey, pathToExtension) {
8387
executablePath = config.chromePath;
8488
}
8589

90+
console.log(
91+
`📱 launch ${browserKey} from ${executablePath || 'default path'}`,
92+
);
8693
return puppeteer.launch({
8794
executablePath,
8895
// headless: false,

0 commit comments

Comments
 (0)