browsertime 27.4.1 → 27.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 27.5.0 - 2026-06-07
4
+
5
+ ### Added
6
+ * Bumped `chromedriver` and `edgedriver` to 149 [#2487](https://github.com/sitespeedio/browsertime/pull/2487).
7
+ * Updated the Docker image to Chrome 149 / Firefox 151 / Edge 149 [#2486](https://github.com/sitespeedio/browsertime/pull/2486) [#2488](https://github.com/sitespeedio/browsertime/pull/2488).
8
+
9
+ ### Fixed
10
+ * Navigation-script failures now include the URL being tested and the iteration number in the error message, so failure logs and `markAsFailure` output point at the offending page without cross-referencing the surrounding log lines [#2489](https://github.com/sitespeedio/browsertime/pull/2489).
11
+
3
12
  ## 27.4.1 - 2026-05-25
4
13
 
5
14
  ### Fixed
@@ -278,6 +278,11 @@ export class Iteration {
278
278
  try {
279
279
  await navigationScript(context, commands, this.postURLScripts);
280
280
  } catch (error) {
281
+ const lastUrl = context.result.at(-1) && context.result.at(-1).url;
282
+ const where = lastUrl
283
+ ? ` while testing ${lastUrl} (iteration ${context.index})`
284
+ : ` (iteration ${context.index})`;
285
+ error.message = `${error.message}${where}`;
281
286
  commands.error(error.message);
282
287
  commands.markAsFailure(error.message);
283
288
  throw error;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "27.4.1",
4
+ "version": "27.5.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./scripting.d.ts",
8
8
  "dependencies": {
9
9
  "@devicefarmer/adbkit": "3.3.8",
10
- "@sitespeed.io/chromedriver": "148.0.7778",
11
- "@sitespeed.io/edgedriver": "148.0.3967",
10
+ "@sitespeed.io/chromedriver": "149.0.7827",
11
+ "@sitespeed.io/edgedriver": "149.0.4022",
12
12
  "@sitespeed.io/geckodriver": "0.36.2",
13
13
  "@sitespeed.io/log": "2.0.0",
14
14
  "@sitespeed.io/throttle": "6.0.0",