browsertime 17.5.0 → 17.6.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,4 +1,11 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
+ ## 17.6.0 - 2022-04-05
3
+ ### Fixed
4
+ * Increased the default wait time from 2 to 5 seconds when a element a clicked and the page complete check runs [#1931](https://github.com/sitespeedio/browsertime/pull/1931)
5
+
6
+ ### Added
7
+ * Upgraded to Chrome/Chromedriver 112 in the Docker container [#1932](https://github.com/sitespeedio/browsertime/pull/1932).
8
+ * If you use `--headless` Chrome will use the new headless switch [#1933](https://github.com/sitespeedio/browsertime/pull/1933).
2
9
 
3
10
  ## 17.5.0 - 2022-04-04
4
11
 
@@ -47,7 +47,7 @@ export function setupChromiumOptions(
47
47
  }
48
48
 
49
49
  if (options.headless) {
50
- seleniumOptions.headless();
50
+ seleniumOptions.addArguments('--headless=new');
51
51
  }
52
52
 
53
53
  // If we run in Docker we need to always use no-sandbox
@@ -131,7 +131,7 @@ export class SeleniumRunner {
131
131
  }
132
132
 
133
133
  async extraWait(pageCompleteCheck) {
134
- await delay(2000);
134
+ await delay(this.options.beforePageCompleteWaitTime || 5000);
135
135
  return this.wait(pageCompleteCheck);
136
136
  }
137
137
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "17.5.0",
4
+ "version": "17.6.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@cypress/xvfb": "1.2.4",
9
9
  "@devicefarmer/adbkit": "2.11.3",
10
- "@sitespeed.io/chromedriver": "111.0.5563-64",
10
+ "@sitespeed.io/chromedriver": "112.0.5615-28",
11
11
  "@sitespeed.io/edgedriver": "111.0.1661-41",
12
12
  "@sitespeed.io/geckodriver": "0.33.0",
13
13
  "@sitespeed.io/throttle": "5.0.0",