browsertime 24.3.0 → 24.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,6 +1,26 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
- ## 24.2.0 - 2025-02-05
3
+ ## 24.5.0 - 2025-03-13
4
+ ### Added
5
+ * Updated to Geckodriver 0.36.0 [#2270](https://github.com/sitespeedio/browsertime/pull/2270).
6
+
7
+ ### Fixed
8
+ * Fix running tests on Safari on iOS that has been broken by some refactoring [#2271](https://github.com/sitespeedio/browsertime/pull/2271).
9
+
10
+
11
+ ## 24.4.0 - 2025-03-11
12
+ ### Added
13
+ * Edgedriver 134 [#2269](https://github.com/sitespeedio/browsertime/pull/2269).
14
+ * Chromedriver 134, updated chrome-remote-interfaces and webdriver [#2266](https://github.com/sitespeedio/browsertime/pull/2266)
15
+
16
+ ### Fixed
17
+ * Fix how to get server timings (from main request) as reported on Slack [#2268](https://github.com/sitespeedio/browsertime/pull/2268).
18
+
19
+ ## 24.3.0 - 2025-03-03
20
+ ### Added
21
+ * Add support for manually setting the log level using `--logLevel` [#2264](https://github.com/sitespeedio/browsertime/pull/2264).2264
22
+
23
+ ## 24.2.0 - 2025-02-05
4
24
  ### Added
5
25
  * Updated Chromedriver and Chromne to 133 and Firefox to 135 [#2261](https://github.com/sitespeedio/browsertime/pull/2261) and [#2262](https://github.com/sitespeedio/browsertime/pull/2262).
6
26
 
@@ -1,16 +1,12 @@
1
1
  (function () {
2
- // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceServerTiming
3
- const entries = window.performance.getEntriesByType('resource');
4
- if (entries.length > 0 && entries[0].serverTiming) {
5
- const timings = entries[0].serverTiming;
6
- const serverTimings = [];
7
- for (let timing of timings) {
8
- serverTimings.push({
9
- name: timing.name,
10
- duration: timing.duration,
11
- description: timing.description
12
- });
13
- }
14
- return serverTimings;
15
- } else return undefined;
2
+ let t = window.performance.getEntriesByType('navigation')[0];
3
+ const serverTimings = [];
4
+ for (let timing of t.serverTiming) {
5
+ serverTimings.push({
6
+ name: timing.name,
7
+ duration: timing.duration,
8
+ description: timing.description
9
+ });
10
+ }
11
+ return serverTimings;
16
12
  })();
@@ -283,7 +283,6 @@ export class Engine {
283
283
  );
284
284
 
285
285
  await storageManager.createDataDir();
286
- await engineDelegate.beforeBrowserStart(name, options);
287
286
  const collector = new Collector(name, storageManager, options);
288
287
 
289
288
  if (isAndroidConfigured(options)) {
@@ -93,9 +93,7 @@ export class Safari {
93
93
  }
94
94
 
95
95
  if (this.safariOptions.ios) {
96
- await this.driverProcess.kill('SIGINT', {
97
- forceKillAfterTimeout: 5000
98
- });
96
+ await this.driverProcess.kill('SIGINT');
99
97
  }
100
98
  }
101
99
 
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "24.3.0",
4
+ "version": "24.5.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./types/scripting.d.ts",
8
8
  "dependencies": {
9
9
  "@devicefarmer/adbkit": "3.3.8",
10
- "@sitespeed.io/chromedriver": "133.0.6943-53",
11
- "@sitespeed.io/edgedriver": "132.0.2957-115",
12
- "@sitespeed.io/geckodriver": "0.35.0-1",
10
+ "@sitespeed.io/chromedriver": "134.0.6998-35",
11
+ "@sitespeed.io/edgedriver": "134.0.3124-51",
12
+ "@sitespeed.io/geckodriver": "0.36.0",
13
13
  "@sitespeed.io/log": "0.2.6",
14
14
  "@sitespeed.io/throttle": "5.0.1",
15
15
  "@sitespeed.io/tracium": "0.3.3",
16
16
  "chrome-har": "1.0.1",
17
- "chrome-remote-interface": "0.33.2",
17
+ "chrome-remote-interface": "0.33.3",
18
18
  "execa": "9.5.2",
19
19
  "fast-stats": "0.0.7",
20
20
  "ff-test-bidi-har-export": "0.0.17",
21
21
  "lodash.merge": "4.6.2",
22
- "selenium-webdriver": "4.28.1",
22
+ "selenium-webdriver": "4.29.0",
23
23
  "yargs": "17.7.2"
24
24
  },
25
25
  "optionalDependencies": {