diff --git a/package.json b/package.json index 7ce95718..e7916e1d 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,10 @@ "lint:check": "eslint **/*.{js,mjs,jsx,ts,tsx}", "pretty:check": "prettier --check ./", "format:check": "npm run pretty:check && npm run lint:check", - "test:chrome": "node tests/run.mjs --browser chrome", - "test:firefox": "node tests/run.mjs --browser firefox", - "test:safari": "node tests/run.mjs --browser safari", - "test:edge": "node tests/run.mjs --browser edge", + "test:chrome": "node tests/run-browser.mjs --browser chrome", + "test:firefox": "node tests/run-browser.mjs --browser firefox", + "test:safari": "node tests/run-browser.mjs --browser safari", + "test:edge": "node tests/run-browser.mjs --browser edge", "test:shell": "npm run test:v8 && npm run test:jsc && npm run test:spidermonkey", "test:v8": "node tests/run-shell.mjs --shell v8", "test:jsc": "node tests/run-shell.mjs --shell jsc", diff --git a/tests/run.mjs b/tests/run-browser.mjs similarity index 96% rename from tests/run.mjs rename to tests/run-browser.mjs index 0b9f5959..f1e7eb6a 100644 --- a/tests/run.mjs +++ b/tests/run-browser.mjs @@ -77,6 +77,8 @@ async function runEnd2EndTest(name, params) { async function testEnd2End(params) { const driver = await new Builder().withCapabilities(capabilities).build(); + const driverCapabilities = await driver.getCapabilities(); + logInfo(`Browser: ${driverCapabilities.getBrowserName()} ${driverCapabilities.getBrowserVersion()}`); const urlParams = Object.assign({ worstCaseCount: 2, iterationCount: 3