browsertime 14.21.0 → 14.21.1

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,7 +1,12 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
- ## 14.21.0 - 2022-02-08
3
+
4
+ ## 14.21.1 - 2022-02-09
4
5
  ### Fixed
6
+ * Always disable the new ChromeWhatsNewUI splash screen in Chrome [#1717](https://github.com/sitespeedio/browsertime/pull/1717).
7
+ * Remove the Firefox persist log configuration that was needed for FF 94+ [#1716](https://github.com/sitespeedio/browsertime/pull/1716).
8
+ ## 14.21.0 - 2022-02-08
9
+ ### Added
5
10
  * Upgraded to Egdedriver 98
6
11
  * Upgraded to Edge 98 and Firefox 97 in the Docker container
7
12
  ## 14.20.3 - 2022-02-07
@@ -108,9 +108,25 @@ module.exports = function (seleniumOptions, browserOptions, options, baseDir) {
108
108
  }
109
109
  }
110
110
 
111
+ // It's a new splash screen introduced in Chrome 98
112
+ // for new profiles
113
+ // disable it with ChromeWhatsNewUI
111
114
  if (browserOptions.args) {
112
- log.debug('Set Chrome args %j', browserOptions.args);
113
- seleniumOptions.addArguments(browserOptions.args);
115
+ const chromeCommandLineArgs = util.toArray(browserOptions.args);
116
+ for (const arg of chromeCommandLineArgs) {
117
+ if (
118
+ arg.indexOf('disable-features') > -1 &&
119
+ arg.indexOf('ChromeWhatsNewUI') === -1
120
+ ) {
121
+ seleniumOptions.addArguments(`${arg},ChromeWhatsNewUI`);
122
+ log.debug('Set Chrome args %j', `${arg},ChromeWhatsNewUI`);
123
+ } else {
124
+ seleniumOptions.addArguments(arg);
125
+ log.debug('Set Chrome args %j', arg);
126
+ }
127
+ }
128
+ } else {
129
+ seleniumOptions.addArguments('--disable-features=ChromeWhatsNewUI');
114
130
  }
115
131
 
116
132
  if (browserOptions.binaryPath) {
@@ -179,8 +179,5 @@ module.exports = {
179
179
 
180
180
  // disable calls to detectportal.firefox.com
181
181
  'network.captive-portal-service.enabled': false,
182
- 'network.connectivity-service.enabled': false,
183
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1740116#c15
184
- // https://github.com/sitespeedio/browsertime/issues/1671
185
- 'devtools.netmonitor.persistlog': true
182
+ 'network.connectivity-service.enabled': false
186
183
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.21.0",
3
+ "version": "14.21.1",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",