browsertime 17.12.1 → 17.13.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,16 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+
4
+ ## 17.13.0 - 2022-07-21
5
+ ### Fixed
6
+ * Fix for Chromedriver 115 so that it works on Mac again [#1971](https://github.com/sitespeedio/browsertime/pull/1971).
7
+
8
+ ### Added
9
+ * Edgedriver 114 [#1969](https://github.com/sitespeedio/browsertime/pull/1969)
10
+
11
+ ### Tech
12
+ * Run tests on Chrome/Firefox/Edge on Mac OS on our GitHub Actions to catch the next time Chromedriver is broken on Mac [#1970](https://github.com/sitespeedio/browsertime/pull/1970)
13
+
3
14
  ## 17.12.1 - 2022-07-19
4
15
  ### Fixed
5
16
  * Hmm, Chromedriver 115 doesn't seems to work on Mac so reverted to 114.
@@ -1,4 +1,5 @@
1
1
  import { readFileSync } from 'node:fs';
2
+ import { platform } from 'node:os';
2
3
  import intel from 'intel';
3
4
  import { chromeDesktopOptions as defaultChromeOptions } from '../settings/chromeDesktopOptions.js';
4
5
  import { chromeAndroidOptions as defaultAndroidChromeOptions } from '../settings/chromeAndroidOptions.js';
@@ -188,6 +189,14 @@ export function setupChromiumOptions(
188
189
 
189
190
  if (browserOptions.binaryPath) {
190
191
  seleniumOptions.setChromeBinaryPath(browserOptions.binaryPath);
192
+ } else {
193
+ // Fix for https://github.com/sitespeedio/browsertime/issues/1968
194
+ // Same settings for Chrome/Edge
195
+ if (options.browser === 'chrome' && platform() === 'darwin') {
196
+ seleniumOptions.setChromeBinaryPath(
197
+ '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
198
+ );
199
+ }
191
200
  }
192
201
 
193
202
  if (browserOptions.mobileEmulation) {
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": "17.12.1",
4
+ "version": "17.13.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@cypress/xvfb": "1.2.4",
9
9
  "@devicefarmer/adbkit": "2.11.3",
10
- "@sitespeed.io/chromedriver": "114.0.5735-90",
11
- "@sitespeed.io/edgedriver": "113.0.1774-9b",
10
+ "@sitespeed.io/chromedriver": "115.0.5790-98b",
11
+ "@sitespeed.io/edgedriver": "114.0.1823-82",
12
12
  "@sitespeed.io/geckodriver": "0.33.0",
13
13
  "@sitespeed.io/throttle": "5.0.0",
14
14
  "@sitespeed.io/tracium": "0.3.3",