browsertime 22.6.0 → 22.7.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,13 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 22.7.0 - 2024-07-25
4
+ ### Added
5
+ * Updated to Chrome and Chromedriover 127 [#2164](https://github.com/sitespeedio/browsertime/pull/2164).
6
+
7
+ ### Fixed
8
+ * Updated to Selenium 4.23.0 [#2161](https://github.com/sitespeedio/browsertime/pull/2161).
9
+ * Add extra check if the HAR file page misses an URL [#2160](https://github.com/sitespeedio/browsertime/pull/2160).
10
+
3
11
  ## 22.6.0 - 2024-07-15
4
12
  ### Added
5
13
  * Updated to Firefox 128 and Edge 126 in the Docker container [#2158](https://github.com/sitespeedio/browsertime/pull/2158).
@@ -344,7 +344,13 @@ export class Engine {
344
344
  ) {
345
345
  const fullyLoadedPerUrl = getFullyLoaded(extras.har);
346
346
  for (let data of fullyLoadedPerUrl) {
347
- collector.addFullyLoaded(data.url, data.fullyLoaded);
347
+ if (data.url === undefined) {
348
+ log.error(
349
+ 'There is an page without an URL in the HAR. Please inspect the HAR file and check whats wrong'
350
+ );
351
+ } else {
352
+ collector.addFullyLoaded(data.url, data.fullyLoaded);
353
+ }
348
354
  }
349
355
 
350
356
  // Add the timings from the main document
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": "22.6.0",
4
+ "version": "22.7.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./types/scripting.d.ts",
8
8
  "dependencies": {
9
9
  "@cypress/xvfb": "1.2.4",
10
10
  "@devicefarmer/adbkit": "3.2.6",
11
- "@sitespeed.io/chromedriver": "126.0.6478-55 ",
11
+ "@sitespeed.io/chromedriver": "127.0.6533-72",
12
12
  "@sitespeed.io/edgedriver": "125.0.2535-47",
13
13
  "@sitespeed.io/geckodriver": "0.34.0",
14
14
  "@sitespeed.io/throttle": "5.0.0",
@@ -30,7 +30,7 @@
30
30
  "lodash.merge": "4.6.2",
31
31
  "lodash.pick": "4.4.0",
32
32
  "lodash.set": "4.3.2",
33
- "selenium-webdriver": "4.22.0",
33
+ "selenium-webdriver": "4.23.0",
34
34
  "usb-power-profiling": "^1.2.0",
35
35
  "yargs": "17.7.2"
36
36
  },