Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Commit 4e2c8a7

Browse files
committed
chore(release): bump version to 12.1.7
1 parent 64795b7 commit 4e2c8a7

4 files changed

Lines changed: 37 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 12.1.7
2+
3+
Updates to Chromedriver to the LATEST_RELEASE. This should work from here on in when Chrome is updated to a new version.
4+
5+
- [64795b7](https://github.com/angular/webdriver-manager/commit/64795b753b3d00ad2d1f4ac98c531f9e147f3b3e) chore(chrome) get latest chromedriver from LATEST_RELEASE (#418)
6+
7+
- changed the get latest chromedriver to use the URL getting the latest first, then downloading that specific version.
8+
- removed unused imports.
9+
110
# 12.1.6
211

312
Update the max Chrome version to 76.

lib/http_utils.ts

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -97,36 +97,33 @@ export class HttpUtils {
9797
}
9898
return undefined;
9999
}
100-
101100
}
102101

103102
/**
104-
* Request the body from the url.
105-
* @param requestUrl The request url.
106-
* @returns A promise string of the response body.
107-
*/
108-
export function requestBody(
109-
requestUrl: string): Promise<string> {
110-
const options = HttpUtils.initOptions(requestUrl);
111-
options.followRedirect = true;
112-
return new Promise((resolve, reject) => {
113-
const req = request(options);
114-
req.on('response', response => {
115-
if (response.statusCode === 200) {
116-
let output = '';
117-
response.on('data', (data) => {
118-
output += data;
119-
});
120-
response.on('end', () => {
121-
resolve(output);
122-
});
123-
} else {
124-
reject(new Error('response status code is not 200'));
125-
}
126-
});
127-
req.on('error', error => {
128-
reject(error);
129-
});
130-
});
103+
* Request the body from the url.
104+
* @param requestUrl The request url.
105+
* @returns A promise string of the response body.
106+
*/
107+
export function requestBody(requestUrl: string): Promise<string> {
108+
const options = HttpUtils.initOptions(requestUrl);
109+
options.followRedirect = true;
110+
return new Promise((resolve, reject) => {
111+
const req = request(options);
112+
req.on('response', response => {
113+
if (response.statusCode === 200) {
114+
let output = '';
115+
response.on('data', (data) => {
116+
output += data;
117+
});
118+
response.on('end', () => {
119+
resolve(output);
120+
});
121+
} else {
122+
reject(new Error('response status code is not 200'));
123+
}
124+
});
125+
req.on('error', error => {
126+
reject(error);
127+
});
128+
});
131129
}
132-

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webdriver-manager",
3-
"version": "12.1.6",
3+
"version": "12.1.7",
44
"description": "A selenium server and browser driver manager for your end to end tests.",
55
"scripts": {
66
"format": "gulp format",

0 commit comments

Comments
 (0)