webdriver-installer 1.1.8 → 1.1.9

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/edge.js +1 -11
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.9](https://github.com/shaka-project/webdriver-installer/compare/v1.1.8...v1.1.9) (2023-09-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Revert EdgeDriver 115+ workaround ([#35](https://github.com/shaka-project/webdriver-installer/issues/35)) ([6df9bc2](https://github.com/shaka-project/webdriver-installer/commit/6df9bc2ba996a022361a299d511b99e1ea815b79))
9
+
3
10
  ## [1.1.8](https://github.com/shaka-project/webdriver-installer/compare/v1.1.7...v1.1.8) (2023-08-18)
4
11
 
5
12
 
package/edge.js CHANGED
@@ -78,17 +78,7 @@ class EdgeWebDriverInstaller extends WebDriverInstallerBase {
78
78
  return `${CDN_URL}/LATEST_RELEASE_${majorVersion}_${platform}`;
79
79
  };
80
80
 
81
- let idealMajorVersion = parseInt(browserVersion.split('.')[0], 10);
82
-
83
- // Work around https://github.com/MicrosoftEdge/EdgeWebDriver/issues/102,
84
- // in which Linux versions of msedgedriver launch Chrome instead of Edge
85
- // starting with version 115. For now, driver version 114 is working for
86
- // Edge 115 on Linux.
87
- if (os.platform() == 'linux') {
88
- if (idealMajorVersion > 114) {
89
- idealMajorVersion = 114;
90
- }
91
- }
81
+ const idealMajorVersion = parseInt(browserVersion.split('.')[0], 10);
92
82
 
93
83
  return await InstallerUtils.fetchVersionUrlWithAutomaticDowngrade(
94
84
  idealMajorVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-installer",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Install the right WebDriver version for your local browsers, automatically.",
5
5
  "main": "main.js",
6
6
  "bin": {