browsertime 16.7.0 → 16.9.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,8 +1,27 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 16.9.0 - 2022-06-15
4
+ ### Added
5
+ * New `wait.byCondition` command. Thank you [Icecold777](https://github.com/Icecold777) for PR [#1803](https://github.com/sitespeedio/browsertime/pull/1803).
6
+ * Collect number of CPU longtasks before largest contentful paint [#1806](https://github.com/sitespeedio/browsertime/pull/1806).
7
+
8
+ ### Fixed
9
+ * Instead of throwing errors and exit the tests if the page hasn't finished loading after 5 minutes, we now gracefully ends the test after 2 minutes (you can change that time with `--maxLoadTime`). That makes more sense than just throwing errors [#1810](https://github.com/sitespeedio/browsertime/pull/1810).
10
+ ## 16.8.1 - 2022-06-09
11
+ ### Fixed
12
+ * Fix for getting the MOZ log, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1802](https://github.com/sitespeedio/browsertime/pull/1802).
13
+ * [Removed unused functionality of the Visual metrics portable script](https://github.com/sitespeedio/browsertime/pull/1751).
14
+ ## 16.8.0 - 2022-06-06
15
+ ### Added
16
+ * Add `--debug` mode. Debug mode will run your tests and open devtools in Chrome/Edge/Firefox on desktop and will stop after each iteration so you can inspect the page. You can add your own breakpoint in your script with the `breakpoint(name)` command. To continue after your breakpoint, add the following code in the developer console in your browser: `window.browsertime.pause=false;` [#1798](https://github.com/sitespeedio/browsertime/pull/1798).
17
+ * Use Selenium WebDriver 4.2.0 [#1801](https://github.com/sitespeedio/browsertime/pull/1801).
18
+ * Updated to Firefox 101, Edge 102, Chrome 102 in the Docker container.
19
+
20
+ ### Tech
21
+ * Added tests using NodeJS 18 [#1772](https://github.com/sitespeedio/browsertime/pull/1772).
3
22
  ## 16.7.0 - 2022-05-20
4
23
  ### Added
5
- * Inlcude last CPU long task in the HAR file so we can show when it happens [#1793](https://github.com/sitespeedio/browsertime/pull/1793).
24
+ * Include last CPU long task in the HAR file so we can show when it happens [#1793](https://github.com/sitespeedio/browsertime/pull/1793).
6
25
  * Inlclude TTFB and INP in the Google Web Vital namespace [#1792](https://github.com/sitespeedio/browsertime/pull/1792).
7
26
  ## 16.6.0 - 2022-05-20
8
27
  ### Added
@@ -43,6 +43,9 @@ async function preWarmServer(urls, options) {
43
43
  }
44
44
 
45
45
  async function run(urls, options) {
46
+ if (options.debug) {
47
+ log.info('Running Browsertime in debug mode.');
48
+ }
46
49
  try {
47
50
  if (!options.resultDir) {
48
51
  let dir = 'browsertime-results';