Releases: sitespeedio/browsertime
Releases · sitespeedio/browsertime
v21.2.1
v21.2.0
Added
- Edge 121 in the Docker container #2071.
- You can stop a measurement as a failure and make sure no metrics is collected. This is useful if you catch an error in try/catch when trying to measure a page.
measure.stopAsError(errorMessage, optionalURL)
. Add your message and if you know the URL, add it. 2076.
Fixed
- Set correct viewports for the following emulated mobiles for Chrome: iPhone 14 Pro Max #2070.
- Update adbkit to 3.2.6 #2069.
- Selenium 4.17.0 #2068.
- There was a missing await when getting the tcpdump #2075
- Remove all trace level logs (and do debug instead) since trace added unnecessary stacktraces to the log #2074.
v21.1.0
v21.0.0
The new version uses JSDoc to generate documentation for scripting and make it possible to use code completion/Intellisense! Documentation for that is coming soon.
Added
- Upgraded to Geckodriver 0.34.0 #2049.
- Collect CPU consumption for Firefox. Turn that on with
--firefox.powerConsumption true
and includingpower
as a geckoProfilerParams.features #2046. - Added more commands for mouse click on text #2054.
- Updated AndroidCommand so you can run shell on your Android device as root #2055.
- If you mark a test as failure, the exit code from Browsertime will be 1. If the exitCode is set in scripting, we use that and will not change that #2057.
- Generate documentation for scripting using JSDoc #2059.
- Make it easy to use Seleniums action API. Get access to the new command using commands.action.getActions() and chain the action. #2061
Fixed
- Make sure the visual metrics files are inlcuded in the Docker file #2053.
- Removing QVH from the npm package (used for iPhone video recording but not working) #2051
- Removing visual metrics test images from the npm package #2050.
- Removed the Chromedriver fix that was needed when Chrome for testing broke testing on Chrome :D #2045.
- Refactor of commands/context object to prepare for supporting JSDoc and a little TypeScript to add code completion/IntelliSense in editors #2047.
- Updated documentation for scripting with better JSDoc #204.
- The code for getting Interaction to next paint was broken. This PR fixes it, make the code cleaner and gives more attribution #2060.
v20.0.0
Breaking
- Changed
--userTimingWhitelist
to--userTimingAllowList
in #2023. - Reading pageCompleteCheck JavaScript from file now works as intended. It should be a plain JavaScript file named .js #2034 see #912
Fixed
- Group page load parameters as PageLoad to make them easier to find using
--help
#2035. - Fix starting Firefox 121 on Mac #2043.
Added
- Firefox 121 in the Docker container.
v19.3.1
v19.3.0
v19.2.0
v19.1.0
Added
- Firefox 120 in the Docker container.
Fixed
- New Geckodriver installer that on Mac ARM uses ARM version of Geckodriver.
v19.0.0
Breaking
- This only affects you if you run your tests on a rooted Moto G5: With PR#2021 we add the ability to set the CPU speed for the phone at min/middle/max (the same way as possible on Samsung A51). Before the speed always was set to max. Default now is that the CPU speed will be set to min (the same way as the A51).
Fixed
- Largest contentful paint and First contentful paint in Firefox now also fills the "googleWebitals" fields in the results. Thank you Gregory Mierzwinski for PR #2018 and my PR #2020.
- Make sure
--android.pinCPUSpeed
works #2019