@eyeo/get-browser-binary 0.21.0 → 0.22.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/.gitlab-ci.yml CHANGED
@@ -60,10 +60,12 @@ test:browsers:windows:
60
60
  # Running Edge tests only on the preinstalled version
61
61
  # https://gitlab.com/eyeo/developer-experience/get-browser-binary/-/issues/29
62
62
  - npm test "--" --grep "edge.*latest"
63
- - npm test "--" --grep "^.*chromium((?!Version:.dev).)*$"
63
+ # Chromium excluded until this is fixed: https://gitlab.com/eyeo/developer-experience/get-browser-binary/-/issues/87
64
+ # - npm test "--" --grep "^.*chromium((?!Version:.dev).)*$"
64
65
  # Running only a subset of Firefox tests to avoid low OS resources error
65
66
  # https://gitlab.com/eyeo/developer-experience/get-browser-binary/-/issues/2
66
- - npm test "--" --grep "firefox.*installs"
67
+ # Firefox excluded until this is fixed: https://gitlab.com/eyeo/developer-experience/get-browser-binary/-/issues/87
68
+ # - npm test "--" --grep "firefox.*installs"
67
69
 
68
70
  test:browsers:windows:dev:
69
71
  extends: .windows
@@ -71,6 +73,20 @@ test:browsers:windows:dev:
71
73
  - npm test "--" --grep "chromium.*Version:.dev"
72
74
  allow_failure: true
73
75
 
76
+ test:browsers:macos:
77
+ stage: test
78
+ tags:
79
+ - saas-macos-medium-m1
80
+ # https://docs.gitlab.com/ci/runners/hosted_runners/macos/#supported-macos-images
81
+ image: macos-15-xcode-16
82
+ cache: {}
83
+ before_script:
84
+ - npm install
85
+ script:
86
+ # Only checking that latest browsers can be installed on macOS
87
+ # Edge excluded until this is fixed: https://gitlab.com/eyeo/developer-experience/get-browser-binary/-/issues/88
88
+ - npm test -- -g "(chromium|firefox).*latest.*installs"
89
+
74
90
  docs:
75
91
  stage: docs
76
92
  needs: []
package/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Unreleased
2
2
 
3
+ # 0.22.0
4
+
5
+ - Adds macOS CI job (!141)
6
+ - Temporarily skips failing Chromium and Firefox on Windows (!142)
7
+ - Disables local network access checks on Chromium v.139 (!143)
8
+
3
9
  # 0.21.0
4
10
 
5
11
  - Fixes an issue on Chromedriver (>=136) which stopped returning webdriver
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eyeo/get-browser-binary",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "description": "Install browser binaries and matching webdrivers",
5
5
  "repository": {
6
6
  "type": "git",
package/src/chromium.js CHANGED
@@ -248,6 +248,8 @@ export class Chromium extends Browser {
248
248
  await checkExtensionPaths(extensionPaths);
249
249
  options.addArguments(`load-extension=${extensionPaths.join(",")}`);
250
250
  }
251
+ if (majorVersion >= 139)
252
+ options.addArguments("--disable-features=LocalNetworkAccessChecks");
251
253
  if (headless) {
252
254
  // https://www.selenium.dev/blog/2023/headless-is-going-away/
253
255
  if (majorVersion >= 109)