browsertime 22.6.0 → 22.8.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,21 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 22.8.0 - 2024-07-30
4
+ ### Added
5
+ * Edgedriver 126 [#2166](https://github.com/sitespeedio/browsertime/pull/2166)
6
+
7
+ ### Fixed
8
+ * Disable search engine choice screen on startup for Chrome 127+ [#2168](https://github.com/sitespeedio/browsertime/pull/2168)
9
+ * Update dev dependencies [#2167](https://github.com/sitespeedio/browsertime/pull/2167)
10
+
11
+ ## 22.7.0 - 2024-07-25
12
+ ### Added
13
+ * Updated to Chrome and Chromedriover 127 [#2164](https://github.com/sitespeedio/browsertime/pull/2164).
14
+
15
+ ### Fixed
16
+ * Updated to Selenium 4.23.0 [#2161](https://github.com/sitespeedio/browsertime/pull/2161).
17
+ * Add extra check if the HAR file page misses an URL [#2160](https://github.com/sitespeedio/browsertime/pull/2160).
18
+
3
19
  ## 22.6.0 - 2024-07-15
4
20
  ### Added
5
21
  * Updated to Firefox 128 and Edge 126 in the Docker container [#2158](https://github.com/sitespeedio/browsertime/pull/2158).
@@ -127,7 +127,7 @@ export class ChromeDevtoolsProtocol {
127
127
  for (let cookieParts of cookies) {
128
128
  const parts = new Array(
129
129
  cookieParts.slice(0, cookieParts.indexOf('=')),
130
- cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
130
+ cookieParts.slice(cookieParts.indexOf('=') + 1)
131
131
  );
132
132
  await this.cdpClient.Network.setCookie({
133
133
  name: parts[0],
@@ -18,6 +18,7 @@ export const chromeAndroidOptions = [
18
18
  '--disable-domain-reliability',
19
19
  '--disable-background-timer-throttling',
20
20
  '--disable-external-intent-requests',
21
+ '--disable-search-engine-choice-screen',
21
22
  '--enable-remote-debugging',
22
23
  '--mute-audio',
23
24
  '--disable-hang-monitor',
@@ -16,6 +16,7 @@ export const chromeDesktopOptions = [
16
16
  '--disable-ipc-flooding-protection',
17
17
  '--disable-prompt-on-repost',
18
18
  '--disable-renderer-backgrounding',
19
+ '--disable-search-engine-choice-screen',
19
20
  '--disable-site-isolation-trials',
20
21
  '--disable-sync',
21
22
  '--metrics-recording-only',
@@ -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
@@ -121,7 +121,7 @@ export class FirefoxBidi {
121
121
  for (let cookieParts of cookies) {
122
122
  const parts = new Array(
123
123
  cookieParts.slice(0, cookieParts.indexOf('=')),
124
- cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
124
+ cookieParts.slice(cookieParts.indexOf('=') + 1)
125
125
  );
126
126
 
127
127
  const params = {
package/package.json CHANGED
@@ -1,15 +1,15 @@
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.8.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 ",
12
- "@sitespeed.io/edgedriver": "125.0.2535-47",
11
+ "@sitespeed.io/chromedriver": "127.0.6533-72",
12
+ "@sitespeed.io/edgedriver": "126.0.2592-102",
13
13
  "@sitespeed.io/geckodriver": "0.34.0",
14
14
  "@sitespeed.io/throttle": "5.0.0",
15
15
  "@sitespeed.io/tracium": "0.3.3",
@@ -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
  },
@@ -41,15 +41,15 @@
41
41
  "@types/selenium-webdriver": "4.1.24",
42
42
  "ava": "6.1.3",
43
43
  "clean-jsdoc-theme": "4.3.0",
44
- "eslint": "9.6.0",
44
+ "eslint": "9.8.0",
45
45
  "eslint-config-prettier": "9.1.0",
46
- "eslint-plugin-prettier": "5.1.3",
47
- "eslint-plugin-unicorn": "54.0.0",
46
+ "eslint-plugin-prettier": "5.2.1",
47
+ "eslint-plugin-unicorn": "55.0.0",
48
48
  "jsdoc": "4.0.3",
49
- "prettier": "3.3.2",
49
+ "prettier": "3.3.3",
50
50
  "serve": "14.2.3",
51
51
  "serve-handler": "6.1.5",
52
- "typescript": "5.5.3"
52
+ "typescript": "5.5.4"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18.0.0"