browsertime 16.9.0 → 16.9.1
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 +5 -0
- package/lib/connectivity/index.js +2 -1
- package/lib/core/seleniumRunner.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
## 16.9.1 - 2022-06-19
|
|
5
|
+
|
|
6
|
+
### Fixed
|
|
7
|
+
* Upgraded to Throttle 4 that internally uses `ip route` instead of `route` (one less dependency) [#1767](https://github.com/sitespeedio/browsertime/pull/1767).
|
|
3
8
|
## 16.9.0 - 2022-06-15
|
|
4
9
|
### Added
|
|
5
10
|
* New `wait.byCondition` command. Thank you [Icecold777](https://github.com/Icecold777) for PR [#1803](https://github.com/sitespeedio/browsertime/pull/1803).
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const trafficShapeParser = require('./trafficShapeParser');
|
|
4
4
|
const get = require('lodash.get');
|
|
5
|
-
const throttle = require('@sitespeed.io/throttle');
|
|
6
5
|
const log = require('intel').getLogger('browsertime.connectivity');
|
|
7
6
|
const Humble = require('./humble');
|
|
8
7
|
|
|
@@ -56,6 +55,7 @@ module.exports = {
|
|
|
56
55
|
profile.rtt
|
|
57
56
|
);
|
|
58
57
|
}
|
|
58
|
+
const throttle = await import('@sitespeed.io/throttle');
|
|
59
59
|
if (setOnLocalHost) {
|
|
60
60
|
return throttle.start({
|
|
61
61
|
localhost: true,
|
|
@@ -91,6 +91,7 @@ module.exports = {
|
|
|
91
91
|
}
|
|
92
92
|
case 'throttle': {
|
|
93
93
|
const setOnLocalHost = get(connectivity, 'throttle.localhost', false);
|
|
94
|
+
const throttle = await import('@sitespeed.io/throttle');
|
|
94
95
|
return throttle.stop({ localhost: setOnLocalHost });
|
|
95
96
|
}
|
|
96
97
|
case 'humble': {
|
|
@@ -188,7 +188,7 @@ class SeleniumRunner {
|
|
|
188
188
|
} catch (e) {
|
|
189
189
|
if (e instanceof TimeoutError) {
|
|
190
190
|
log.info(
|
|
191
|
-
`The page did not
|
|
191
|
+
`The page did not finished loading in ${pageCompleteCheckTimeout} ms. You can adjust the timeout by setting the --maxLoadTime option (in ms).`
|
|
192
192
|
);
|
|
193
193
|
} else {
|
|
194
194
|
log.error(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "Browsertime",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.1",
|
|
4
4
|
"bin": "./bin/browsertime.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@cypress/xvfb": "1.2.4",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@sitespeed.io/chromedriver": "102.0.5005-27",
|
|
9
9
|
"@sitespeed.io/edgedriver": "101.0.1210-32",
|
|
10
10
|
"@sitespeed.io/geckodriver": "0.31.0",
|
|
11
|
-
"@sitespeed.io/throttle": "
|
|
11
|
+
"@sitespeed.io/throttle": "4.0.1",
|
|
12
12
|
"@sitespeed.io/tracium": "0.3.3",
|
|
13
13
|
"btoa": "1.2.1",
|
|
14
14
|
"chrome-har": "0.13.0",
|