Commit Graph

199 Commits

Author SHA1 Message Date
Peter Hedenskog c6399c89e1
Only set exit code if you haven't set it already. (#4044)
https://github.com/sitespeedio/sitespeed.io/issues/3667
2023-12-29 08:00:34 +01:00
Peter Hedenskog dbbd291e20
Support user journeys for WebPageReplay (#4005)
* Support user journeys for WebPageReplay

* Add missing params
2023-11-09 10:24:29 +01:00
Peter Hedenskog 09c1ebb60c
Enable logging for WebPageReplay recording phase (#3999)
* Add verbose logging to recording

* Add possible to enable Chromedriver log
2023-11-03 09:58:40 +01:00
Peter Hedenskog 61b7bbd764
Make sure catched errors gets to the standard out and after budget/open the browser (#3939) 2023-08-15 17:31:26 +02:00
Peter Hedenskog 45cce6c381
api: Pass on the script name to the API. (#3845) 2023-05-16 15:23:07 +02:00
Peter Hedenskog 97c9a7ff5d
api: Fix so we can handle scripting in the API (#3840)
* handle multi in api

* fix page summary URL
2023-05-10 21:07:59 +02:00
Peter Hedenskog b923d4a2b4
make it easier to use the API (#3839) 2023-05-10 18:42:15 +02:00
Peter Hedenskog 27bd6ddee0
API cleanup and small fixes (#3837) 2023-05-10 06:06:55 +02:00
Peter Hedenskog d5468a4c6f
Another fix for storing the result (#3830) 2023-05-03 16:05:08 +02:00
Peter Hedenskog fcb89f42c3
Moar fixes (#3829) 2023-05-03 15:08:46 +02:00
Peter Hedenskog 0bfbdba69c
Use the API Luke (#3825) 2023-05-03 09:31:54 +02:00
Peter Hedenskog 793dd6869e
Fix broken result.json code (#3816)
* Fix broken result.json code

* lint
2023-04-20 22:31:56 +02:00
Peter Hedenskog 560765ddfd
Add default Firefox setup on Android and WebPageReplay. (#3788) 2023-03-15 19:09:27 +01:00
Peter Hedenskog fc2884fbba
Update all dependencies to latest releases (#3774) 2023-03-03 13:59:14 +01:00
Peter Hedenskog 631271126f
New plugins structure and esmodule (#3769)
* New plugins structure and esmodule
2023-02-25 11:16:58 +01:00
Peter Hedenskog 84a3498d50
Update browsertime 17.0.0 beta (#3747) 2022-10-31 21:58:11 +01:00
Peter Hedenskog 9cd19d4c3c
Use xdg-open for open default browser on Linux (#3597) 2022-03-10 23:13:34 +01:00
Peter Hedenskog 05647d52c0
Always store the error message and better error queue handling (#3522) 2021-12-08 10:40:22 +01:00
Peter Hedenskog 574e3e39dd
Give a param to storeResult to use as filename (#3520) 2021-12-06 17:05:19 +01:00
Peter Hedenskog e452fb532d
Add option --open/-o to open the result in your default browser. (#3493)
https://github.com/sitespeedio/sitespeed.io/issues/3492
2021-10-29 08:42:52 +02:00
Peter Hedenskog fb218096c4
Use Moto G4 as default for --mobile instead of iPhone 6 (#3467) 2021-09-28 09:41:36 +02:00
soulgalore 8d37f3b683 Store result 2021-05-03 19:39:32 +02:00
Peter Hedenskog 525b0018ba
A better catch when failure setting up WPR (#3146) 2020-09-14 13:08:24 +02:00
Peter Hedenskog 00c3e5bd80
Fix so its easier to run Android phones with WebPageReplay (#3134) 2020-08-26 15:16:19 +02:00
Peter Hedenskog fd9f02abf7
Add --android to wpr (#3012)
* follow the same pattern to run WPR and Android as Browsertime

* remove set for now

* no need for edge yet
2020-05-25 09:58:14 +02:00
Peter Hedenskog cc2ebf1059
Ignore certificate errors by default (#2853) 2020-01-25 20:53:49 +01:00
Peter Hedenskog 908b6b8e9d
Use the config file while recording using WebPageReplay (#2826) 2019-12-16 14:51:48 +01:00
Peter Hedenskog 84e6766633
Make sure to propagate settings to WebPageReplay (#2825) 2019-12-16 07:30:14 +01:00
Peter Hedenskog ede15c602e
Using WebPagReplay and --mobile didn't set mobile settings correctly (#2795) 2019-11-20 14:45:09 -05:00
Peter Hedenskog e6373c0a7a
Obey --mobile for WPR (#2654) 2019-09-24 10:41:32 +02:00
soulgalore a1b60b8f1b result is an array in new Browsertime 2018-12-30 16:25:15 +01:00
Peter Hedenskog fda6bb5666
Fix testing multiple pages in a row with WebPageReplay (#2228)
There was bug that made testing multiple pages break when caching
them in the record state.
2018-12-05 08:22:35 -05:00
Peter Hedenskog 7cc5562204
Remove Bluebird promises and use await/sync where we can. (#2205) 2018-11-20 09:14:05 +01:00
soulgalore 2a557526c3 set correct exit code on error #2019 2018-05-07 14:46:41 +02:00
soulgalore 662d085350 cleanup for wpr 2018-04-08 07:22:30 +02:00
Peter Hedenskog 2722d930cf
WebPageReplay cleanup for BT 3.0 (#1971) 2018-04-07 14:43:13 +02:00
Peter Hedenskog 586959f9e3
Add option to supress the exit code when running a budget #1934 (#1936)
* Add option to suppress the exit code when running a budget #1934
2018-03-10 13:55:32 +01:00
Peter Hedenskog 0c550ed106
Add Dockerfile for WebPageReplay fun (#1849) 2017-12-12 10:21:52 +01:00
Tobias Lidskog d1b376e2ca
Split out code that’s never accessed from plugins. (#1762) 2017-10-29 09:54:22 +01:00
Tobias Lidskog ea7b0d2cf7 Fix syntax error (return outside function).
Need to fix this for code to be parsable by prettier.
2017-04-29 09:27:42 +02:00
Jonathan Lee 198a330492 First pass at supporting URL aliases for #1326 (#1374)
* First pass at supporting URL aliases for #1326

* Add to HTML output support for URL aliasing - #1326

* Adding tests and docs for #1326
2016-12-12 00:06:20 -05:00
soulgalore 18ab5e9e86 set process status on the right place 2016-10-25 10:58:22 +02:00
soulgalore b3ed615564 only check if the budget is failing if we configures a budget #1267 2016-10-25 07:02:37 +02:00
soulgalore c20080141a no longjohn in prod 2016-10-23 11:00:52 +02:00
Peter Hedenskog 17b8578b5a Make it easy (or possible) to use sitespeed.io without the cli (#1243) 2016-10-14 21:29:14 +02:00
Peter Hedenskog b013baf3d1 Budget (#1227)
* First step to implement budget
Support min & max values for summaries.
2016-10-06 12:16:30 +02:00
Peter Hedenskog 1da1bd2ad7 Restructure bin functionality to application (#971)
* Restructure bin functionality to application

Lets move functionallity from bin inside the application, making it possible to run without bin.
2016-06-04 20:40:01 +02:00
soulgalore ca7a0bd3a9 renamed app to sitespeed 2016-05-17 12:56:01 +02:00
Tobias Lidskog b51625ad68 Fix cli args merging.
Cleanup solution for:
- args in config files should trigger plugin loading
- alias shortcuts (e.g. -b) should trigger plugin loading
- consistent handling of canonical vs. alias form of cli options
- documentation for verbose flag
2016-05-16 02:55:47 +02:00
Jonathan Lee d808112738 Aliasing crawler depth to '-d' for easy of use. (#925) 2016-05-14 21:07:00 +02:00