browsertime 16.9.1 → 16.11.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,22 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 16.11.0 - 2022-06-28
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
* Firefox 102 and Edge 103 in the Docker container.
|
|
7
|
+
* Use Edgedriver 103 [#1812](https://github.com/sitespeedio/browsertime/pull/1812)
|
|
8
|
+
### Fixed
|
|
9
|
+
* Upgraded to Selenium 4.3.0 [#1813](https://github.com/sitespeedio/browsertime/pull/1813).
|
|
10
|
+
|
|
11
|
+
## 16.10.1 - 2022-06-26
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
* Verify that the CDP port is free before using it [1811](https://github.com/sitespeedio/browsertime/pull/1811).
|
|
15
|
+
|
|
16
|
+
## 16.10.0 - 2022-06-23
|
|
17
|
+
### Added
|
|
18
|
+
* Upgraded the Docker container to use Chrome 103.
|
|
19
|
+
* Upgraded to Chromedriver 103.
|
|
3
20
|
|
|
4
21
|
## 16.9.1 - 2022-06-19
|
|
5
22
|
|
|
@@ -56,7 +56,7 @@ class ChromeDevtoolsProtocol {
|
|
|
56
56
|
port: this.options.devToolsPort
|
|
57
57
|
});
|
|
58
58
|
} else {
|
|
59
|
-
this.cdpClient = await CDP({});
|
|
59
|
+
this.cdpClient = await CDP({ port: this.options.devToolsPort });
|
|
60
60
|
}
|
|
61
61
|
// Enable what's needs to be enabled
|
|
62
62
|
// Page is needed to inject JS to a page
|
|
@@ -129,6 +129,9 @@ module.exports = function (seleniumOptions, browserOptions, options, baseDir) {
|
|
|
129
129
|
} else {
|
|
130
130
|
if (!browserOptions.noDefaultOptions) {
|
|
131
131
|
seleniumOptions.addArguments(defaultChromeOptions);
|
|
132
|
+
seleniumOptions.addArguments(
|
|
133
|
+
'--remote-debugging-port=' + options.devToolsPort
|
|
134
|
+
);
|
|
132
135
|
} else {
|
|
133
136
|
log.info('Skip setting default options for Chrome');
|
|
134
137
|
}
|
package/lib/core/engine/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "Browsertime",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.11.0",
|
|
4
4
|
"bin": "./bin/browsertime.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@cypress/xvfb": "1.2.4",
|
|
7
7
|
"@devicefarmer/adbkit": "2.11.3",
|
|
8
|
-
"@sitespeed.io/chromedriver": "
|
|
9
|
-
"@sitespeed.io/edgedriver": "
|
|
8
|
+
"@sitespeed.io/chromedriver": "103.0.5060-24",
|
|
9
|
+
"@sitespeed.io/edgedriver": "103.0.1264-37",
|
|
10
10
|
"@sitespeed.io/geckodriver": "0.31.0",
|
|
11
11
|
"@sitespeed.io/throttle": "4.0.1",
|
|
12
12
|
"@sitespeed.io/tracium": "0.3.3",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"lodash.merge": "4.6.2",
|
|
27
27
|
"lodash.pick": "4.4.0",
|
|
28
28
|
"lodash.set": "4.3.2",
|
|
29
|
-
"selenium-webdriver": "4.
|
|
29
|
+
"selenium-webdriver": "4.3.0",
|
|
30
30
|
"yargs": "17.4.1"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|