{"_id":"@flood/element-cli","_rev":"412-230a863945862377d6aa2dd2d89abfd5","time":{"1.0.3-0":"2018-09-18T16:13:01.043Z","1.0.3-1":"2018-09-18T16:13:01.043Z","1.0.3-10":"2018-09-18T16:13:01.043Z","1.0.3-13":"2018-09-18T16:13:01.043Z","1.0.3-14":"2018-09-18T16:13:01.043Z","1.0.3-15":"2018-09-18T16:13:01.043Z","1.0.3-16":"2018-09-18T16:13:01.043Z","1.0.3-17":"2018-09-18T16:13:01.043Z","1.0.3-18":"2018-09-18T16:13:01.043Z","1.0.3-19":"2018-09-18T16:13:01.043Z","1.0.3-2":"2018-09-18T16:13:01.043Z","1.0.3-20":"2018-09-18T16:13:01.043Z","1.0.3-21":"2018-09-18T16:13:01.043Z","1.0.3-22":"2018-09-18T16:13:01.043Z","1.0.3-23":"2018-09-18T16:13:01.043Z","1.0.3-24":"2018-09-18T16:13:01.043Z","1.0.3-25":"2018-09-18T16:13:01.043Z","1.0.3-26":"2018-09-18T16:13:01.043Z","1.0.3-27":"2018-09-18T16:13:01.043Z","1.0.3-28":"2018-09-18T16:13:01.043Z","1.0.3-29":"2018-09-18T16:13:01.043Z","1.0.3-3":"2018-09-18T16:13:01.043Z","1.0.3-30":"2018-09-18T16:13:01.043Z","1.0.3-31":"2018-09-18T16:13:01.043Z","1.0.3-32":"2018-09-18T16:13:01.043Z","1.0.3-33":"2018-09-18T16:13:01.043Z","1.0.3-34":"2018-09-18T16:13:01.043Z","1.0.3-35":"2018-09-18T16:13:01.043Z","1.0.3-36":"2018-09-18T16:13:01.043Z","1.0.3-37":"2018-09-18T16:13:01.043Z","1.0.3-38":"2018-09-18T16:13:01.043Z","1.0.3-39":"2018-09-18T16:13:01.043Z","1.0.3-40":"2018-09-18T16:13:01.043Z","1.0.3-41":"2018-09-18T16:13:01.043Z","1.0.3-42":"2018-09-18T16:13:01.043Z","1.0.3-43":"2018-09-18T16:13:01.043Z","1.0.3-46":"2018-09-18T16:13:01.043Z","1.0.3-47":"2018-09-18T16:13:01.043Z","1.0.3-48":"2018-09-18T16:13:01.043Z","1.0.3-49":"2018-09-18T16:13:01.043Z","1.0.3-5":"2018-09-18T16:13:01.043Z","1.0.3-50":"2018-09-18T16:13:01.043Z","1.0.3-52":"2018-09-18T16:13:01.043Z","1.0.3-54":"2018-09-18T16:13:01.043Z","1.0.3-55":"2018-09-18T16:13:01.043Z","1.0.3-56":"2018-09-18T16:13:01.043Z","1.0.3-57":"2018-09-18T16:13:01.043Z","1.0.3-58":"2018-09-18T16:13:01.043Z","1.0.3-59":"2018-09-18T16:13:01.043Z","1.0.3-6":"2018-09-18T16:13:01.043Z","1.0.3-60":"2018-09-18T16:13:01.043Z","1.0.3-62":"2018-09-18T16:13:01.043Z","1.0.3-63":"2018-09-18T16:13:01.043Z","1.0.3-7":"2018-09-18T16:13:01.043Z","1.0.3-8":"2018-09-18T16:13:01.043Z","1.0.3-9":"2018-09-18T16:13:01.043Z","created":"2018-09-19T05:15:13.817Z","0.0.2-beta.0":"2018-09-19T05:15:14.101Z","modified":"2022-04-05T11:18:04.009Z","0.0.2-beta.1":"2018-09-19T23:43:58.887Z","0.0.2-beta.2":"2018-09-20T00:00:28.046Z","0.0.2-beta.3":"2018-09-20T00:08:14.757Z","0.0.2-beta.4":"2018-09-20T00:23:12.285Z","0.0.2-beta.5":"2018-09-20T00:30:32.639Z","0.0.2-beta.6":"2018-09-20T01:17:26.458Z","0.0.2-beta.7":"2018-09-20T02:48:55.152Z","0.0.2-beta.8":"2018-09-20T04:31:26.607Z","0.0.2-beta.9":"2018-09-20T05:51:44.158Z","0.0.2-beta.10":"2018-09-20T07:51:06.920Z","0.0.2-beta.11":"2018-09-20T23:03:33.106Z","0.0.2-beta.12":"2018-09-21T00:39:51.658Z","0.0.2-beta.13":"2018-09-24T01:49:06.902Z","0.0.2-beta.14":"2018-09-24T07:52:32.111Z","0.0.2-beta.15":"2018-09-24T21:49:42.503Z","0.0.2-beta.16":"2018-09-24T22:09:29.721Z","0.0.2-beta.18":"2018-09-27T01:35:05.353Z","0.0.2-beta.19":"2018-09-27T02:12:28.405Z","0.0.2-beta.20":"2018-09-27T23:58:47.191Z","0.0.2-beta.21":"2018-09-28T03:28:26.131Z","0.0.2":"2018-09-28T03:53:34.042Z","0.0.2-beta.22":"2018-09-28T04:01:56.582Z","0.0.3-beta.0":"2018-09-28T04:12:45.591Z","0.0.3-beta.1":"2018-09-28T04:32:26.517Z","0.0.3-beta.2":"2018-09-28T06:21:06.366Z","0.0.3-beta.3":"2018-09-28T06:58:07.797Z","0.0.3":"2018-09-28T07:08:32.520Z","0.0.4-beta.0":"2018-09-28T07:19:21.581Z","0.0.4-beta.1":"2018-09-28T21:53:24.333Z","0.0.4-beta.2":"2018-09-28T22:12:19.937Z","0.0.4-beta.3":"2018-10-02T04:11:31.213Z","0.0.4":"2018-10-02T04:26:11.102Z","0.0.5-beta.0":"2018-10-02T05:10:18.961Z","0.0.5-beta.1":"2018-10-03T02:29:21.770Z","1.0.0":"2018-10-03T06:00:22.725Z","1.0.1":"2018-10-19T12:21:49.191Z","1.0.2-beta.0":"2018-10-29T07:32:32.410Z","1.0.2-beta.1":"2018-11-02T00:55:51.780Z","1.0.2-beta.2":"2018-11-02T01:46:20.042Z","1.0.2-beta.3":"2018-11-02T09:25:00.534Z","1.0.2-beta.4":"2018-11-03T10:03:42.137Z","1.0.2":"2018-11-06T12:41:32.770Z","1.0.2-beta.5":"2018-11-09T11:07:46.262Z","1.0.3-beta.0":"2018-11-19T05:27:21.466Z","1.0.3-beta.1":"2018-11-19T05:38:50.276Z","1.0.3-beta.2":"2018-11-19T21:03:50.812Z","1.0.3":"2018-11-20T01:08:24.033Z","1.0.4-beta.0":"2018-11-20T01:19:42.282Z","1.0.4-beta.1":"2018-11-21T00:07:19.741Z","1.0.4":"2018-11-23T03:30:15.427Z","1.0.5-beta.0":"2018-11-23T03:53:02.705Z","1.0.5-beta.1":"2019-01-14T07:14:22.060Z","1.0.5-beta.2":"2019-01-29T10:40:24.100Z","1.0.5-beta.3":"2019-01-30T03:17:27.558Z","1.0.5-beta.4":"2019-05-07T00:56:35.837Z","1.0.5-beta.5":"2019-06-07T12:30:37.345Z","1.0.5-beta.6":"2019-06-16T23:44:42.993Z","1.0.5-beta.7":"2019-06-17T06:22:50.773Z","1.0.5-beta.8":"2019-06-18T01:52:31.236Z","1.0.5-beta.9":"2019-06-18T03:26:23.853Z","1.0.5-beta.10":"2019-06-18T03:49:58.214Z","1.0.5":"2019-06-21T03:41:15.336Z","1.0.6-beta.0":"2019-06-21T07:19:40.755Z","1.0.6-beta.1":"2019-06-21T14:45:21.835Z","1.0.6-beta.2":"2019-06-21T14:56:25.856Z","1.0.6-beta.3":"2019-06-21T17:02:12.198Z","1.0.6-beta.4":"2019-06-21T17:18:01.622Z","1.0.6-beta.5":"2019-06-21T17:26:14.979Z","1.0.6-beta.6":"2019-06-21T17:40:51.602Z","1.0.6-beta.7":"2019-06-21T18:39:21.624Z","1.0.6-beta.8":"2019-07-05T06:50:51.227Z","1.0.6-beta.9":"2019-07-05T06:57:25.691Z","1.0.6-beta.10":"2019-07-08T05:33:40.912Z","1.0.6-beta.11":"2019-07-08T09:03:54.856Z","1.0.6-beta.12":"2019-07-22T02:33:11.981Z","1.0.6-beta.13":"2019-07-29T05:05:27.014Z","1.0.6-beta.14":"2019-07-30T05:36:46.211Z","1.0.6-beta.15":"2019-07-30T06:55:35.163Z","1.0.6":"2019-08-02T03:23:16.167Z","1.0.7":"2019-08-02T04:18:03.472Z","1.0.6-beta.16":"2019-08-07T01:37:34.165Z","1.0.6-beta.17":"2019-08-07T06:40:54.847Z","1.0.6-beta.18":"2019-08-14T23:39:53.920Z","1.0.8":"2019-08-16T19:12:47.508Z","1.0.6-beta.19":"2019-09-02T05:28:53.109Z","1.0.6-beta.20":"2019-09-03T02:12:43.487Z","1.0.6-beta.21":"2019-09-03T02:56:45.326Z","1.0.6-beta.22":"2019-09-03T03:23:40.240Z","1.0.9-beta.0":"2019-09-03T08:58:39.527Z","1.0.9-beta.3":"2019-09-03T09:18:37.150Z","1.0.9-beta.4":"2019-09-03T09:22:16.365Z","1.0.9-beta.5":"2019-09-03T09:23:53.143Z","1.0.10-beta.0":"2019-09-03T10:37:39.504Z","1.0.10-beta.1":"2019-09-03T10:40:01.364Z","1.0.10-beta.2":"2019-09-03T11:25:27.392Z","1.0.10-beta.3":"2019-09-04T06:54:09.840Z","1.0.10-beta.4":"2019-09-04T09:36:41.458Z","1.0.10-beta.5":"2019-09-04T10:40:48.768Z","1.0.10-beta.6":"2019-09-04T10:48:19.917Z","1.0.8-stable.1":"2019-09-04T10:53:11.203Z","1.0.10-beta.7":"2019-09-04T11:02:19.575Z","1.0.10-beta.8":"2019-09-04T11:18:00.757Z","1.0.10-beta.9":"2019-09-10T04:19:37.486Z","1.0.10-beta.10":"2019-09-10T04:31:08.196Z","1.0.10-beta.11":"2019-09-10T04:44:26.923Z","1.0.10-beta.12":"2019-09-10T04:56:50.023Z","1.0.10-beta.13":"2019-09-10T05:07:44.203Z","1.0.10-beta.14":"2019-09-10T05:13:03.311Z","1.0.10-beta.15":"2019-09-11T02:07:16.410Z","1.0.10-beta.16":"2019-09-11T08:42:44.527Z","1.0.10-beta.17":"2019-09-11T09:06:32.218Z","1.0.10-beta.18":"2019-09-11T10:00:32.925Z","1.0.10-beta.19":"2019-09-12T05:56:29.305Z","1.0.10-beta.20":"2019-09-12T08:01:04.775Z","1.0.10-beta.21":"2019-09-18T09:41:58.069Z","1.0.10-beta.22":"2020-01-03T04:27:37.479Z","1.0.10-beta.29":"2020-01-03T06:53:40.198Z","1.0.10-beta.30":"2020-01-04T10:39:02.897Z","1.0.10-alpha.71":"2020-01-10T08:48:22.729Z","1.0.10-alpha.72":"2020-01-11T01:14:42.073Z","1.0.10-alpha.74":"2020-01-11T01:45:52.856Z","1.0.10-alpha.76":"2020-01-11T02:55:30.961Z","1.0.10-alpha.77":"2020-01-11T03:20:08.564Z","1.0.10-beta.31":"2020-01-11T03:40:31.239Z","1.0.10-beta.32":"2020-01-11T04:02:18.853Z","1.0.10-beta.33":"2020-01-11T04:22:19.094Z","1.0.10-beta.34":"2020-01-11T06:06:13.540Z","1.0.10-beta.35":"2020-01-11T06:12:23.383Z","1.0.10-beta.36":"2020-01-11T06:35:34.627Z","1.0.10-beta.37":"2020-01-11T06:55:13.028Z","1.0.10-beta.38":"2020-01-11T06:57:27.218Z","1.0.10-beta.39":"2020-01-11T08:13:37.091Z","1.0.10-beta.40":"2020-01-15T01:54:39.331Z","1.0.10-beta.41":"2020-01-15T02:09:37.756Z","1.0.10-beta.42":"2020-01-15T09:41:26.604Z","1.0.10-beta.43":"2020-01-30T23:29:18.204Z","1.0.10-beta.44":"2020-02-04T23:03:07.588Z","1.0.10-beta.45":"2020-02-04T23:06:20.543Z","1.0.10-alpha.3":"2020-03-02T04:01:54.050Z","1.0.10-alpha.4":"2020-03-02T04:08:14.128Z","1.0.10-beta.46":"2020-03-02T04:12:44.913Z","1.0.10-alpha.1":"2020-03-02T04:30:40.023Z","1.0.10-alpha.2":"2020-03-02T05:08:37.821Z","1.0.10-beta.47":"2020-03-02T05:15:48.777Z","1.0.10-alpha.6":"2020-03-02T05:45:37.832Z","1.0.10-alpha.7":"2020-03-02T05:46:20.276Z","1.0.10-beta.48":"2020-03-02T05:49:38.316Z","1.0.10-alpha.9":"2020-03-02T06:05:03.757Z","1.0.10-beta.49":"2020-03-02T06:10:14.346Z","1.0.10-beta.50":"2020-03-02T06:36:00.206Z","1.0.10-beta.51":"2020-03-02T06:57:20.444Z","1.0.10-beta.52":"2020-03-05T04:52:56.232Z","1.0.10-alpha.0":"2020-03-15T23:59:14.563Z","1.0.10-beta.53":"2020-03-25T15:00:28.995Z","1.0.10-beta.54":"2020-03-25T17:25:18.633Z","1.0.10-beta.55":"2020-03-25T17:27:57.956Z","1.0.10-beta.57":"2020-03-26T18:13:12.537Z","1.0.10-beta.58":"2020-03-26T19:04:16.493Z","1.0.10-beta.59":"2020-03-27T19:00:39.274Z","1.0.10-beta.60":"2020-03-27T19:04:09.219Z","1.0.10-beta.61":"2020-03-27T19:07:37.735Z","1.0.10-beta.62":"2020-03-27T19:27:37.816Z","1.0.10":"2020-03-27T20:51:31.381Z","1.0.10-beta.63":"2020-04-01T04:02:07.689Z","1.0.11-alpha.1":"2020-04-01T04:34:27.837Z","1.0.11-alpha.2":"2020-04-01T04:39:40.807Z","1.0.11-alpha.3":"2020-04-01T16:49:56.918Z","1.0.11-alpha.4":"2020-04-01T16:51:07.945Z","1.0.11-alpha.5":"2020-04-01T16:55:18.172Z","1.0.11-alpha.6":"2020-04-01T17:01:01.417Z","1.0.11-alpha.7":"2020-04-01T17:02:14.620Z","1.0.11-alpha.8":"2020-04-01T17:04:57.681Z","1.0.11-alpha.9":"2020-04-01T17:06:52.623Z","1.0.11-alpha.10":"2020-04-01T17:12:32.972Z","1.0.11-alpha.11":"2020-04-01T17:16:36.076Z","1.0.11-feat.0":"2020-04-01T17:54:11.102Z","1.0.11-feat.1":"2020-04-01T18:07:15.868Z","1.0.11-feat.2":"2020-04-01T18:13:14.835Z","1.0.11-feat.3":"2020-04-01T18:15:17.970Z","1.0.11-feat.4":"2020-04-01T18:41:14.584Z","1.1.0-feat.0":"2020-04-01T18:44:54.074Z","1.2.0-feat.0":"2020-04-01T18:49:07.935Z","1.0.11-feat.5":"2020-04-01T21:10:21.463Z","1.2.0-feat.1":"2020-04-01T21:13:59.679Z","1.2.0-feat.2":"2020-04-01T21:25:22.943Z","1.2.0":"2020-04-01T21:59:54.010Z","1.2.2-beta.2":"2020-04-02T21:41:31.188Z","1.2.2":"2020-04-02T21:47:19.156Z","1.2.3-beta.0":"2020-04-03T15:41:45.593Z","1.2.3-beta.1":"2020-04-06T20:33:42.891Z","1.2.3-beta.2":"2020-04-06T22:50:20.000Z","1.2.3":"2020-04-07T16:55:55.992Z","1.2.3-beta.3":"2020-04-10T21:26:18.571Z","1.2.3-beta.4":"2020-04-14T17:29:19.259Z","1.3.0-beta.0":"2020-04-21T17:16:06.993Z","1.3.0-beta.1":"2020-04-28T16:14:42.421Z","1.3.0-beta.2":"2020-05-06T02:50:16.718Z","1.3.0-beta.3":"2020-05-06T02:56:03.377Z","1.3.0-beta.4":"2020-05-20T05:29:35.075Z","1.3.0-beta.5":"2020-05-20T16:33:33.890Z","1.3.0-beta.6":"2020-05-27T03:04:27.223Z","1.3.0-beta.7":"2020-06-03T03:23:06.808Z","1.3.0-beta.8":"2020-06-03T06:32:19.922Z","1.3.0-beta.9":"2020-06-03T14:59:17.517Z","1.3.0-beta.10":"2020-06-09T04:35:24.225Z","1.3.0-beta.11":"2020-06-10T02:57:14.309Z","1.3.0-beta.12":"2020-06-23T05:02:22.260Z","1.3.0-beta.13":"2020-06-24T14:16:48.059Z","1.3.0-beta.14":"2020-07-01T12:38:02.216Z","1.3.0-beta.19":"2020-08-11T07:00:18.216Z","1.3.0-beta.20":"2020-08-18T23:39:50.428Z","1.3.0-beta.22":"2020-08-27T07:48:27.656Z","1.3.0-beta.23":"2020-08-27T08:11:15.588Z","1.3.0-beta.24":"2020-08-28T07:34:11.058Z","1.3.0-beta.25":"2020-08-28T07:51:31.989Z","1.3.0-beta.26":"2020-08-28T08:56:23.181Z","1.3.0":"2020-08-29T00:37:09.936Z","1.3.0-beta.27":"2020-08-29T10:49:32.664Z","1.3.0-beta.28":"2020-08-29T21:31:55.640Z","2.0.0-beta.0":"2020-08-31T03:05:38.163Z","2.0.0-beta.1":"2020-08-31T04:53:51.391Z","2.0.0-beta.2":"2020-08-31T07:26:07.912Z","2.0.0-beta.3":"2020-08-31T08:52:41.197Z","2.0.0-beta.4":"2020-08-31T10:16:01.990Z","1.3.1":"2020-09-04T07:49:59.496Z","2.0.0-beta.5":"2020-09-07T08:47:47.116Z","1.3.2":"2020-09-09T08:36:27.260Z","1.3.3":"2020-09-16T07:09:09.350Z","2.0.0-beta.6":"2020-09-18T08:25:42.571Z","1.3.4":"2020-09-18T10:04:18.383Z","2.0.0-beta.7":"2020-09-18T11:39:25.285Z","2.0.0-beta.8":"2020-09-21T09:35:36.795Z","2.0.0-beta.9":"2020-09-21T09:48:13.613Z","2.0.0-beta.10":"2020-09-21T10:07:45.554Z","2.0.0-beta.11":"2020-09-21T10:28:06.040Z","1.3.5":"2020-09-22T08:29:06.840Z","2.0.0-beta.12":"2020-09-23T05:35:42.840Z","1.3.6":"2020-09-24T06:58:18.362Z","1.3.7":"2020-09-24T09:09:41.202Z","1.3.8":"2020-09-24T10:39:02.275Z","2.0.0-beta.13":"2020-10-06T10:24:37.343Z","2.0.0-beta.14":"2020-10-06T10:49:35.388Z","2.0.0-beta.15":"2020-10-06T12:39:29.047Z","2.0.0-beta.16":"2020-10-12T02:17:07.495Z","2.0.0-beta.17":"2020-10-13T02:14:11.759Z","2.0.0-beta.18":"2020-10-15T15:17:37.105Z","2.0.0-beta.19":"2020-10-27T07:39:37.685Z","2.0.0-beta.20":"2020-10-28T08:30:26.078Z","1.3.9":"2020-11-02T05:02:36.833Z","2.0.0-beta.21":"2020-11-02T07:55:28.077Z","2.0.0-beta.22":"2020-11-02T08:26:48.094Z","2.0.0-beta.23":"2020-11-02T08:55:52.073Z","2.0.0-beta.24":"2020-11-09T08:42:07.694Z","1.3.10-canary.1":"2020-11-11T06:35:47.877Z","2.0.0-canary.0":"2020-11-11T07:24:15.602Z","2.0.0-canary.1":"2020-11-11T07:38:54.281Z","2.0.0-canary.2":"2020-11-16T03:44:38.816Z","1.4.0-beta.0":"2020-11-16T10:11:12.959Z","2.0.0-canary.3":"2020-11-19T03:16:05.965Z","2.0.0-canary.4":"2020-11-19T09:21:29.313Z","1.4.0-beta.1":"2020-11-23T03:58:29.654Z","2.0.0-canary.5":"2020-11-23T08:56:25.651Z","1.4.0-beta.2":"2020-11-24T03:08:32.888Z","2.0.0-canary.6":"2020-11-24T07:33:41.976Z","1.4.0-beta.3":"2020-11-25T06:43:01.006Z","2.0.0-canary.7":"2020-11-26T06:31:27.971Z","2.0.0-canary.8":"2020-11-27T06:54:04.988Z","2.0.0-canary.9":"2020-12-02T08:16:28.702Z","1.4.0-beta.4":"2020-12-03T00:58:31.863Z","2.0.0-canary.10":"2020-12-03T00:59:07.899Z","1.3.10-beta.0":"2020-12-04T02:22:24.923Z","1.4.0-beta.5":"2020-12-04T07:23:05.216Z","1.4.0-beta.6":"2020-12-04T08:33:34.161Z","2.0.0-canary.11":"2020-12-15T02:25:01.106Z","2.0.0-canary.12":"2020-12-23T07:51:12.782Z","2.0.0-canary.13":"2020-12-28T06:33:50.477Z","2.0.0-canary.14":"2021-01-04T06:46:52.115Z","2.0.0-canary.15":"2021-01-06T07:08:50.608Z","2.0.0-canary.16":"2021-01-07T03:33:02.537Z","2.0.0-canary.17":"2021-01-07T03:48:03.714Z","2.0.0-canary.18":"2021-01-08T04:08:27.625Z","2.0.0-canary.19":"2021-01-11T04:12:16.156Z","2.0.0-canary.20":"2021-01-12T09:04:48.219Z","2.0.0-canary.21":"2021-01-21T06:32:52.637Z","2.0.0-canary.22":"2021-01-21T11:23:35.095Z","1.4.0-beta.7":"2021-01-22T03:05:28.223Z","2.0.0-canary.23":"2021-01-22T03:48:38.288Z","1.5.0":"2021-01-22T03:53:48.200Z","2.0.0-canary.24":"2021-01-22T05:03:51.474Z","1.5.1":"2021-01-22T05:41:45.287Z","2.0.0-canary.25":"2021-01-26T03:37:23.426Z","2.0.0-canary.26":"2021-01-27T04:48:49.270Z","2.0.0-canary.27":"2021-01-27T08:41:17.640Z","2.0.0-canary.28":"2021-01-28T03:25:51.557Z","2.0.0-canary.29":"2021-01-28T06:51:31.659Z","2.0.0-canary.30":"2021-01-30T12:49:12.437Z","2.0.0-canary.31":"2021-02-01T04:05:03.207Z","2.0.0-canary.32":"2021-02-01T07:23:03.682Z","2.0.0-canary.33":"2021-02-02T03:44:57.058Z","2.0.0-canary.34":"2021-02-03T04:41:21.681Z","2.0.0-canary.35":"2021-02-03T07:12:35.547Z","2.0.0-canary.36":"2021-02-05T13:57:11.415Z","2.0.0-canary.37":"2021-02-08T05:14:08.973Z","2.0.0-canary.38":"2021-02-17T08:01:23.240Z","2.0.0-canary.39":"2021-02-19T03:01:30.090Z","2.0.0-canary.40":"2021-02-19T04:47:06.843Z","2.0.0-canary.41":"2021-02-19T07:07:39.079Z","2.0.0-canary.42":"2021-02-23T06:40:47.305Z","2.0.0-canary.43":"2021-03-01T08:53:47.719Z","2.0.0-canary.44":"2021-03-03T01:50:35.816Z","2.0.0-canary.45":"2021-03-03T04:54:57.649Z","2.0.0-canary.46":"2021-03-03T06:46:43.463Z","2.0.0-canary.47":"2021-03-04T03:41:24.377Z","2.0.0-canary.48":"2021-03-04T04:17:29.829Z","2.0.0":"2021-03-04T04:32:55.110Z","2.0.1":"2021-03-10T02:03:45.261Z","2.0.2":"2021-03-12T03:40:29.319Z","1.5.2-prerelease.0":"2021-03-24T08:10:59.897Z","1.5.2-prerelease.1":"2021-03-25T07:18:48.103Z","2.0.3":"2021-03-30T05:39:51.954Z","1.5.2":"2021-03-30T06:48:38.508Z","2.0.4":"2021-03-30T07:15:23.701Z","2.0.5-canary.0":"2021-03-31T04:24:09.593Z","2.0.5-canary.1":"2021-03-31T05:40:10.838Z","2.0.5-beta.0":"2021-03-31T07:20:25.630Z","1.5.3":"2021-03-31T09:22:34.390Z","1.5.4":"2021-04-06T03:13:58.966Z","2.0.5-canary.2":"2021-04-06T03:25:21.598Z","2.0.5-canary.3":"2021-04-07T02:19:48.779Z","2.0.5-canary.4":"2021-04-07T02:33:41.488Z","2.0.5-canary.5":"2021-04-07T03:04:56.511Z","2.0.5-canary.6":"2021-04-07T07:59:23.163Z","2.0.5-canary.7":"2021-04-08T03:18:18.929Z","2.0.5-canary.8":"2021-04-08T03:27:08.944Z","2.0.5-canary.9":"2021-04-08T04:05:52.639Z","2.0.5-canary.10":"2021-04-09T07:07:50.213Z","2.0.5-canary.15":"2021-05-07T03:38:27.833Z","2.0.5-canary.16":"2021-05-12T03:10:37.139Z","2.0.5-canary.17":"2021-05-14T04:07:38.593Z","2.0.5-canary.19":"2021-06-18T04:25:33.165Z","2.0.5-canary.20":"2022-02-03T03:24:00.113Z","1.5.5":"2022-03-02T22:55:31.458Z"},"name":"@flood/element-cli","dist-tags":{"latest":"2.0.4","beta":"2.0.5-beta.0","canary":"2.0.5-canary.20","v1":"1.5.5"},"versions":{"0.0.2-beta.0":{"name":"@flood/element-cli","version":"0.0.2-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-TtSbS/IXvXYwNhmpLE3bYz+rNTpvTO8E+pno/rx7hvWfC0pJ5padr7Y0SQmFiF5BlqI/9lCQq15PxU6dtwaklQ==","shasum":"882cae1097e4fce3cbd40a28804cdd3a505261e2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.0.tgz","fileCount":19,"unpackedSize":97960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbodtiCRA9TVsSAnZWagAA9J0P/jMPqXG+8E9Wt/tfQNnx\njQ6RxAd2GUmsFO4mkfp7Cdmx12kCmP46UoNINLb2BPPeM963TYIZYyiu9Nk6\nz8HgP3JN5XRYQCayigTRoR7GGp4BRol7nt/MqQvd232Do9gm58hPx5jfVVzH\ny9sIepH69UXX/LxO39t6WHQJLj3nkrhv8iJcXJOjrTWsAua3BheXXKtY1gbT\nO2EVlivVW3dIIJsMOn3Hq8nWu++SBvTcsucVuMFilA0R2W2pnsekH8wQbUYU\natCguJxp6Y8x97eNFeleetpbHfstXAeX2GCQ1VdfcRSt2kxmItuczdrclhhi\niqzxcg7Hs20Mz+OgJDbqBvO9ghj/QEueoAu5ZZM3K6mTbQd9OdVWNrlTWs90\nQb8n20adL27+NMLGp1q8EJXtSRPP2wqXgu7CopFC473JK1cktL7e9cOcSS14\no6rkwbG0bW+HFqHPmwfhus2xP7h0o8QANvNkobcEoA737U5JwRyvXDrUBlqI\naEVM4ijMc0LctTbebwL48XSrs/SBee1xK+9iGcgSV0C2yqP+OR75xY5pwYAb\nhuhx8qobnoFdPUTOU/WjNDLtbc+RDY5dwAmkDLxTQ1J8zGl9BQOcz6A0Pgna\nlZdm/eky9keUSBGTIrruzNAEIWpg5cHkgi3JgICy0mxIWLFE0bWQKcdfPVOr\nsXXU\r\n=xMp/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSht4xXJ1Gt69IR+JNOu0bOT0Ojn+T2k4XeRhBWo3MWQIhAP+6xZiIe/vwSKJcx7AABlf+3qCCni5ZkzJ0FHQ6gJri"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.0_1537334113969_0.6322386155258743"},"_hasShrinkwrap":false},"0.0.2-beta.1":{"name":"@flood/element-cli","version":"0.0.2-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.1","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-k+hdZJQNQrb3r2mymOGcNJMAcf7cRB1HLD6/n3dzMe+8r6WWG0wkoL97ljmJRshXKLh/Np6+eslw0h2fQ1myXA==","shasum":"c04079c4afa96ac08c5e7d9689833041491e380c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.1.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbot8/CRA9TVsSAnZWagAA+rQQAJuA1ToeksH06DR85oz6\nhec1QkswyCNQVg7VJVjLeoRG2DlH3Y+CuNMhzGeWCKWoqiNMKC35TLsia+h7\nknuyPhlBnFjY0XGwndZLqlLWoWwDKcZR/8u4TFaVOU6OX4VA5jQrD7XLO3o5\nHZLLwy7RDSYrV9bdqYg+qkcn2HX5gyPSjoWDtqZKLZemOzlHtgBgunTQ454z\nefuOvRu+4ltra1W4nGjVo9Ogr8Fw9f16tUC3LvMBpywNioPSfuGOOB24jgzW\n62JfUg0TWpBf19/mUp7xGXEbTXUiByM2lb4FRKz2V7On3jmz6Hw8Q//Q+tQn\nIBlHua0KRiumEWqYPzB6zjt9SiDLy6PQVFt2lwMILV67wUtHxuDKUYtsrswE\ni35mgVyq4a8YH9C1U52+UrxPqe2W90z2vOFiOUvCyMQk+XdKcgUJlZJOEfIP\nFxHH/bwr7widyAcF+LerQetPlaGoKAndav/kWVvYG7WLej19p667KWW1peuG\n9JsjFPGKWJvAV2TNsdwRRQEclpgsXVgV4FSiYrPMAmvIfWD4acxk1QxTKTQo\n8nbEDKPeU5bEN6L5h1nJHUCroQZxWrgdXgCAQ56MAxlpcTNB9hf37ziL4NBC\n5YUV6H+MbgqCcRzF/W/UH12ODe8RFAZX3FaAAsPxMjpig7inLuK8YOdrulwc\nmAQv\r\n=kTo/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAT9VTPhcPrmw2ovqmocKqyTIFr1SwlatFazBT9JaCYaAiEAoObjTqgXTaRHe0BzAR1X50cSYDG97uh/MqvK35/RlCg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.1_1537400638782_0.5917281146773432"},"_hasShrinkwrap":false},"0.0.2-beta.2":{"name":"@flood/element-cli","version":"0.0.2-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.2","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-RwHrgsL+OeIWGHZLQxKFdqtnskEYmm8SgTrFuRSTHZXoDyMw1PUM/vVdZ2i/KAK+NoUC0Y4NloVhgHK4b/dRyA==","shasum":"4488bcd031e00382151c9333274b60df5235f808","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.2.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbouMcCRA9TVsSAnZWagAAMVYP/0FeFwuqhi69I4zICOsf\nenTQa+ONHj6WOQQ8buCvNhS8Bq5NIgSKbvArjQWAPyx2qMVPJNzePffQzKsv\nn1E4byw08cYZXnQNYFnGhzcgChjrt5rt1zgqUWScIKsqK0lo22KQ1YeW9GnQ\nGpyvo6DQ5EADW6mo0B5YTuhlEsglYYtOkNDmUr4Em8N5BABVWCSCLL3LFI92\n8XiR7cqZu09/vDYEJ26hpnGvg7wsm+gdK/Cto7b1mOPi3kIMDuz25aoTHbjZ\nJrEC44H/fpmMdtYG2WZb5t3oJ+yTSmE66FJ5y2660QhRei4nXW4VEgSStvhe\nOE9CuSIC6sGi7epB0zDhlgaA7fmMAcxVnJiP3c04lsctNtNXS0iIpzPCmCQw\nD6Gc7bpgPM8ZYLLtNuNRr9kojT2gccqgVbubiUlcTpDClzV/j1LxPb0CSq99\nMGoPqtVwMLU0zcCNc6adNwdzQB4bUJjL/KJ5uvIqHY5km7UK0U+EhdWeqUHc\nG/JuagI1jp4YgcRwnQRenwnfe8LoJx6LoG3xHdCx4AdjuY4os1sYh5wYFiU/\nDo2I7UZl13EQkFwA38ivNP3fx3v8af1FzEY8nMuqtfI5b/ck9VthAE7YaOVY\nY9NY1F0G4pNhdRq21giJxPx05GaMM8i7EsrqIFDTVzWhxjulWEf25lxazDl1\n5O+h\r\n=9Ccd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCARufwsHi8tPX2ToNai6n309CzrnqCiUxKD0C8Hp0T0QIgec+Lu8/fVQGYCBVQDexBjYmCog/PLilS6GjHJSont90="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.2_1537401627951_0.04215157606802"},"_hasShrinkwrap":false},"0.0.2-beta.3":{"name":"@flood/element-cli","version":"0.0.2-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.3","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-iIUoF0DQIzd95/HsJA9usRAg8/linqo7Lmmjv3ADmeNIwpXnSKGoQlVPlQQe0gOSWfr9LtBDaYLRDu4VwnkYVw==","shasum":"5839642ea0130198e7067acdfbe0d99e38a9cf3f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.3.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbouTvCRA9TVsSAnZWagAAQ8cP/jq+y4bzMpEAoUjPdM1a\n15b211Ld5nb+wWI1AxcZsSv4ZwssPHWfGptyWOrCCnpEePG668oRswljpcsy\nCvKmoFjtXwgfmSOk0MwRufRnQU2lF15pYgL/Sow9d1wqbcZqSmXpR3RAROiN\njzZJUgN+lk9PR+xeaqmTRTmk2cJV2Ov0OyZt5jwk/deHQGx5o4OLL5GyVhUR\nnKWx7GTK7A45TqmW9xZIHNedn2FcZ9U9PsfxilmAMsXd0MMTJPCiDIzvrUHW\necyZypvFifWqVqTIDzl0um00YVLFxIRt3dsD79SCVfyFgyiAj47/+hbANgLH\nNBLU49Ems9SYXvgEIS2v15J8OyLGfnXrlM2xD3tey3Vc20c10EDI1Lc1Zaxr\nl3bIqXw129j/8JM5rrfYGOvAAL4AtA9ewarhuChLVrblPG2KQdB/Ow5mz16A\n71U5oa0vgZRaIAcj/ZHmJ9voqQxQ4OR/EyswguBMeXJ2LME+PIKZDyAKV93e\nsC1yO9xPUrG+tQRdH7u1Y8x/XB1LIAWrhb6Vqxr1NPLrLUgJEHyv+6OzsXr5\nvb2dJe/dYPnJMoAkkOQ81l856iCYNSaVAooPOffl9wzmcCBMdWjQsb2AXkvL\nJ4W5mMABoyW4edUKpZxd8iY74oiGm3ag+zxHOoSWqIBO+Flu5aZsN8xqBzmq\nblTP\r\n=2CHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBk9Z1KAzz9Jwx1hBh/qGkL0hS8sR+52NgBTHrGgEn5CAiBGp5mwoT0kaNZFECjxyGasCisNobjVEHavMJZQ+QMfXg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.3_1537402094642_0.2681274663494768"},"_hasShrinkwrap":false},"0.0.2-beta.4":{"name":"@flood/element-cli","version":"0.0.2-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.4","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-Iqz95ngBJqV+02X/jOEairtOiEsnPGEeXpM+Kei8TMndpjvk4gOmm+CqsPR9zvu4ZnPnIbUYaBuDaF7F90yb5w==","shasum":"43d1f908d70f8bb14fc5730511259dc7ca0ba879","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.4.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbouhwCRA9TVsSAnZWagAAMXYP+waY6txEFwC2NWwU6Cxv\nA+Vr3VMs5BqqBjpPpMdQR3FC3B/Yf3ZL2D9Bs+IvpX1OVTg1fOcdAKt48Rcv\nCo6OkIoF1yk89KTzFzKWCR3YJZJSJL32/c74sUX+OzA6e/gEdZtNQ18VklQW\nOz8PEFvOJ/zUM4JmDb9TgvqXH629BSh5KSlvztN4vQ6y+C731KTOmJFcLBtw\nzdv7KcGggAIrHg00/3nwxcpcYKk0yD9UZwVDrMhoAWVN2nsoASgfe/DorZpF\nKK0UZGIgYCoG4+MZJaEyvjSAal0UB5OqydM/sdYelxDps6BI7OJRuzhkH6yt\n/v+93iw/bXfCMsteJ76Q6FJWoM8nYEzql3ST+/3SVEEPDsmgUfWBr6+4QRMo\nMi85lCWO8ItpjyNQhqpjbxk9TDabo2QBHU7TFx3in+i3RMZJbo3estTtWQYv\nE76zHpUSbNVhDSSlws4FnRmwRFV5zbEOpfu+QtK223V3MRydMKnZmNhaJygG\nffBUJyJWz2C8ZmzFHGWwuy5/6stJC9qMRXLodHQ0Cul5qsbf74HWeqQeP7jd\nfxoQp+r10Dp6Z7TUlgf91lf+46vd+KGuqICg7YNLz9AaulRk2vUWoI4tU1/V\nRckLnFk8qdE8O8PGlxsR85dj5k3wKvs6FUG96Mrra+KTMuY7avKmeWbRueCa\n+hTQ\r\n=Az3D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaB4/WfUZp59LOxn/w7ie3v0tC5hl+13SWe3dm/4T7xAiEA6qeewLtRyftnf+4ql8EV7/QLPIkmslHzW66ALyI1nGw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.4_1537402992126_0.01992841248321109"},"_hasShrinkwrap":false},"0.0.2-beta.5":{"name":"@flood/element-cli","version":"0.0.2-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.5","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.5","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-O3Eog1awFw8R5Jox9TIzNoNHpkz+WDH+25HB+jzNGQuxfyFgMoYzzkZmtAkGmsuHUknN7BG3R1/+iUoPh/evdA==","shasum":"c24d673767fe85913a951d7f4d2cef50902f6c33","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.5.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbouopCRA9TVsSAnZWagAAF10P/1RJiH1LmtK11jzQffx4\njTirnR7pbVyJHquTsV+oOcU2JLjGQjgnHapYcffc+rHLKjHwWrMPFrAQpyDJ\nq9g5DEay9Oma37wr3Pqu3SpRKO8dSIq0lMeOQZ7GuispfloL66fBbcr0X9hR\nrRqOCIIZBM0rodp7MO37yCLxksdgeVETfl2rEBvZ121+uwRhsqe75ak3yrjT\nj61fkBI3k47QFmY7iJixPKasP0FWcyR5NaSiw4LOlgHoRPCtMOpl0XH5y1W3\nk1ug43xX7V4Hf34qY21jNZHW+164jIFKpe2zaHtkqP90lEx7bzAwfphcqlnt\nwRUHv8bJh/4bPNHQc4S+Ka+i+g6hcAnn7AA+seHZVOjZJ7xFPJcvYyH6r/d7\nhH0Vv6ob7RfoBOv6EWpDnyV+kFTO8DbwP4CGkAgCfA6d5bHI7xG+EXvvHCt0\n15RWDvUEN9yrjaf7ITjQIqBHaxlFcCx40RlNQI5LN4vP6qq1AUviUBQfBgYZ\nI85lcO8OMhDdau/d1CG5laQli9J+Fl5FSKzjlQEuZKCTAzvOxWLrBPqXzao2\nZrT6+6XdNLlzFWek/vRXekM0FMvCznGJPGewPUW8Z2W7F3fMWQHPfcpepqq5\nrtjNSrGqh/7PT5JspFFAcgwwT9i5rD+d0RRhjh/DFPcmuj2qnX2dCasZCBvN\nOjq2\r\n=TvFX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMPdz+4HhdiMySlKuZNulRpi8X5axVP+2jMxClU6FMgQIhAKw/uQ4BOdrhBcwFk4WiPV6ADIk8tH4nzso1z8/C3ANT"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.5_1537403432467_0.5599124467654215"},"_hasShrinkwrap":false},"0.0.2-beta.6":{"name":"@flood/element-cli","version":"0.0.2-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.6","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.6","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-mXJyF5EmVKgF7zlgfZ5IyDL6vUdcyMC4rGJES2RGQ+nIEoPeNlHRb9USKxWPeDURO4D2MprqPHrJr30pMJO22A==","shasum":"74c3c72ee886331bbbd9e437b03fda7ae2e2d62d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.6.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbovUmCRA9TVsSAnZWagAA71cQAJ7BmgaxKfXXJJGpgJc2\nJZPEWJvl3U5C2Lxo56QPjBPDTc3/w2E6ddNInEHKm57bQzq30pQhQ9JXlhQC\n/fqFm+QuQ3aEQxlk1FSwOkXgqgFeuuy7QLgD557p+htmZKfZLo9SPiBblY7h\n7iyXDI7d+aRcaDDQg+Bg44CtV/bJlAK4XiE6imfO130cn84sLfvMkgxjzfuz\nWj65PzkGb2wNn6BYV2PsT41Rlc8NQSzerAbzqgfPpmXutVoOCfqdnj8ZELbs\nnyEGrB2ReNNaS+KNASbAEVcnn52nF2Qzy/UCooD5h1kZexw1mZZQSYFe0X7B\nqvZYIzGuvNXiWlIzLauYKzueI77G+QRPVE5iHehwBfRxHdJw9Ksk8Z9dlB5b\nT6PfF01x19P+GjZdcQKearzGT1j1U/pAY5fJVKwsHMffrYtXeocOVP/lms9i\nByrGYMLgS7JKOwSdmJhydGjPOghYbLbpJwx4IrbnOLzrEwa7JdfvWXO8bQSw\ndNW5OFoUeSG8j39sfss3PvqNlyH6EwcXdFlMBrK3Yatrb1GLpbg6W9FyFR0S\n6MttImWJjK9hAJ8fT/eZkcXAuFmArcBZ8Ze0Igz7GZ2C6aoG9oH9Wv2tnM3L\n4LoM1wJnJ8/XXwBh4CBaiInh0CyaKDjpndTZoquITOsrwn6ayrL5umjKYbny\nxsPQ\r\n=OoVr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF76L56NcqBV/6A6uML0hEoOVcmh2jAuzI+N4PID7A0wIhAMOwYVbhJP2YCc+8oVSLhkcAIgBhyYA13Sm3PLPlz2j8"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.6_1537406246314_0.5888335847575699"},"_hasShrinkwrap":false},"0.0.2-beta.7":{"name":"@flood/element-cli","version":"0.0.2-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublishOnly":"yarn build","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.7","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.7","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-nH2nOiVuOX/2f+JXkUi0JvSzOc9XXF99inOjLBTjiGiO+Jdg34r/kX4OjDFAmt97OByHl8OmG8/ZCb4RHs6eNA==","shasum":"1f94f364248699cb1e3191bde2a37b22daf8caab","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.7.tgz","fileCount":3,"unpackedSize":2150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbowqXCRA9TVsSAnZWagAAmsIP/jiT6bIuYHV2T3uwqLnK\nTR9m9egPUTST/1nK6b4itLSwEsI9HTCUbQdPnzj+g7S7UREV7Dg9ntCpGG3T\nC8iCQcYROOB0O5YiYINI4WMc/oLWPW/xNIvGzxi9H1dNpixBqQ2i2Czapp3F\n4AUSKM6z6muRtki7Ik0StZ3KBXHDa/mda87aPDfPFdhPAia614X5avh/hr2F\nu4wCAN+doWlYSpwCRmmVKTYAoctwBK+86RRvQf+O342HdID08PjAN8Z4lprS\nPm94cWSS5RSZ23JGf+9CV4MhuMj3C2i72iDHPil9Ltw1/lKAj7a7UHNY3aFw\nW8/kDf3kh5XRSe1zrrCzF4Lrv2AHSIHsRl3FMKBo+JZZW2nZNBbVBZdjkL2F\nbIWEs6SlXW/wjJMIgm3z4uAmMmkEvS8HeWisRgEq9wnwJ7X96wmeFFkOOmmN\nLCKaD1hKD8/n++1atX1g92qCdaG0oVWn49IZmr+q2igzOAuc+T0Ntj4w11U8\nFrF/E6qlxXuE7e4dvRVNh08oT5Rad3m8VwMAc7L6V72Mrwlh4w9bsqx2P0fH\nu7MiroH0dwKa7ZLJ2mvsmcx+CCqD7nwKD0gsHjfnkqDVVdn1U74cAKYvNh48\noi7MVEu7xbjiRZds/ZB0BARo7882zdXhH+sduPxzrcgPSXYRwwt25IznDyiD\nKFgE\r\n=gKlH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeZ69zo5YpFAZu4rPAchhBigIFE7OzLCeWEuy95cm1PAiEA7RPFS7MMByxCHYltrDDb9fgue2TrO8zZCPNYpwAV/3g="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.7_1537411734980_0.8446598702174262"},"_hasShrinkwrap":false},"0.0.2-beta.8":{"name":"@flood/element-cli","version":"0.0.2-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.8","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.8","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-X9/s9Wi0+BqtwfKqmMF5DSARwYJvi4F/8hljfCydw4+U3BGRVXSA3+DeVe7/9qcMkY8sR7LcHO3iVimfeXrRvg==","shasum":"a7fb37dbb5597d6e12f93214084145deb2ab0b93","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.8.tgz","fileCount":16,"unpackedSize":27535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboyKfCRA9TVsSAnZWagAA/SsP/2BbH66OWII/y16SB5h3\ndzfVqY/lvmSQcjuXNYgzoF4/dYLxTLb/UhhwGCREbM3gwvGp5XZ/5zu4jRVm\nXikomCctCGdjxCUxGLklVOp7d9vjISddyWoVLO3im8n6McwSgEkB0ZQ67isI\n3e0PPsrIQ6XLA32Ud7KvncGlwceUZywZoNEufUDv7xQqqLqk9QVs9r2Cf1wX\nhRrgFxSzOqG10bi7620lNVb0KL9K94Hwo++WIHGcjvuHTvgzQ9dWX26IOg6G\nJHbDnrzRVHFelSqKOu9y0ZguiclMQvPIAcShF7bQSkP/EoXSJBvl6/gTUgzv\noYmxWOT7nwslHqyGRhiai2KHQmePKj02cizKTULlZY4/pwiZ17Fdwl+3k5go\nIbVgRTmN3UCkzBF3Oebn7GBcxAMBufQAxug6en5kr3yQmHPFCelRgEwd5ENY\nowbmOcwDbGJ77HIORWcZa/RBfNriGMcwRa1l5zWEhK/ugvWJWW1ibgEOE5D1\nIh7XW2v2l+50rwJVWa687WfETg1mK0+NfWGv9pv2YRc2EneY0GyT6TWl7VbI\nDwZnLIzaOrkolIrCsIBllicNNUdYhR8IGOJ1B29Bp8o4ZLTHv0mhfzGvgjef\nT+u37ap5CUuCCTBGdZqpTb1ZLzOMZd1eb/eVuNO9r2rgbZ7PWYKEoDOD3xY2\necOL\r\n=Fr7f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD33roNHrtaQSc514FDzdr8fjHv+PKy+/k037PtwUTPKAIhAP+6YQPtMhlop0aJMfEDH801jNHMAyZyIWWOVQ6WHYGQ"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.8_1537417886454_0.10142532209740529"},"_hasShrinkwrap":false},"0.0.2-beta.9":{"name":"@flood/element-cli","version":"0.0.2-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.9","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.9","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-yymFYy6FPnCdP6qed7DpLq6mAG+AkglSrD9iZVxGfHMQnEAlUOguTK+KW8QE2T+PtPEmSu0lpFsRBSUf3gQGIQ==","shasum":"42e11db4aabf43fc64a08e2342727ae493dccf62","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.9.tgz","fileCount":16,"unpackedSize":27535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbozVwCRA9TVsSAnZWagAAITYP/iW/7URFIk0X22zNS/yB\nD2LxVet+7mDc7boWVQ8QWJgBiaFfxSkrW2tejE18+5SeAIctiMpc9KXEAUvU\nudsCxdJowpvBSViiHah10lFhCwQ10WK2OhK5XK0WTY4RGVb4fOjvR13l4ykc\nDRmtVD/roizHWo+45e1/CfkPSI8yWKnL/aH/rYdnuoKjmf7wl9DUHi6IySey\nZ7zY4KWiq/j79f+iVRfqzvG2Pz2kxZ+SO89OVdSAWawt+6VU9xAeQjgkJsqs\nvj3uIT+GaPS0PTrJz/v2Sn9nXLo4yQMPo4DZSHl5agsDpoMkvjDhTn86hcms\ndfSrFxtKzRmz8bmHLhrSp3ewLUr4ymh7CTqFfK3ayWB+QgUKFDwLfXcCAF++\n9CRmmhsE30Z8lzsnQb7ZiE8Vg4XE65Q0nghy+BVe/DboXqV0RWWdVyeV4loO\nujb5m5crBg+v3XE8Pdyap/VXm5q/RL0JJAt32iMa14+gHzXjUp3HeK5H21JU\nEbpjNbYOkHVasY+CyxrjqS1S+0z1S/sXILRUDCMjiBkPkW6X9xFevXzdiFb4\n+bEfFG0Nhdlut4rdQd33xp6QHP2mO3bCrQodwLEcow5LzwiSuWL3wT9nH6vh\nj4a08Y1Ha4Ry8aByjGgThCUHv6nFBxeCrin5MMXXc+hx2iTjfookc1RpvkT+\naJKJ\r\n=ySpu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ+bgCEYgFFPqPnIoWbe+PKbstyj1cBiKFIDE0i8rOhAIgXHzabOknhzZTTR8yhL3BS3/30HgxzwI+XvzKPH8ccUI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.9_1537422703984_0.9891066890344806"},"_hasShrinkwrap":false},"0.0.2-beta.10":{"name":"@flood/element-cli","version":"0.0.2-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.10","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.10","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-0cX0Ssdzvn2e5fOys4iHS+BQU4Ux1g/uyUIn88RrNLlGPD0h3goTBIq6pOjKaTTKZcnjNQN3YfDG7HJrWWjGlw==","shasum":"de0c7c45f4151126336e68ebb9ff8530c76ae059","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.10.tgz","fileCount":16,"unpackedSize":27466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo1FrCRA9TVsSAnZWagAAwTYQAJ1f42E1UMmVZSqjNtX1\nesa0AI0GVbgOGjQwiRQM65trmeEhwyetVQRo13M7pj0z3mD3op3yf+x7R9no\n4Fn7iYisKnSX2THIdAkAHbMU2XKoWVHqquJI7QyEigyUErp/VVwmTCQa2XNE\nOH/Fm8DTAZ6FONi4XNzvLaE3rb9wnHuLGpd8QBPKE9P66Tsxk58eOcgw0Dg1\nv+U6pok/yK6uRKQ/bRV2vYq6QFIE84Lqy3zBIAdmxJDDaMpUNuLSFU8DleRi\nuBxnQRwk8IODoUrA9GyBpPswLCfU8N0SXlLkd4tuxmA0cRf8kKvP/6bzuGQ6\nV9PJgvDPo9wSC6LODGEistF903gszdzb8YedTFYoAKcq9HKm6Dfap6uEJO4s\nnFmBFxEWxSXl0sl0q75qlQqJAX7mR9pJvozbKkVXQ+4sLivesCMLeBrnFqSN\n+5W6NJTcCWP8CrpRAOUN5NRzlxvMQboPDOiC3IYNyRnxGzK6gAm32k9C8AjN\nNnzwd0S8XjI0Uhgi1AGycXe89eaOvm81YVzaru1skPs5pTHoM2fPVsmzYwE2\n+xWEz7k5Z+8nmSx6Zd75RfPqO6VT/cTOngkiNjG2aPAqCr8HanG5ZmJz2MxF\n2+RkwB55RaBPsY8UyHhZpC3I8+makLqdb6/Q5a263plPMetHdLK3UybGOh2E\njIVS\r\n=hH+e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAiYQrkSqyFWY3q8KuePPjtSw4A96HmZODX/jyPeEAOfAiA7yLUA2GOfVyWk3+OadmQndOTkZqG52H2lv9m4GrojWw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.10_1537429866802_0.918851751627225"},"_hasShrinkwrap":false},"0.0.2-beta.11":{"name":"@flood/element-cli","version":"0.0.2-beta.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.11","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.11","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-O0iR14bMZTJDcRCVx9tnfgpDxAu/TzSyidN0dtT3RmQaK0QNTShuJ9K9p282hs2XSZJ7caiJxuUivFEefFPehw==","shasum":"d0959326788d3d567aa4793166149a33b5822c3b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.11.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpCdFCRA9TVsSAnZWagAALAIP/1xNMcvSVro49rNBAZTj\nJnhG994Dx+Ihkk7Hqi4C1VADdlik5Mn0EibhEkYWQrt3PJJ5fr1zqFGH13mT\nLv4GJevNIluFMhD6j2dYRRceOPBZ4GE+r5Q2pzYsKlNVzfX7U9qZPYwAHE1M\nDNdLwIVGVCtBoZ4ztIejscq56FNkrDF/InQKdH3kKeQmOo3y8ZISPuDcSO+m\nQ2JorYr12gSHNh7LN27uSQd8In/Zpq2nMEYIJWcMO6auaiYH+PYJftvcGyb/\nEED6qx/BDGmk0uPTO3KVKdPEz+g2j1fbf/Jch9/3a2ASNN6AT3AtuCskOtcR\n0+HFQpqlZ5Lp2A2G2LqbGyCU1xGAqTnx9A8HYKfV534DgPnPpEgz/1V1bLmm\nNYJ51En0x9ahZRfcEoAxs/T8bqqqrqUOw7RAAbKYk33SXlpq4nSjYCA0Cb1N\nM728Uxu1+VYi6MXebgh3BfoC1mqJfsBYUfoK/2ZcWcv2iCtP9EGoKAWmwuhN\nctnlNvxWS6CbG+hPMk7cnruORv2aLJ03xpumrugEowi1PcVJlRsaRb19X2rf\n7/43AkJ+Jz+o86PKHsiNqHalMDGMpEIJh87ws9hbG4qdUyHp+Szh/54y1fbM\nPi6NLpCloSKGovG3ApieKKUSk5lQWn6x3Wou2MB4UT6RbPfiNLn9v+iq9qGu\nZL8z\r\n=wqtw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8TGYmRsITWtVKaM4/ED9g2q2NRgThauFcqx9r89oULgIhAOcAdeX5S8C6hj+qbi9nzc2U4U9MFX8d/KCc1/0XeiWn"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.11_1537484612960_0.9832214312681631"},"_hasShrinkwrap":false},"0.0.2-beta.12":{"name":"@flood/element-cli","version":"0.0.2-beta.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.12","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.12","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-nJxcfgGR1UOPgWmLCC3vrUeZqgYoNn97AmwZS2NbMR4HVTz4cHbUMyjNOCmRXht7mVpLF4muoF03g/32IQfvbg==","shasum":"ea7e60cfa68a1d8b705c1ee3660f26da3c3dfdec","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.12.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpD3YCRA9TVsSAnZWagAAk8YQAI8sXQxrjBe2Vq7qvQ5Y\nIq0yIjj8aN8j5INB3xgV5VWxrcRLE7VzGFenhzeDYnXFC6iCggxvJEffGb5/\nW3oHZizri5wwclsgFFGCAzhEy5PS1XakYOQbTuZfs3tiRc6AxAEWfkqEToly\nhvE92RWtkbQQCT06GBm+KPz3XVrRBa3M4fqOettqkYCq7WtXYhQaeqM4abpq\nrknoVjaPdl16Yc/eG1MxM652UbaUw0lpYCmH9D5emt0WLnc+fR+ikKxFxC2r\ns8ped2xBxSyFiD2W3s4cR0HH4u/oyJ9fvywngbDhtnjI1vccekXb9TjaBpGE\nw3TDmj+l1VB8hMlfRM7hMDF4eSbDvroF3gxRR+Ms4tkn5w8H3lfSSbEiPJvv\nTirhLovbDSHlmiERhWZc47YvTIbSZQGlzVJhR5qkzGtjJB3zSG1RkN6dH3IH\nZmn4x8TMAiq29n/KrEdzRYQYr3IdlGeYwRu2J8pY2Z657e/IDl1UyunjqXJi\n2OvX3uLxcLNAmCTMAhvXxdRbLrCLB3RtK6aRNCOruAKlM5aad3b89bZfExLF\nbrVK3/F1DwbtQAp315CX/j3m3Gt4Cy5xULJuUTvW2YUsO9QRQC2NZqhVmi4k\n40P2HubeyTr66EuZzhLftI8gF94tsXI4kATFEciWHAqdhaGZevzv6ojvkVlJ\nvXXN\r\n=3CYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWb9QMe4VL+GjFE68CT0MtbFYeQMThTEHIhPMMFBUdcAiBSJ8/AzaQ50Ye/oGGCk7nHjOJfEuDgXlJmJ5DhYgmgjQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.12_1537490391464_0.8941161441985985"},"_hasShrinkwrap":false},"0.0.2-beta.13":{"name":"@flood/element-cli","version":"0.0.2-beta.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.13","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.13","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-38Ju/ZcpSUtHybQ5fZeXmEc6EXraF67ileecme41x5EdzaHGdNIuvtgUT7NXwTxO5sJoeezTNdGvR5urB+Eftg==","shasum":"f2a2a9765b64f521451205c95a379211b6613609","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.13.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqEKTCRA9TVsSAnZWagAA5qoQAKI12wToRLNmvOfNJkWm\nO+unZxA2WMwGzFD6ak7qE5Fy+y0iG+HRWnng/ZQXjrsxk6fTgoBXEHpyDUFf\n1L3T/13SFQGmSrTZ9iZZc4dXu00hIyotZdM06qpi1tndSO/dMAJCBwnfMHHS\nzUQq5tc/pGx92ac8hiQyP0wJpX5wkfxpy//IrvzAa+bdS2lgM4BnvlHBslQ5\ndjnsmoxmhKceFtlhtW+/mwdQmJs8T/lbZyl8IC9Fy9WPMd+bs3a1pWaA3LEL\naF8g0lCxVL3NCSZ6SoLZxdeVB+V8Q0g3Gfb+YLaxuNUv+h1EvVDDT9KeH+NF\n9g8z5njEkYP3J2NwSoTZAZNOqFt9K/AwOyM4wm05bG7MFdXCh9JjnJL3wVou\nHUcFyH+w/Mk7oJ4/iPLOIAvbVVsi7DERhrCtSyU+TTw8P/7xoQgWYQw+YEki\nRCSUzR7g4ZVagYqwQNNFVaiXCWkBhI3OW9SUqz39x3BfcnCkW1zQHsfkrQdu\n5UyB33pTlYSnTtGilRHPYdZJlwxyC4qT3N0VYpnSzfks79Z4MfZqw7mciZPX\nQ92yEnexZ2WQyQIwZ/p8tBEgnvVrvQ7nRFzH0GodlUHmZWh93wvxpdktuamp\n/tmZxNn58TMW1QtJwDOvVtlG1z7gnAw5QQdpBoj17PLBQYsmMR1rDhuZkz54\ncFqz\r\n=qGFI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCymh/URZ50XrDwzNzAj+WU/lQcj89AqlTekPwX8ywTfQIhAIX4frvmG5wbyHSnHu8EAxPs81azWjbgycHhC8TKQgor"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.13_1537753746770_0.6727417616734799"},"_hasShrinkwrap":false},"0.0.2-beta.14":{"name":"@flood/element-cli","version":"0.0.2-beta.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.14","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.14","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-oQBBe/yayPkTVP1ZD2LaYnDo1dunJBRkuIAVK33xJhKHW2VwBjgaFS913A1O3wZiL6dnbjTVQOuq0XjXbVaFPw==","shasum":"09040754faf3ec1b508d20ed1f56122ca9a6073a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.14.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqJfACRA9TVsSAnZWagAA/SQQAJ7lLFF3yDSPAPybJQQ6\nZC+3WTi0JyS0PZKHIGUQXRN68NvGoIA96p6XmPBUwBUSjwlSsXSSi46GSByH\n5YrmaSupHEz7F4tAsBo9apBAWydTk3I7/eO6KN/JY99yaS+8BXF1ZD8J95fN\nO1pqbERGvp7FEYQ1v5Nmm///eD9Pac/yvLpLjmlQZw53t2hFJ2Ba0Om/RhzG\n8jC9rcR59t99QOv9dlHVIex6yh/lZmK4uoDCf2fRQDc/pR1zJYxwKksHErHZ\n3noVRp9bfLVXD4nlh9dXMPn1MkVGynmYZV6Mwu3eQyhkNkOBOUD+kC0wJ2n2\nUwdOBh65OKZC42RNdxsl4RFG8P087P8tnc9Ad3b6YRfIy0LZ7jtu8CElElvZ\nIvHx8BeRtCjcxfMS1OEyE+PtxWMuuSJProS7Nq+WvpbHijTcx0ez2VVqjU7Z\nJfZGHiwOFNIhXLPqp85j0t+mf83ZegdEpajIkGJ8RqL3U7S1ek9+gYZqqBuJ\nKHHL29WUJYu1M9TFz/ugNnduU71KII0xdPa4acauV5lOFR2h4FuVjDeJJmeN\nEBYtgorjLO9nKmOAgsK+xk0MWtSPd7S+4nFd+vuK+ugnajBkpV5GFR5gDv7Q\nZWtg/+w7KNQXXwosd/yc+rQ9+HNLwI9VrTKeUXyDjRGJydwxpHS5qgFvxVQm\nyUa5\r\n=l6Nr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy6W5dU8o/fIeOhG/qcZnGc9mP+yKc1cxInqgpNJnX7wIhAK+40qx2J9IIZYPcJvf0N+c2kXVinP6c2rSwBAwEp+47"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.14_1537775551967_0.8743175903330391"},"_hasShrinkwrap":false},"0.0.2-beta.15":{"name":"@flood/element-cli","version":"0.0.2-beta.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.15","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.15","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-jfwf1Lyz43CMYPHf4t/YjAdslopJCCg96Mr2qfdSHSdZj/dtVA+IF+bsCpQcZBuee6xf8iqLMQUYTioaW5zf7A==","shasum":"51d42761c2fb5b9b144f8b138d56ce63eef43a08","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.15.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqVv3CRA9TVsSAnZWagAAQUwP/2Ub0koHLH40N075z9Pw\n/s1ai88wu/+X+dOhCIPSKlVU7Xk+yeAH5Cuu2QSWuyFW5OruFjd5uk6SeXM1\nQuvvhvmJIwMEd+TxnjPHflMOMe8vV7Y9HdbMJcoSEUxyGHqJ7EHCq1BktD5i\nHp5RmYscEDjWneQAx/rRU0ljjhgB86c4bcxKH7JHMRtHkWhYh1Q9oDLD0HzF\nN/GRH+cEJXT2gFsqc3LJxhRIvHUSo1/Ax+/3h5rhIDkNRi4X/j3guakUr0Q6\nu1LwYJrrh7YEs3GMYmIGDfWDrBQVUp5p4h3GvHMoVx/WvJfKZwCfnJ6nLGPc\nZa+2SeTveKR0/EQ8l1DtwYHkXUc3XXgO4mzh2mo2eOTPkMcAOTZdt/BffL6J\nJqSHWou1pNH/ck9WuMHqXdW5T33vT3bY0SMPMLS3MZLVyzWEVDaXgFRxGort\n0LCUi6+ZiaAQ9ml1loJWlNrObYlGXsf2YTsWkRf09wJscrTrea56uWm6AgKD\nhfee1YlKwpu16MATfk4N2bGDbsegBG7qgBQWz8peCZ915v3l9LPwPD7pZuc8\n2gSJ94Y1AluNEiC7qPOA1hzsLKQldAyCOoew2bgJ4gR0+xvZM817mzyS9Ed8\nnOgBPaAJCbgPcPwovN+a/ChWEtdd+at0fGdufBxQ6r+At4AIuzkHpxycrRkB\nKjaH\r\n=hMKZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF2PrsCRWzZP43H1zwtUkRG0RMjKLMrZv3bPohIZA9nQIgXVa7pLmpeLa4gYRC85Kl9Nd/C3YzOQWZ6Jx3zcpPvuA="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.15_1537825782349_0.09885738998608407"},"_hasShrinkwrap":false},"0.0.2-beta.16":{"name":"@flood/element-cli","version":"0.0.2-beta.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.16","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.16","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-aZMc6+Xlv9lLVzYWgWoWtUJpxbaauEjnO9lUGUJ6OKfSIURg8XzgzdHoaCdpUDGuVizp8biLQTHsXvKHonVawg==","shasum":"c633697f339b141edb5ea8b7fa6b4d692f6df607","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.16.tgz","fileCount":16,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqWCaCRA9TVsSAnZWagAAGFIQAKD/oJHMVpEBkq8l53ZN\nkYVyO6T2Ltkam1XF8XrULvWY1WA8inEynqo+nAreSHEHjic2tQn6LHk6xzTU\nV3NGBUZBZWRDu1IiW/oTOX9Y7eEp7y6IQ7TitK9+URDtNB0y3EbYYgAPfDAe\ndD6TSuGuRWQ6z+LAjLesBUcyQfn0xV8BQs3koLVQG1+HY2uIcP4WHnua8Ffi\njryU3i9ulkj1DYOMOO4lnh17GPrRxeX06Yx+8I9f2i1BS7TnWURDBRQT67jV\nU4LOpC2f9sJEJxti+9zz2JMOcYqTDvjSuowHijN1ovqvuWsraRM70tCg51ru\n6mmLGPj5I5ZxsToLPmyxBFqDWplDsjRMxf1l7U8umOUTXtMGPeqYYbxT8HWp\nAbEHwt+AedAVBFzZHHVfaAuxnJzoIEP08KxnYJGisjuMMU7+T4NwuYudAgrY\nCg5m+ruE3qOsGcr2Kpry2fTTMiDAWL7dI5uZS2NpdqFbb8Pjc1R5ifpkGFrT\nY4WnhfVJgW7/vPG7DpykvPCC/y8MjHZ1y5s4yVDBbwGpMDaZXf6Xp11mKG3Q\nhXZyRH6hfcy7bXaQnZj9ga51NwSOTL7i9icdgXn6u2IogkkiwRvtl//6UObA\nH1ClzIzeNE/mZ3XHzAzZVC6CPWjw3lZQpZEgiJG4dr/H6evFbnlwKlpLx/j3\nuOux\r\n=zN07\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjqPz7/pk4m01mkforSq1Lm5XcrLmoa0G2ucEZz39+TwIhAIHsGI8shJC2urifmCbhIaZ+NV8/QKojY3g3T7rIONoR"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.16_1537826969586_0.4068704482669272"},"_hasShrinkwrap":false},"0.0.2-beta.18":{"name":"@flood/element-cli","version":"0.0.2-beta.18","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.18","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.18","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-x7aorBIpUkL8foCNVpHD2/b7bP0VwgYA8q1G5g2oXTiPbJb6k7Tur6vXFDIA8lm7f/gqDYZAYpod6jFcXm3J6w==","shasum":"23e15d45b9bbaa6d4a78bcd60e6956fc39c5891b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.18.tgz","fileCount":16,"unpackedSize":29121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrDPJCRA9TVsSAnZWagAABOMP/0/ht/iqfN0ccMuY304j\nEzWg7jsL2BztHlaWFVw8NAn7hxvzZCA9uKX1UVIqAxwcm+EzEoxJaHfi1oRL\nzPRjyXQEAzxO6TZXbY3KjgldfPCFKuaMzQfvj3X0x9naY+2PW8r4Sjydf3tp\nPhfHpV73+ISnuN02TO73n0GehYSx10PGORE6y1W3j5Y1ZDNpcJixt7gifubi\n8ZQk+Qas7Ahy+hoMex3lbfgFnNLo3PGQ5y7fGcRD+4uPwSiwDr9ZPDl7LtGx\nhQ4mp/pKNUb8alsYwsPsLwN6fzibHh/VarCekIRXaAY4jhqVLpep89LMcYgD\nPAXqyXfpCt72kW1dy/Y3zDzQQm3jTGso/kRpxo1BdNZQ7EMq59gmMzL2Z0RR\nHsfpsik+FFRWqsX7zncc1/VV0b6jyDLEt8PWRFkyt8mj+KrXdasJNjWonJv7\nUTv6jIq73MaNoykeaklPYXr/MVBxBgfzWYDxWj4q+hEfi6aKuZRFiWMuTjDu\nIa//EH5M3X156O97xpYKicpeZPULyTnplGbhVKAywMXP8ZTDJJyeAPTPUy1m\nUkXUc274gECzISkYLwPoQay8cp8c12D+pfdZOy7XoQX41cSGlmGIfcbi8b2m\nSv/c9wGVR7ZKxp30iNg9+y/EfELcrJJWl824A798IDXSj0BxTRVUbqAkDPuG\nAJQi\r\n=yNFV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICE2qWUKwWlE71L4NvlanBZNC0IOwzwBh9DJXHYs+m21AiEAtpVaFr6CzbOT+Qri7OIYOirrUJtQfAROHuoH2a/gqBM="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.18_1538012105163_0.8770830539337922"},"_hasShrinkwrap":false},"0.0.2-beta.19":{"name":"@flood/element-cli","version":"0.0.2-beta.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.19","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.19","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-PnSYh8Irw5jU7Xc4dBHwQtgbR2uRuxjcBIyIWtjjaVcm0HO0UBwvW9CEk/o6U86i/RuSzrVVoFXmxjbQkFwPWw==","shasum":"f897066778f98cc86ea034d8a912ea9b43bdafd7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.19.tgz","fileCount":17,"unpackedSize":33897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrDyMCRA9TVsSAnZWagAAmdEP/0niAh6mt5Nea1Oj8xMd\nxI/cuNVvHjF+qqHpIkqEN+v4Ad7CQiyk2OzD7zhrfZOb1Wu93XOxwPdcxozp\nO7p4BWW2TBdFDvH6Xg5pnDz/D427f5FQIno7gLFaYvWKYAqzXXLpwJj6sCbb\nA20wgb+eufo++3vGfl7IAg/N9H0iqdrPOE8g5aoyJgwJiHXtCzJplZnW0PK5\n45wT887ERee2r0tQ17NEkCvNFD3itkbF9YK2mIX75oorRVEt34sx5Ir8RZaL\nrp7wng6IY1/WxnMJgw+EB87RHEn3C4N61OseaRasnB8XLpO4/e50YKSSA+ir\n7mH13qsIBaxduEozve7hYfnVEC+zMsw44gexfeMjBfzjJA1T6qwRjK953T3X\n0KU2NVwSlFEoExg+zIvwsMMmbN3nDaMgBWvoZFmlVxuDGkIRrIHT+9kLEK0g\n1XIUxB1u/Wj4t4ovJNA5f9VQKmACPKWWLWHGXrat+UtZ7Q/qeKvEzyRYL0vW\nU51T64R5abP2wQ/Zu2iRDU87LUO9q97/ffdbUkhnWi9yhMpYCa5xY/ECj+ek\n9F3gJgDpgucNm1SEunb1pBxrwozXbbFZCI5goSlUrj4OKyv+KtkY+MSaZIgC\nweardF4Q16/y8qKt2Apt/tq3IfuOQqOkq1H0Vg2hfxrVBsYFyLrfkH+rgau9\nSoly\r\n=JhXb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4FfHqruZ0rSqnFZgt8eYVgwFh+Pq/OuiAQN/RCaRBAgIga6QgdkOLaUSa26kCDhTLBTXwiZe47ifwGUYy8zf/Cw0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.19_1538014348289_0.836973660635584"},"_hasShrinkwrap":false},"0.0.2-beta.20":{"name":"@flood/element-cli","version":"0.0.2-beta.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.20","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.20","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-7csGn7OADji0XJRdMNdplvxmNV9TiaLIFX5hv/5hRSVYF00RzgSQO4CCaoDh/mdmlH4QC1FqgaZK1qo52yDjzQ==","shasum":"bdb66ae3e6a4a3f55ebb02dd73810adb1d56d0ef","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.20.tgz","fileCount":17,"unpackedSize":33897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrW63CRA9TVsSAnZWagAA5/IP+wTaLkNTOoZDqrTprnjX\nlUELRP41khtX22MT8hLy9S11Zyl36D0pfmJJHhmz5qJaVe6IF9nz2SBIInbb\nXrxBdooSvevUjuljo//v9Kn5AZYzOZNvTZtPaLCpe97+BPCKPICpBbffOr+P\nVj24QenFl9fP0NFBX7ObvHUhIY5QfFHbC51VVAb5jhFVCK9HEInPfuxvuA80\nvDf5eNnmdCrRLAA4lJONzymYP0tPNkop5kGUmTku7BKfqEhDiIPLM1evtwNu\nmv7u++GocP0jjLFGJ/8qrusIX0kT6l8dktaQzOzg8nD6Y1O9v0kC4aTLyFIX\n66qzYLuZXCmXkR4RwhMvEQ/jFkmeT9iOVPjVQMqaFOwXZMl0lvOKoxzfKh5E\nMnuJooYzz+WzxgjCCySbvqN7+yNC1nJtUx7z3VHta09hGNlXzBcclbD4hCWz\nogGdzRiKiLZ59+rcg+jgkCUwaSi9G2YQSf6IjNajEBzj9I0rMK/zBK0w7IcG\n6CypjFiO2KLWCKLboDo7vZx07+b1ar85t6hhKvKGT3QMNRNy5/BqGHiuXSbo\nB/L0jJkWaRzVruZTxk1vxORUZu6wo+GqhMAAy3o7XKpoQkZ8fskBRhsr4oLG\nuVYXQ9SCHQSzKMVVBaN0C32cRFOh4cO9kkhQFT/pJS6U+rTReidU6hX2KxM4\nP8Sd\r\n=U7cq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj9cCu3a9db2Nw+ujPG6cPpm8v3QFVrzKmOaU+O1M3VAiEAq2p0Q+5x/sDyHxcrCCuR6x9GTKgs0cONrFd4TtdKEMQ="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.20_1538092727092_0.9887853349909794"},"_hasShrinkwrap":false},"0.0.2-beta.21":{"name":"@flood/element-cli","version":"0.0.2-beta.21","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.21","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.21","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-FmNkoP5ARJRWtag8pjDapUlYF0UQgcJ18liksJJwtTqQp906cy+bwfdmeUMjFu/mmdgai+4C6wcFHBSO7TqxNA==","shasum":"6407b895be35584a46d19cdea06d7d24a9fef3f2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.21.tgz","fileCount":17,"unpackedSize":33897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrZ/aCRA9TVsSAnZWagAAfBQP/R1fs/3sASxQQ7Bf+qdQ\nAtsGYMJIK/hckIlmgImDEQSImCP0iH277DQ5JFFPtz1qqDc6GFvuCwJ8R4rH\nYa++tNFLM2ZWPC7/caCdi8mTHMgk85VS8/7FfwA8s89vjEqLCAgX5nPFXTtg\nBTOaiBbQYN8lpUiSKzaFM7LPeN27uXiGyhXVzO9anKeSEoFBkfP1XlvErGgk\nvzqqEZF42zxzrqoF05bFbVou97VTOqjjtdAphGjvWOAQN/E6etwyQRgRyKS/\nphl7vBAOPxDUir9vZVCAAU0tNxaJhZbfREO/e+fn9qxEM9mRiJOrB/Hb6di6\ntv3zMLcvMlSEX12GtSjmRFpFUeNPuN09BE5lVwMC7s7F5m7fTly25q6S/yjk\nu0ZlZKbw4RZ5tV3wQNOt0q9+84ASKR/ln30ci5T82T+NpVRDzEAybk6xD74B\nr3Q8XQyN366kAMXSNUsaj1OsCEHCl8oIQF30bNRg7dzhlKYXeaRB22rC5fqF\nFEzi5AUCcn9d8AmhgPZV2UtHmoda8mcg0NEcQGEFvlTx6hRldcUDvAB3jViB\n5Bcv2v2r5YJEcPbiK7KdhSLQ622PYhULG/a6e4Rf1lSbUl5e6FNoqFHy4cqb\n8FUFsWt1fHOoWk6BWSrLEIQoqF6kzZ1oduXKSfmNa3dNWBVfnlN4PhUzxDO4\nyA4M\r\n=+VFD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyve/K+yEu4g8ODD3Yj9CNXVKNn2/bqee5w0x7tqoWzwIhAP3GujuaI8y7gyIQeGNrNhLUivHqwXOlyEyaiUcwH45O"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.21_1538105305790_0.4058927879743439"},"_hasShrinkwrap":false},"0.0.2":{"name":"@flood/element-cli","version":"0.0.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-8BCExRIRZzN3FXmHuDEpo6/1MiwyxIkapnImeNbzbv9RqmsnfbfR0AA0vZbOMr5udeuMcuyhQLbBN8FyYaXCqw==","shasum":"629ffcb68197ca50bc776d8b91aa4959a70f503c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2.tgz","fileCount":17,"unpackedSize":33881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbraW+CRA9TVsSAnZWagAA4KwP/ipUfk+631maPR4VGdvl\nZgH7zdw29I2r4xiJwd3kTbt9nYfEX3K058kPW2j/ltI6fIT077zQZSZnXTPK\nWluGg1r6KCqplw5IwoEKeyXi6NMGpwUEnBCBUYyscM9LmD9WPFbpMKz9fJUe\nL3Eny4myuxj+dteC2rrAG6O54vD3fNr0N7ZnFzZo5j17xXpLA7KBVoFUNW9Z\neTCmOnmNAUnvj6tvTcAJIuj9ZzaWGHzsCECJir9IOr3NpWqwY2moTjnI5AWA\nCNmIRcyqhuT6oR/bPUQZ8BF5anEXNqysprtou5GtlSThlDFL6QmkwUWTiSzG\nJmMz5EoI/SX6GPg6UeAfEg9UdwmIKutU14kFqRA/XsaI6GpW9zFRoSajv6U6\nqaKEGIF9ZR1y/lClcVvw5RV2EaKhnoHH0jEk5WWOfPL2G2aoO8K5T7a3ZfjA\ngJnmuXLDGEIUNRjtBPZaWb0Qcj2A8BSveM14QE4Ee7vLxs78e6z7/603pdl0\nC5E4yz2CgWWegGYhRO61+9B+QbVoDSDJEXT1cXZ1NOVGfrUPHCjs8vbZ5eQh\nruhs2eXRKaOEAKK7+B6TUepB8eJDDkutsxj4cVzX1kplnjC61cQRtW7XQHyp\nZMMQAD+laxXcEtTakKCRozT2lVeaLKeYo7vcdv239IJtiy9+L4wqlpqBgbHV\n4qH1\r\n=sXgc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1atHpOC7TsmpEzmiaouwF8obT16NTkccu1SGQJbAwyQIhAIjP58wRbSNaxKEdE1DW4aL6haBpoAZQdu4ThuC2gb6A"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2_1538106813822_0.8696054931062853"},"_hasShrinkwrap":false},"0.0.2-beta.22":{"name":"@flood/element-cli","version":"0.0.2-beta.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.2-beta.22","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.2-beta.22","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-DPkCoGpyL8nNW+6unS/E35wcbf6GxR2BX93pfSPB7G+s4UPeveQIeRZ6anXXvW47uY8a5vH60TjfEPFUnGmyQA==","shasum":"e0316822344aa1203c077848e68dcaba007c461c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.2-beta.22.tgz","fileCount":17,"unpackedSize":33897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrae1CRA9TVsSAnZWagAAmt0P/1j9n6+fhF0xxW4oySfA\n50iybm2gFPOdFKUMu6XEYCVBuV3OOz9nDFY70rwXOE28p7UmJG8I9DT0+Q8y\ngV1xkpe/8LuhGyYlhzlitkti1NI6cJTJjWPqmW7q7bgDd+Nl9h2oV4GfuIi+\nwP71XuOc3dk9mhyLs5X2ZExeu3kaiHwMec4bN26KKxXyP9zisApBqNVH4R/r\nElSiNYq57yOHTPoZ5jdSdADByWZriGv8ezMNzyjsNGEjaXQD8K+RCT1tusnr\n1zUwY2TKVh3qQXDheyT0V9DP0h3IXpEsfwrS33IBbHlG6lsRQYHYRw6MmtVX\nLkhgpQ+d4wU7aquNzjzpS3jKdAU4LVhLpbWgREmaEXAphvJW2mvIVftifkgj\nWcF4i5vofRcUYMrl0x+98WHDARbgBVcLy81SumNdsyg1+Go7umDBWsJobmHA\nU5720FJNQa3e0DjemNaZBpidTy8PGYV9Xyc/4scQ2f5PrQz2GFKWx+Qw+qdE\nVM10o5a+TA4jInwjkdZFTlkLbdbx+vqBvASbsX/bCCvUQllM3wEpCTpOc3ra\n2dVvTsPOIgTaPvvbcNEiHIKrALRtL1iMfzVgDxIuO8/kGDC1/8kdrT2LRv0Z\njozeMGfGQApcO84hmohQoFpc1nwlGFTWcbD2T570rtHslGgcJk9K5tiLFgKg\nPTMJ\r\n=6aX3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfH1BfaBFUPOpsYYeNAjoKhJtVzDq/SHnQ3+9HLEsi9AiEA9HpP9ybmdK/rnVqFs5Cq7kqv/6QA583i396WA9v60uA="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.2-beta.22_1538107316405_0.6143070340948997"},"_hasShrinkwrap":false},"0.0.3-beta.0":{"name":"@flood/element-cli","version":"0.0.3-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.3-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.3-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-bqxLfjHbmBt9+3DQywSmgRQCOw9uCN8dYI/Fo/NwBdi03Ky0BrsrJkIWH8M0B5/4hDKyNaDgR9YnRh2H6DLcZA==","shasum":"b55ea2a2bfb0d18658be81c0bc8e325a37198b3c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.3-beta.0.tgz","fileCount":17,"unpackedSize":33895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrao+CRA9TVsSAnZWagAARR4P/1rXPhL+u64DE1UcC3aT\nuPsMMK3nrUXzUPnvVGHs6Y34okTqbdGupHVqhT8uzV48wBTAJoXxI8ikzFVy\nAElO9LFYlGcIJIsTxnk0VYmLQZvO7vdqoy1YRG93pUww9tGzv9wmWvmQ7LoU\ni2KqvFBZDtr399BcZFv00iKTfcHccWED1YsGgGMKGZ2H/WaBkO2b+39qLJjR\nao1s6Jipwu2/DnjjZYuizN0JtrYW06SUnqir97iKrDplxs2vfki71Z8sYpNX\n+lpqUDRbypkvz/qvsjEY/tZpHNR0SlAb6xRTyCXIXWt5ZpYKZlZHkY83SKfh\nbzWro0sopo7+QUIjJT41WeN7LskNHgyPygA0bQ4f5B7ql7VXXeScuNZoQ5NC\nMV4ri7cBqRoTSYsSRns+1LZitkW7s9u6UJ7UwSuN8OpZftBCR8vHHRd7muxv\noRO2Sjmj+fKce0nnsooHOUw3xS9s5B9r2QXloVrcoyFq+X3Tw/lFjCr9KyLD\nja/A+eM9I09OwaUJGUAIpP7r7fK0eibIi8WinlHOS9X9hbhM59LP0DfDS84A\n23K42WFFtjRHhZwV3w+IzC1soCsL4xqIMng5yKOCXYLe+c3Qf+bbNkeHVuQD\n40mD4G0d7z9sUUpMBt+1+klpS4lNo0KRJl+bqqNcwNG1NWGwYuXpJ57Gm0VM\n85rI\r\n=N422\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsxuH/aCnHQnhGPA9C6YJk89O2CUzTYl63H7QA2s+oXAiAJqOFcu/2JfDiFE8etgh0yye9LQj2FGwjpAVq8MxMXug=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.3-beta.0_1538107965314_0.07158644627992894"},"_hasShrinkwrap":false},"0.0.3-beta.1":{"name":"@flood/element-cli","version":"0.0.3-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.3-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.3-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-GfdYF8Z6aWMLNQFT7pWR35qeavoxPlrA8n8YScsytrwfFRpX4D2nO89hnANAQwTwaPiInxChhyl9+0yJhHqzPA==","shasum":"677be7c24c0c1732527340eea2956cdac014b842","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.3-beta.1.tgz","fileCount":17,"unpackedSize":33895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbra7aCRA9TVsSAnZWagAAMk8P/2Jg1ZcF0IdUj3WI8/T2\nPkacGdxq9iE7memd5Nokw7tXC3cwfhgqrZuH0PmAjj3HE0JnMGVmpm4pJwPF\nrjyhkH0qoviLDGBEaecgviXD/AYsIMQ0VFqRqMmmGlXwStze/gw/Z9+tZvOp\nl4207paefh5l2fhd1llb5kSSLck41UfqZYujotdasEoQxrWJcF3MAquuhsMm\ntCCm1E+5R2VLcswo0cs65/CeSfZvc3f7SpqvgV+SDfFV0YaHwXDdo7xYpPFu\nVmjSrEJTCQUEUXviQx9nRjJu1Dt9bP+eHr2plpdr5emuFJ1J4C3SYMt6PHxS\n6P9p+cJGV9y1mHaMGadZ9N4HmYVNljAEW7PyVMNWtShPIqkeZ2qWj8aDthXD\nNenpRjxokzNmHCz8b3v4YyJilW9n/tmCojtjcm4NTvZNpJZsYxO7kYRMwzGo\n2Ilpzfp/TQegXc6ofT4iLafRgmbh4kmxk1aR4NwMtkW+Dj0U+h6x1DYNTNY3\nmgK3LRp9/qeprtPCohHuEgQqOqwFoeYKHfE8m0c/3fjypnJWvoUBU+N0Ioo9\nT0AoAeXJU0YCIXRdWtXuHnREAhyX/g65yxR3Nx9XRQUEMVEtpEc/WdMgkP6r\nkEYhHgzfxHqHrIebizKKktUAlCzrIqyf+9+h/53ThNAGYd3pzVn0yHBQ9z42\nJFMA\r\n=a1Ai\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDti0TrpdJOGJg60oFWW22yoDLvVqGOszneJMDX/yVTvAiEApjGGB43S7XUYJKJTNw983h1aL0G8zdgpYQlNSawDv6Y="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.3-beta.1_1538109146353_0.5956870674930885"},"_hasShrinkwrap":false},"0.0.3-beta.2":{"name":"@flood/element-cli","version":"0.0.3-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.3-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.3-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-eQCBP3Trdb+z3MbZ65/lLrEIKD/nySRFskDj1671zGLjAbDFqTajnPSMQoVI3sxFCuYBdGyttvY7S+4arOsmOQ==","shasum":"56948e81d33edfa7f7d08ebb3b24294c84fed196","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.3-beta.2.tgz","fileCount":17,"unpackedSize":33895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrchSCRA9TVsSAnZWagAA4IMP/j0m9wxVjjE5hn4oCAR3\nycIiN9jGWfS+rjniLHpXFdv6+x+zn67foljpvY6LldRgLwc+aHlK9Pr8j/2+\n6WWhC/XeOoVeAH52Uc9dHKn11Ud9RTiCEP/KjkE6XiiI4k9I3nG7grjWQvB7\nMpnDHm78hWqVLhYOmDL3ysy96NLCoSYUt6PlXXQkMiQD6K9N/QJPQaVKnpoB\nzmQJ8pdSqpRmRjyZcjZUnXFYJH8iHbmPAfraUnl+1VsznIxLHGr9KBc2QQ9W\nP8kCPWRpWFy0aH9DqNvY8sb+N9embMKn1CO8y3QqX70D4nO8C0VvPiRY2gh1\n31f+pPDN0N2ykSD0I0w8V3oNIfGRyn0wJIOzwFAQLCVJh79KGSQSZOEB+DZo\n29cv3KBW60iReQ1scqf07WqYyfbM0YrrkbSP3m/6Ep2EQUX6JcAq/legkXYF\nsPDVKWBYQPpSwE/8AXptTiffvZJs574SyakqziYYz/zW0u4gCRDa2RQP9vqD\njlgEyEOUZBIalgTSaPKqmoNDYt8dZVmCaU0pX6r95QcFOiG76vnMglyp2bFX\nzUbikq5L706sY6lxFOLZDb7iJjcah/baXA0UE1pflylw4ikejEcYp/AS6q8d\nKSplCmNQaqq38ypT10URCEQQZeAP45lQyXpUxHNQVLyZrg1Y1dJD7COB3rDE\nVw4I\r\n=RsCK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClQHrqm32Vk5/5eLV1+B2ImFYc8v54fFZnu3pLwyy39gIgKeltssd4XPSvSaqVzdQfLe5hTsz9b9e8+t4FJhfVfIU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.3-beta.2_1538115665996_0.17260741774030475"},"_hasShrinkwrap":false},"0.0.3-beta.3":{"name":"@flood/element-cli","version":"0.0.3-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.3-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.3-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-3le3SdhbLe7KKDuZ+VYr8bB0pOE06Dg3Oq9yDcDpq1uc0kSnvwk+8seaKWu23O6OFAVqlSpIHhRrUW3V8iEmyw==","shasum":"80c93683ff30bf1b803071989d4d228436e3b4c9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.3-beta.3.tgz","fileCount":17,"unpackedSize":33895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrdEACRA9TVsSAnZWagAArn0P/3BLbICPThgMGa305Jm5\n0v5oncEXKSyWJP7jxrE0yWi00y9uXkqfKCCgvnrzn/jikAMbW/2WoCGBKdKh\npemHaN/ofN3jg42tEYreoqWeA3R/ieMEHvPzL3T9Bg/IygaAbhAj0WiIDtJc\nKNAr53edwn2J1Lt9WI67mIyUZmrqIDu34yqIYQDydxx35jRzXerXIqRkMf3Q\nWNM1FXR2/GGsOZOqGa+QDwIYqT1cKp4MWYEQwXEcuvREVJKHI6vzQ7nwYDNR\nloGh6yqrLP4s1VGmLAC0YG3pgjGK3addYhDx053Xsz0wyF0XIN3MQ5Rq2XrS\nt+vGgJF2MGDrPxEWSK3XigFdy9A+MOPnEyhofL+A16anZ3PMiWZ8fb+dPFUZ\nsqtiT4HzzjwHMERcIMu7YRqKPImHoEsM8YcxU7f0PpzQxxNOzX5MzeKqccs/\njCzgWDg6kHrpvy3eSqVKbq5ylH4Cz5PICk7gYJz5qHxB5KA17vI731iZY1RQ\nbZmkvlFehUa7VN2V4g6SSny4CNNQLpSiQ7tVuqNjAvrKlaQTnm7FwgHbdHPe\ncdnwVuJBWEZcLM4bCldMd+LESPyqLNP2dS9JKRS//rm5W+9sbTSF5OT4s7Lx\nvWE8Ryr4bai4DdSZPJ5tSmo+6YVxIbVuMuvCb6yzEVDnfNwDJpkH7YnF/UaM\nLl/8\r\n=WTR7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD69c5zDHF/0WR1LYugI5ONm5ePQJI+pc0cy5bOgKQ51QIgThSdVHTmhPu0Ulr1m0EvSsF0aSksAq/MFlcac/j4qdM="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.3-beta.3_1538117887680_0.20195139189906675"},"_hasShrinkwrap":false},"0.0.3":{"name":"@flood/element-cli","version":"0.0.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-IHnqm8G5agURlBJoFAz3TPCvCw2noHGTfkDPyvsxt5Mk+D0cR64ujgi7m9opA5ZM1MxIezvyldHvNTXDUmR3aA==","shasum":"b26a876b489745000ec7dc52c74b18e303058ca5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.3.tgz","fileCount":17,"unpackedSize":33881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrdNxCRA9TVsSAnZWagAAWC0P/A+/hU98kmO6u8QqY0M7\nwa4BxXBqNHiY/gSywm70gOGMj7HM1FfiqxOJJOd9sTPCpNG2oDMLCnaJr/9R\nQygaTERb5Bt8rtRhcr5nWGXTzgdT2WLFHgWJ/ONUguu12jR8hT/xAwZcrSco\np6j1TSF4UVo5YdZmT4o+MEDSZwHPllYzKJYfLA9zHcRaYH1sjazq7Avzcrsh\n9bBRt/EzRNCMRHTVhCSHuvIO+Qw2yV1uiduT7j73mnf+OhgWufD20h0GfTLM\nOy7XW64TQ2qxqIKpM1ug+wAoSFgvaPXfcZC3Vixk7TR2CFf5sVoE3crmb6Uz\naqrlUAC6qSFmvnd0mskDfj0m2IMUejGNeyupUyys+pKf3MDmMPZ2sc7PCjAe\nmdknwBwI1OuoTxEj7uTX6WJuHEFgBrWMLniJUKFBhtGGD5L3Fy+xRJpchaiW\nGzo6ss8Xh3L/cMB7k/pSIZ1tKHIzDM8wCOrFQQQfG+Gnnd/fGQKQT78M73/e\nvbAlNNGdXULJH2b7gdjfKWzrYKojmD6eNt+9MuH3aFDpzvanTRweo4VPZsy0\n8Ae0nhBX805iv5IY6xCw90aZ29Yj1v/vEMfBqVtYwLGNW2G/z6MQ6zOowZi2\nCKMMBj/rsSbRkbcXkNr5jIDlwT9DlvrANEFSqCKfdTtXYyUhjJAiDQnUF8nj\nPcRu\r\n=yOl/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMm/fhawup8hx1JZCT5DPKk3LRZP19BuHXDswS6b5Z/QIgS1jFoAFeK94vsAjeFJo2se9W+2nRo62qYTrz7Hfv5Jc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.3_1538118512365_0.5981184897949159"},"_hasShrinkwrap":false},"0.0.4-beta.0":{"name":"@flood/element-cli","version":"0.0.4-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.4-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.4-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-gRPCEn62+z0rKpLSQGtM0YbPGGT0Hk0gZzCnK+bO3UcCQjA4xmoaL9E7ZmDZv+7zdi//WN7JdUUxKaVUO939jg==","shasum":"7331058dc27a8b20ac6ba11fdc72a7653ad75ba9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.4-beta.0.tgz","fileCount":17,"unpackedSize":33895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrdX6CRA9TVsSAnZWagAANnwP/R/ix4XMZi0gTvGPNqVn\nQtFaK0L0vlmC+qxK69Ppi6aOi4jltZ/8WceG1KOWt4LhjMxqFeB1CnPZZKAh\nRsBewQLu58ZHyxcjK01WVawNsajEuyvraZPgkYHA8ajpZ5I8zk8E/XJUJsDm\n/KuqiuHDwFMNjv/9mpNMro4VRAulkTxdfoDehVDCdxE4rI0Za1r0g9si4xZV\n0GFJreM8BB7jUWek+QZ+EiqNVPWgZRGqbdTU+clLCoDiLZi5HwNi8Cd0NHlR\n/EWTdeCLLkwim+iM2XA/fxM6K4yBIBsM9Y+wl7uc91kCaKxmEdMObc6PA0zi\nhu0Mkukq8YBF4yMi3v9yrFfu3ujMzwv6u6QX1KV20jdq9hHeifwfEnHOyVtB\nB374ndSfGO0P9GVv7lNpD3hSq26Sn9ABcu6keVlAzon1FAGI2pGnKQYSSBOt\nRLK3FiqJTAjlo/jpGCbWnh1W+Grqy3AEkaZMA7qdzeEyTQTm9OCiaQ1sodhC\nslumYFpK8PVQzOLGGh6IblB8RdRX5JwV79q+tBjAj2idJWafTR7rl5VNq99U\ncn0pxg3KTThf1zhV5Sai6zbjhuhLPK3sNK6RvbazPHRQt7gwgkK9bnT3B/yi\ncTzNF3jd4vGdNhGH/IMOkkdajPG3Pdwcu4YlLo21Q+Jbl2XevgO0Tufn04zR\n7f7Z\r\n=+J2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdgxLaUYOBD5HpByUBHCBbMiQT+291Tn7mTKxFIbu7OQIgBZCD37zAHRzR9AzoB8UM/dXQp0RqxlW6E0uV7EEV+aU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.4-beta.0_1538119161408_0.16819628175514612"},"_hasShrinkwrap":false},"0.0.4-beta.1":{"name":"@flood/element-cli","version":"0.0.4-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.4-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.4-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-b0FkWrsOzePVYAoD1QiNAlYABejWR4Xch1T1nue27cN7BCw/LEpHb1HrsSQDWZ858yXLVyOqt42Vow+ShWJdHQ==","shasum":"503aae62a1a77241ea63283b7012e859a48a3ac3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.4-beta.1.tgz","fileCount":17,"unpackedSize":33877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrqLUCRA9TVsSAnZWagAA+v0P/0105gkdi1axjhGLdNhH\nT19Ya6gdXMiJbTnHFFUzxmHe3SaxijT/aunLLgO+Huy+uOm+qq8QB8sy4Avr\nq2XBYc/IieBH4iNz/OujJKjerE55AIzp036I49bPLEOl2GUjOptfRVL99O0A\nz1EBjPiyCWTX47o1d/EztV1/u3f+EwbkGP+NfxZtMceWL2WV3i+zp8xxlIG6\nJ8OZjd0wZ+V48yJk7eA4+ymAjekB9KgtVHrl6tOOt3v8EbuCqB/RtfzN39q5\nhZ/OMAtsnZUkBthZ38ZoSCQPMqjTFgrZkHxFcIOMrg0MGapgSibU+MWHsZk5\nSLSf3AXNXtx207ak0nZzcPof1Ybn+IgyjBsWuIOXXqP2P1F7+h8JnMLnlaBR\nRLmozasYxy1J3jrVfOWzJrZ7BLVT1YQPOq3HTrssvKxR0Uwo/BNojhW/Evc9\nRTTwI6YTWZmgiaKAnS0JIfN8BQYstax8mys4dbPtg509OkmsiigKc5Juxdzk\nh1EPa5DlKLX9cRwHSEldhJB+j/OkdDnAWYdJbfgcNOlvhpD7CjrEvqjBbdu5\nCGlPw4MuOqZd+GgC2CXaLtNd20y5j8i2heaKpBw+lze7KfSZaXXo/rZEVgfd\nhpjGAKESUdP4lHZkc5EZdeOM/6wYxaf7lgYkQ3LEnBAzBJDWw248re2umRuD\nDvVs\r\n=Izyg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA3UswK/Fl8cjVVezBrDrdgQq2P78s5OyNVOzsFCknEsAiA21GQuqZ/ypEHqOaheqbBvzxelWaiaZ4pcbLHh5zSx0Q=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.4-beta.1_1538171604154_0.482087041817546"},"_hasShrinkwrap":false},"0.0.4-beta.2":{"name":"@flood/element-cli","version":"0.0.4-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.4-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.4-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-tbgaY3kVjtSlNfQIGRp5nD1JAkp6Y6nxe4GDi7wr7SruS6vsq4TfraxjB57hqJHNKoKUDHeLu3yil2vxHApeFg==","shasum":"f3cf4bfbc3405b9149a36c80e3281892e623b690","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.4-beta.2.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrqdECRA9TVsSAnZWagAABmcP+wStm6N/TjEfzvlIpLZd\nwq+rE81s8EfLBb/KR9dL1sw8n8a0tdSx56YM7aNtRwEgpKzwFbq+byXGXuki\nAhSj97mPXZDn6jxejNwsROlh3V3VHYe22UTUGAm23q8b96j2sm5l1dX/Ai0A\nVrPG1F8Q0ofnWXqiIwDTBFE+7DChrDd6Jrz8HTJ5lSnO5e2OqFnaMlYDsPDF\nBZIxCqLobU/R14JImiuF6VUBXVTayGz22no2by2WTvKCBVClxqTNtC/LgGLS\nx2Nn2QGAHFFew4LEmlIzg/bl+7Tc7om83dKgb8gesg+smy2HCZWC4nYhRrCO\n/eo3WnKeLMOSqeHheDGDnHgdoF7fB6i803VoH0nbpzznakwxS7F0hAQuFkls\nM1BVlP4z+Wb1ZIo6y61hNOtykIXDzPqbB+vApIptpZCd4nUXeifW0IIa2EaW\nLSDnadDvXyjIRibP/Wl4gra1uHWKfAsGLV1Xgr95WtIC6TfzYBoiOtV9pP92\nZlnTiC7wMLaqMP/wkt4N9XU2fxReLgmzHzlOGBTAP5CyONLVGXvEbUzsV7WM\n67JCJFc3bGtKn21Hygk7TsmOcNskgBf+AuuDD1IQJqlqtpaQpEyTgfHwimk5\nKm7+Uz9DOwMiWNEFfIn2/6MUA2o3Lx8JYYBCB68xMci+xVwLcs+/mh22qru/\nnXWN\r\n=Dtzu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClRfI7aIyqIvpiIENwkUM7iaryTaPQ8SLdv8Xj9+bLSwIgE+sfXcc2Fb+iaXiiAcHKdZkzybboqz3hl9t27byoPPc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.4-beta.2_1538172739764_0.9316327259112984"},"_hasShrinkwrap":false},"0.0.4-beta.3":{"name":"@flood/element-cli","version":"0.0.4-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.4-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.4-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-jZgbPREviXSzgVfV1+3fz4C9uQIll6FaqOJ4gccPgKoQSRd+YNxT1i+rpYjzcaDeAjKKDaqxCL6NgGoLZbnSow==","shasum":"f6529b742d0597a62fad53b1fc66716d0bfae7ad","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.4-beta.3.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsu/zCRA9TVsSAnZWagAAMSMP/1DOxJdkmJGzYXCol1tj\n9MWffFXSJBUXX4idqO7eemgibH9Gd9qkNKyRirtKRI/L/FNUZMJsuphP6jXu\nQaargtfc4awue4cTC3Vjk/m5EwpTERmZ/CXTljWjW5mR3Mf7wJtae//3UoeJ\nJG5hZL3E2txZ2cLVWKeEUjeUGbiRl278lODxjxvWoM4CatMwjQvVZDu9GJVt\ncZEEhBMp/jC/AeS+y9nYCXXCJVpQGuQFuRSbu2ZCZ11yWWPxhtpqCulm0ziq\n2XyOyCd8NnBaa+z39r/Umwy4CWpThUKTr3JYWxGwjROw9ClABYE1XTlHDrDB\ntf4eH/DzV3YQrcP+TRUbXRPtUwA3PnjXAaDfc+ao8o7Ox8Xwu1Q0mOWnHheT\nRR6WZ18+z3c4iHKUA1TX7y5T4CD6ODEElShTHEEbWV1s8d9Jppas1f+uyPNu\nfmpWsQbOY9pzNJYBNuZ48Shufx1Dw3AWix/a4MiurO3YrQE3hbXHMtQGQeVv\ne5zcBySPZXwFCSmbCMLxpzrzPkucRlm5B64171BTcGrV4WUvndGtfRz+NaIH\nhLvkFto4hrmZP3xfvaGikdFq1m1C/LmVLYo78KhKcgPlXc4Ag+8YPK50gZ8k\nylp6kIq2BKAKpMiYDCCZ/ldeZyTvkGbPMA98xmMbWCDUZq4fpR4rz3pJT1yH\nZc8d\r\n=oA46\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjIgLI1E5Ts/V+yNtC4pQeakWGtGX2bU4ENaGOfmot6AiA7MPbfZOfVfCEjj3BoGr6Wm74p1VbixrbHgO+pbvKsoA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.4-beta.3_1538453491086_0.7955402741013666"},"_hasShrinkwrap":false},"0.0.4":{"name":"@flood/element-cli","version":"0.0.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-EUQra6ycg3hqOE/f8Vm8pyKYaFCh/MlKe+8II/dAgv0AGOGeT4nB42hX1/gJIpeSC6ilU97hCSlfn1cezD6n7Q==","shasum":"e7b93f8923ab362da240ba70d6ce8318b9b81d05","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.4.tgz","fileCount":17,"unpackedSize":34070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsvNjCRA9TVsSAnZWagAARucP/21ors6sbaXzXCNK7KKH\n/UHBC5ANrpKKf9M2SO0Nru2TUdbhmGPBwLloVqAuMRPuqj05tXDEqJf4ikRC\ni80oykdgxqfUBaflmQQftW4nl2hvSSVKCDXrH/kph5tW1x9sI0Aae6X/rywa\n08oS2YXgZF/s2/AlZv/ACnzzmdGU5JXPK+8dd/uMxaIssFxJ2IgazuTBQYjd\nEoovqaEMenYi+7MwkdJt2Qe9UEe3kSgTZ6ss+V3RQDsu1Qu7o7g2dMFzGaJo\nWSSXVIo6pf5J27TbHcrKtZPU99aEZ1HFEFMTUa/aOdLqbLs3pYU/t4GzTLfS\nWvdmfZgq0kBqnXkKKm5q3pWyYw+Y7RHzTIP8290E6AeolUj9nC991Uo6QPjk\nmGmEApIrMDRyZs1B4wIg/DqYHzrYh63gmFUD3l7LZ7hn2MnB6C6+PnFy5xXz\n5ECJsrN1+J9CAYjmd0lC5tb7w9fgp5AIaR1bXcBGG2vR2gR5EuVmUJ1F7nxy\nh9SaA86vrWTaZ9y1zAP0W8whwKXbUtkWWyhd19CbsabsjS6rVz5FKowTP7Tl\n3r1NGg3IQde9pBemwH4iG/3uz488Fw6SHRtXSbjXvYKJXtqSEXXoe6QdrRw/\nRjP+h+DJXRsSpmo1vJRRLQ8hhN71g6JNnDUGNv3Hegpk8RysVZmtuBms+rNH\n+E1I\r\n=7DLT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSeHtqQbY0vY8I+FPX0WUAa98XWyCQ9jMC3ibHSt6wpAiB625u4lQhKuB3oKQ0WII06WfzmL/0SGmNx0MUexulzzw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.4_1538454370800_0.0859187289878729"},"_hasShrinkwrap":false},"0.0.5-beta.0":{"name":"@flood/element-cli","version":"0.0.5-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.5-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.5-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-U+PsV1dLCoA/CxEE4fk1CUi+J2AxxwVtninjsdWtVOYUWqDWhIAdBy6+wCQ7m31WFYyhbhtcRZuqCceNsYozbg==","shasum":"404ecfde38ce083548eafe471331172c5a8a857d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.5-beta.0.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsv27CRA9TVsSAnZWagAAu1wP/RC8nv8u6dcrhHmgDCeC\nlT+Kcil5MyIITNxrchwRq6b7VabBnXSMtGef/Ik8+zcnvVYiLCm6hs+ncrN1\nv8rREWoAyo51aZ7+o58+Safdvqi8s8Xzx598YXiT4g2+WzRpeLZc4DFEkbcd\n7BfJK+EQUw64jeN/RBFNvJl0egFK1ozFFVNoopCNOl3KG24t/WDO/odniVU5\nPxQGfyxQy+OqYAp3dyCzgS6BzMz93bpeUepvYe+VmtUv+XnuYFp3pQaszJEE\niZeJ5kgOqcCosH6nLtBCh2oMGXZ5BNSyTBo1PbD/vBwZaZLpMPXmjTHmfcQ6\nQ+ZfP/2r8V5+5iSgASHVIHlasAXdDErXNaWG8chKh9qvDcb/UPHNDTS9J1Kt\nieOxekqTy5ld3hv9pfbgSt0uQeaJ3psHtYJJBIoCy1pPZ0zFnxeMw0GMCG1I\nlt5HWc5bDLeXQM0Xcm7BJebw7CXGVnWDk3Fk+TADgWZOTFEVr4jgL0xjdjsK\nwEn/DpYf2J4WLSl4JBV8VLX+xLRfdvjAcmu70Si8AqLLubALgZa7Dxa9DFb+\nfyZwKu9BJTdwhlt7Dslx0yaJdH3FwpnocjSCcUS/D/eyN1ef8oVFiTCHAPkY\nOXiQWxsWWx0fjUq1u969G6SPGHJO2Osh3/JbVlO2mHuTRBBaktx3iHhwBLPa\nigVl\r\n=l17J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFu/7Xg5wLGGIWHQegBq9K/wPXubIZVhOBYIXqri+upAiBLXUIAYeA4l1AJblIgz4kkasphssgPPnm8aqFDITgf0g=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.5-beta.0_1538457018804_0.26210452934278794"},"_hasShrinkwrap":false},"0.0.5-beta.1":{"name":"@flood/element-cli","version":"0.0.5-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^0.0.5-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@0.0.5-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-sZnFJly832Cr6VkGyhrY4dRf7n2i+n2Qakbw0lZoks/8p0TDfz52/wcgSlorcKO3JnC/d7hllmaIu1Np03TJsg==","shasum":"04ad7921ee296256e9ccb825c15f388476975261","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-0.0.5-beta.1.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtCmCCRA9TVsSAnZWagAAe1wP/2jcuy5Prlii/AujIISs\natkpCn6YiNppSWwE3aMwmlgExBe8RoWAXoMQhA3AsCi7udSPbcrFr97T85rx\n+70qN21IKdL7nRmwUmX2f7xcJ4pkOrm6D/Rv3Lg5ym64RtHDkD98ifU0V+ug\nTsdgHPaIbu94uXvc6WDC8s13iCXaxXugmuigGLzeABCLPl1ufgZue+FO+TQn\noSElTIveM9icnHvx+Kzy++DGeWPtgTAQZ2HIhwLEgQtQpRHRyZuUiqWiDDXq\nX9FSY7LFDh7Vua0tj4LVv82Osk1k2jU6mGaMvIm7wnjgZhP4xz25ERPV0r2W\nLDicphg4sjVEQKHxD40KSWF61RzrTt4wH1n0uDNJHMrext70rSpJF0BBbrbo\nriLOj081MAfL/fWK20WSmxVpq16+xfYbjY/uaAJHibhGeHA8rhkqAw71D6/Z\nKMwqurSZaqhPMnWua6wLrlbYGXVWMLRhBE56qLr3wcqPd33+dT6VqpkP9k/X\nsq0r7T5zunn4Cqx768lqSyBn62f/CJnfSe8ysNmZUrJUy+mX7mzES40h5s/E\nmA7rIKUG0M9IP1hi59u1T386SevkXHIzV+lYHaFM6QNwnbPFil0xkg48sxGE\napytD7D8Hlxwjkr4/npTpJ3NSFBrfuEzaWfGWzCAiP2ehqO0NPCxPaRYWse+\nCBdf\r\n=y7ic\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjSxengJ0lbJg5LKyVl87gyf20FXta2LNoTeq94u1KHAIhALE+Jauq9sronMrPWZDrPyPjU3MYGLBQf6fyt8qKN9SN"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_0.0.5-beta.1_1538533761630_0.8705242381899962"},"_hasShrinkwrap":false},"1.0.0":{"name":"@flood/element-cli","version":"1.0.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-0+oSmu8o+zNSoAmlfgx9dIq6SAolO2+FaL57qhFAhlL0j8IaTGsmEXRETXBjpMmi+eYJ2DM68rb0ZhfzT6iE9w==","shasum":"9a6ba9a7ee24dcceab6a79179ca9a7b88a99ef7f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.0.tgz","fileCount":17,"unpackedSize":34070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtFr3CRA9TVsSAnZWagAA6IwP/i9uaZTpf7iiQUHBtC/3\nEHNgEyhVym/lRol3QGD3H0Ga0GEdW19D/yq8cEYkdz1FZM4V3Lp24hUIulEF\nhC0x8XM8JgD6ssIOL0yRGH3z33jsATGcPOSI+htFW8JP59k41JSZZRN1TD7y\nbLgdSZiCqejsKYzPbbZSagtS7P/WqJXPtpHs7URtzW3nwMSe2Nf6nXzCjEVk\nmaSQwxy8BXsCXHpQPmo8nMQMLPAMSj4UYuz+hGv8qQuNlnpzlDYZjJnmjXng\n2Z0OjF0l5gXTfjtXTlC4bOx3g0GcOPlFyQcWXQxXMiNepG7a6kTHLZGRw2hC\nlNTqk+LaOyEIdstMk9B47GJoN8vDd4coxSDSNmHDmyeHU9CrRi0iA64a1e4W\n6sd3MiExiyNN505JrRy8gE+rDD1WEXtgyXoLFbpEQZSJPgK6tA+wlpC2XWy9\nyhr4dQEILPhGVckkj9Rc3GjV+AsPCkaxXMh2XuR2hVo/dwhWTf3kPcanlfMY\nF7aAbpbG8xG2CFkW3NqtQOPr/VpgDtXvbnU3XvDKUhvMG3xycu7CghL0vXyM\ndOOgKiF9U3uzQ2Ka4Tyaq1LxRpzX8kD1LMa2kQo9qC/pKN4Ar8ng1qgqN52Z\nubVrwmQapbNYmKHopu8rlHffoYBffqdl+W1SL6bn8Rzm8vXdBig8xNfk9XhF\nZHsy\r\n=KoZs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4xCDYzbQIWD1A19yA2vimrAyqvCa3ZuyD3wB6HRezVAiEAyCa9hXSlySEG1MepU3DcXffbfdh7BYNLWeQ7+Rk3p84="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.0_1538546422571_0.5949501121299554"},"_hasShrinkwrap":false},"1.0.1":{"name":"@flood/element-cli","version":"1.0.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-hYGWS2MjQitw6HKawtU5GCXYA1R8rHm9C/YReqx+k5HGhPCToy2xOz7Vw333wAkEq9tzuq6IiMeW3b8gp7iqtA==","shasum":"ae80a14f73c00c2188dac3c7eeabf66bb0d0ea12","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.1.tgz","fileCount":17,"unpackedSize":34070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbycxdCRA9TVsSAnZWagAABwYP/idy34NbAPZx7Zbjm2rm\n79zIYGx+x3Uvy6BFqOdgqLwVllkJYV1ta87DB62qzTRUoIjII4HW7tee4znY\nZZWwlEjFNrjCir+BG+uO8XrJccdV1v3s3sAYM/kiQMv+Bxb5O5QdnDPg7jpy\nEKgkTtGIiBog9QQSbQrjLB6yQrV085Vq5CdoM9v5MeUQ832VdNAz0PGGGA5q\nw2bu/gGUO0y/n+4fA4LHUyshcfPbxy4AIic4AUr57sjtRRbHkDyjzudRorLg\nENM7Bvn2ZX6fjf0wbznOOjJm4zQZ2HII/IKB9PSNMZ/EQLMvqV0yYI/84U6t\nXI8TtmEwA6gtrw5s0z9J1XKA3kstCgQxIXCoLXfwQ0ac1iGAwy4EfqfzOX96\n4QT/+oizxqhD8Kz2lqbD7O1l3JpNGOz/oc+Uy4yUcWRFTICDvH1yP4/8kNVa\nqh6dOG11BHpxib50nZdvVsKA8/1Osmi0tydriN/12NRmNalCwJC0bBZ6LEn9\nx6lta2Ns0+W2/LI66ACSp63LfjtNKsX97EXQxWpYaz+/ub6orprXG8lChK4f\nwqhrzOhZOTlGMz4itFJMbiE2I/IPcOkaZjCWpMxDETf7aNPOkA1w2sb5/wT0\n1IPWINVrRAUabaSxt6oQOlcyj/1d3JAYjuBOQT7vC1Hd7NLZOeXe+/ARU0X4\nG2Qh\r\n=ishv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgkfgheE/4VQdJ/h04fnqIyRQ4UkGc7kww9qtyyyePFAiEAg7v3+l+nK+WZg8s4bmdat1trfSMm6hiqSVYCappHgF4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.1_1539951709053_0.6160232391492664"},"_hasShrinkwrap":false},"1.0.2-beta.0":{"name":"@flood/element-cli","version":"1.0.2-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-ktiJIuMr4dIjHsqPqo+F10WXcbBNPYSbVa8AxJ39GeYetTXG418ZLzj6fPfc9c87Xq0qEyxvL72n35ItK5P5qw==","shasum":"56e12777e534b7a574676a9b66a1a0cd9eaa9c15","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.0.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1reRCRA9TVsSAnZWagAAvosP/iR0Xq7aiStwOgVL3aUL\nuGvf5XrDdq8Rey4FDqT3iIAWbm/T8JCFW4WMtrNVC00b0I2wLc5Y0gRm4YMi\ndizqZdi1g/kgLpgBONYSQCqnNAiWXOgPPFB9C33+/h6uitCBzD87C3U6JBpq\nBaJ5Bn5tVS3wVPrxXn5g7vj+FtvhK0XjbJ9Ojh2FSV/a2GX15jHJlOpbDXRm\nmcbB24sdZz45O0XLJbeSJ2msm57V1j3ZIjHCtJWlyxmSva9lJWr/UXGHYbHg\n1gYB3Q0wm6GIE4lNFaq4PvNpeTJEsXgTRYNIQChL3+aQT3xs6bGQJojDBptB\nGs+Zqvx+KxMJzBtQcM0EcCwht+93zzZ3UVBavPHRpwfEVQ11GoPQeUgIr5yN\nTm48fhWhJCuBZ/o596LVVHkJJd814Wgv7ltZCzEzRSdDFfHht4FzeLWA5jih\neaSygQo9lecM56vc1rWCE5QOqSvsgjzG874fzLcb5QB1irYxUh53dRwiw3eB\nYRIuq6KuPgfyL4NNLCw1hSZ+nNuVDpPj1+YLLDA401m1VbVzTorg07D9kRJR\nBlwq/u3V0hZZErROR3yT2e1pvwLs8thVg7WZv6NW9ppYEwcm91JkV4IhzWj/\nUtl1OMnBQJIHmUrFnrBAZCI/+AC1V4fRx4Y6SJGydOi4KYKNvxS6aifYBLzY\n1OBS\r\n=pA1c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+EoE9EXsm0GRqBfAo0ujOFi/Fjimg7/mcQLt8xrFtxQIgfKthu+39/TkU8MZaPtBQqyazIKO59W/lU17Fb41njIg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.0_1540798352237_0.5914721129905036"},"_hasShrinkwrap":false},"1.0.2-beta.1":{"name":"@flood/element-cli","version":"1.0.2-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-d1Ao6SW9Ea3ILT8Zad7HnM0wGG26rbE6lL9fMKXHJ8iaa2fTI2OTve4DE8ugYFpaDE78SjRNxS17Brj13BcnZQ==","shasum":"19b994c9e8252f1992dfb9fe87ded1548f6af7db","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.1.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb26CYCRA9TVsSAnZWagAA6sIP/3iixeimlCYfSu6o0lNb\njE07kknNtrTrs/bNZT6Vo4lWbFHMlQ9/ZGPAJnh+eCbmdfN985pn0Udw3BmD\n1DuczR+icl7cEqy1aYn6yyMy825Op4/uPfiJSVgpayW097N2w6KXk7xg5Ga2\nPOZLGhJtcJ6GjYeAUoiLr84q9GpQzrzfejyCVx9W81ZDgnb4pz2/LRQhODsr\nHtX799XfmFByqCorJ6s2mBHvfoohJEDGVm7kI2b8NfCmD+oXAjmWIBJKd1vF\nzZ7PHvwhTbxz+NKRO1Itfib2E3lFwGIFXegYcUqGKmd6S7/ckSlbdJ5RWerz\nt577GeQxOuN+QbnH27mC0JZQs/3e2PYyFQwTHKKM84ZKpMao9T0s3x3KAEHx\nLm2Nb/6UwY1fSNo+MJa+FxGW0XGJHQPRygDfKMF7OzJlndMSZKZe8ZIPvwb/\nWuOR+yOuAwqOh59SmwlapENHwuDMxyNB0rGCx8iBpAEiBktwmN3z5dnIrukU\nYYmrxRdXu4P4CuhQceC4Cj9K2PIQ0NwKojdNne/OcTQxjxpErr7zA4rFdeQz\nySNlZkr4adxYoTq7xMGAJHzh0EvvX8qemFjY4oTpUePX8kjEesYxVrFKx2Wg\nR/d45G6nEDmmXvQJbzN1Zm6dnz1uR69MiixvW41cc6qRQUqeiSYlHHr6hqGe\nLeO7\r\n=U6fZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkEkLXmRF5r3+Qnd/TgsENPW+jm4XHxrz9pD+z/ns2zAIhAJtvHWk6Ln0wIIuYfnlWnl1w6XZ1Tx3uWnrpTsZ0irNg"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.1_1541120151539_0.6791641575623713"},"_hasShrinkwrap":false},"1.0.2-beta.2":{"name":"@flood/element-cli","version":"1.0.2-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-taHs8dACCMx49URml0oE/25VPwa7ZYqWXl4Qk3UJe1QluEs4wnqMfhJyg2ABsnmVwxnbDu9HrXvwBGCz9GUt4A==","shasum":"fe0a75320d15dcf57c7c86f036a2ad0bf166a4cc","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.2.tgz","fileCount":17,"unpackedSize":34084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb26xvCRA9TVsSAnZWagAA7VUP/0wemfVaaRjwDx7E4zpy\nVJNM3gvCdf6g3bNdtk4/yMHC5tSTqziJpul8Ot5gFb2u7MEDcZY+e5WOC6yp\n/yzU3u/DQbZbo4W0pPJ8FonHvICxP7Jr6XCpdpXKcS0XtddpsbGKnOxVBNNm\ndurTw2s9REgjljEMJQV3vjJErtC2I8oMsi2dymSzxa2wQZq0PDK6o9iIOazV\nup9oa0/+Mim9PuAeaVeCELPc/qatJFZwISvaPFFI03WEwDxWuasPpWX17kSi\nUDRS1q3WXr6JsnNhHmZXs9/ptCf45XNCVX8N59d+y7NrJcBlc2rDH62dnjYD\nhmfIlt+DwXwJlJngnVjgV4TDhhB4/bASzgJ0ysM8LicsHQLChcmUgsDEZBg8\nIiL4ZEe3SKlAHhJtrsHY30VziPF4U0IAm9mg3WO/Lc2h3X1dQNe9OeLl3XAn\nANzm6xKmXyXxQLXxN7Y6n6xg3nZYMpF3eHZdgELUAcByW24S8yTGEacpj9Lm\nNDraRotpqVsZVWiOBZ3rpRaoH0cOdFnp/K0jz/3k2+uDmaTpdBHObmWVecp1\nU0Xpq7iBlNEnteJ2LprQ2kLyDmY0fYCEWgD8BbYLWO++TxdX8NjaPQ6JjVRC\nM+/yBRTNGiXxIwIaIrZYdwfiHweZtfqs5/+dcS2RDUCXs2yTRASGkhkO+vCd\nkvEb\r\n=MYyc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwRvkUQUX4/ihDI62/MhNEqffiFoMYxm0Ng2bJbJQV9AiBHeB32EdZ/Zi1ekFMdn+2tbNs6zwq/kIBNQT8PpTQ+VA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.2_1541123179862_0.0011096838860655822"},"_hasShrinkwrap":false},"1.0.2-beta.3":{"name":"@flood/element-cli","version":"1.0.2-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-RPZPy9k71KT7dPSG5T8l5DYGoe5wbwcG08DlQdFYZf3aviquNrnRePAqkEy4f/xhERs4H3FBJsoY5Muod1LcJg==","shasum":"c490753ca5a27e0a84615126532d91292563c79f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.3.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3BftCRA9TVsSAnZWagAAp64P/0V3pq4NG4k8FmoI3vbv\nkkVm9OHN1yqFRtjfb2xY59xRHQPauisw+xwOwLSwKyotScIQkOpDWm1ns37R\n8R9AQE01nhzB55KZQoiGBULCGDfDyIB5JXq5GLiZHee5rMjS+LGtYindfi47\newUUJXPtDh26H/aqYtb8zM9PVpDRqjbDZZJg6bkJqRVm+32Wj9QSev//UX+W\nzX+p931X+V+YHKw7VctDsvdwyKUz0tlqAwXE4miQYFH3S68vXrmprgkYIXmd\nmj4U1j1LemqP0M6MzrEXmBlj1O8Ew6z45mjmfrlqlmXbuJ+luNccdyozvstM\n/WSzZLsCkfwgpxoOLTR/qOP6n58mx4Fvbu489g36yF5XkxrQo/Q9Je1AbuKd\nXgjXNrz6AeqxXaezEqSaEpb+JeCa39SsNl67C7oWQJQkRim6Y46BqqXhepCP\nYjEvHrf296wEgypMetEUDSidkEYqd8egRu8tHGA7lF1BpirgFnJYWQ8MkSVl\ncdQPWBnBUx+wKf3kKaqrgu/7cOu4qeRdVPhnx71B0mS6ke3NtEqz7zsAQfoU\nHt8UFHniga0fYW5ScAJGw7puNiME5arBoHN/z5/9A+I6Dx66FYGP04gNg4a8\nQEiIAz7wDWsg6BAZ816q8A26WzbBW38g1Rr9mH0ux5Jzsq5iVQ1qAArtTiyx\ng8Zh\r\n=7B5E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzQKOIm1du0g7J7MKQ0nvdcSp2R1iC5gUpvzRG7y4LUwIhAIwZtXXQopqrqh762aB4VDilF7sEHt0WiWiH4SW6bAlh"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.3_1541150700448_0.6192462488941932"},"_hasShrinkwrap":false},"1.0.2-beta.4":{"name":"@flood/element-cli","version":"1.0.2-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.4","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-Ph36qwg0wfVOXQcp8pOIrhqiF1nA6Yhudm/GhC3+hYMufeB+T4nyN+ZSLoqRUZ/LwBIP1dBig9DmBUbGZlWhSw==","shasum":"76773577ae6490b63220200a2fd041ae51bb9f1b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.4.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3XJ+CRA9TVsSAnZWagAAqDkP/RVkkDNfbsllTZf2TSiE\n/YP+AEEFMuNJ4P7p1XMyvD3X89U2fcYU70ijNsHPbwizn2OYwG3EDRyXMCI7\n4lMaNJQxLKH2GyE6KvhjMb3hpJEpg0sRLJ+Jw53VCKY2wiwqw+s9f9lWrA9F\ntWqSw24TAUSwXkdSot9cKNMxC7t4LfeHKpnuI5hJnBBJqTgJJHrYy0FC/AcP\nbhcqfKo8S67ehjM4QalyXEt96RYbwpjMtzaZjvjTDLuYKrzrOspQlsm8wwxi\n2OgC0aH48gI6n5joKOhDEJwIQVG5B+HwEfgA4t55WHKBgkSdVPGDQaf6LT4M\nyTthp9Jm114f9kBhKQ7ojJtt0el61dbIDeZInq/waOPfQ4yfheVPcYOrxKVB\nes/VkDdAeBTgmzbU0z5NGzE0+I12nGs9oi2Mqt1eBSG2IoODMLHLPXrvTACV\nkRMGKZwZJwVL8Nu77dPwTGkh22k2OpEXJ/gjq0s3clFWdvJ2rXf5MdZWTc2v\nxLl3tYTPzHZO2hBGnyZ8rUKzQJnBzv3HKqamiRh1ZY+05l+R0ljVyCLLGdr0\ncvqQx/hNrl64DzgfeJgRBXF3gpum5+ourxrv78Uk08BmlCjDWi8M8KuY+FSn\n6qQpw8iLx6Am2MTWKqbRsPmsXkK8ZUssC+HGDzuAe66BUrj2xR5OOSjzWRjd\nLdhl\r\n=8IbD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNQ7xkLHjLAcr3XBnuix/C7ih+nK6jtRJaACs/ipHY/AiEAhAqKwXe8vPJP309gwUVBKqaWWdKArDQ64RcQQgKcXUc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.4_1541239421926_0.9262476985471397"},"_hasShrinkwrap":false},"1.0.2":{"name":"@flood/element-cli","version":"1.0.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-uW+QjX4k6KKg3mVBQrLiG5FyXU6yaDDZE2tUH45T+lAiKS0L8r8ppwN/xC5EO/VW/qQfbITJrMy++jJGIQTYJQ==","shasum":"4561a6bd3326e0a2ad39acf0edb8f51d9020b74b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2.tgz","fileCount":17,"unpackedSize":34070,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Yv9CRA9TVsSAnZWagAAB8IP/A3abnJ+ATpGmb4EHlTc\nUH8El0pj4szW4DlhZ/SinQazFWr+NCvRumSlCuNTa1rBL/lsIuVzlPI7LRJv\nihpSDYDEKJGiNigkA5UB+49nNfugc0vrrW6D0gqlZPnYaeHNIMXtIjDDBTGd\nlHSbRBtM3EgMR+k99fb9X0VZCMdzuSxjK9CyGqgP/Z9drrKmXULmbGhIg210\nDRCCsRd6bdYQYEg2AtiScAk81f0RBD2z8BloUsKXPdq/6l4NvaeJ7il92DZc\nYQdxVC5aICDs7t6/lf70G2SfXCeafYafR+L6BMsBzP/3Z9ir76f/Q0g0Bzjq\nOn0FQKq2nM2SSvnOzRYpREqz2Q08ohtxiRoTitcYLLAk9jhpouUIbSMePW04\ncky/yYBBtR7/KSrudGbmmjdQn5bR+a8UpnuAi3VMIkhXpakue8jS9RSI/SC9\nm+Sak3m2Oy0xefA4+Mzi/LGcsX3TLM2MzeMscKYyiL0JbLshkQC8DNzsbs8S\nZCiqUiVO5CI42nA+v7Qk1DkX+8EP8kWGJ1Nn2YMyjhmN+BDiAw3CDMx5XfsT\npmL7lac6z17vH1pyml4CYR51MX3rlIIGlRkgpomv7Qor07wGq2+KH+vCFGwz\nnH752KHOREREQEObNeGRpoowd1pp/KqkgYenbQs/TxKGEGT7pG1/aDQCTDJw\nNaJp\r\n=nEsK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOuXrszjFuoUfgF1mrJkwKL2+abLM6upbmO+9fBuxngQIhALLX6KtTRnDMJfHOHSHi0P84A1G6jhyFVHftnLocwrNN"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2_1541508092653_0.334417240154814"},"_hasShrinkwrap":false},"1.0.2-beta.5":{"name":"@flood/element-cli","version":"1.0.2-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.2-beta.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.2-beta.5","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-rPzhwPAYJIOnNeh5SghHzabmndZT0k0vr2RcnHNYigEdrdqQ4jRYbfAlu9lvbd7TWAYHODyN8orPpPJ6qBbjcg==","shasum":"763d3607a4496c662f36da52d51f5208c8a7010a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.2-beta.5.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5WqCCRA9TVsSAnZWagAAPK0P/A7W1rYOHBVsGm+R+G5H\nQetn0TO3TU4TZWhiov3R4w3zfJY8uOhmZNmDKQ64F+wOulQrPY4CHSyfF+Sf\nZ8IZJH253dWcWDJJ7PM4eOI3XEExRI1+WC3+yoliHN4IPHo+uLJRFafDo3QF\n0zVIljoC9jIsOMnW6LG4MCg7j080xksSCDTWwLoEx7U94Khr0g12nmJwDBe0\nWIRUDHRY43+jD7f9rrn6WD5d8VliZbZX9BKsYTR33mvDGxlNwtiG9TdQIpVb\nOAwbcuNytosibdvcVH8LC8hG1AoTjdQw9BCJ1YLj5iAw4QEat9RKaFQ6cAz/\nAxzSFBDefPMUZ+lXq3i0N+0X5xlFn+iwvjbPewjRP5v8XwlNrWLxerwYbahH\nXzdS2BePaMFFvm9xLhSSjS+r/AqjutCWY31gnYY2qRxeUWOreRQaPHupYCqa\nE7E4RLQpwdoUVKGdcYHuYd4ve40m4b/EXwxYXvdT7NE30e5ENpndPy4vmM+4\nj6n98idNPn8kl3/PS20RhweqjB4TLLl8ibLx+ZynqIoge2D5LC8QHLFd+fCZ\nYZkyHKuSMrYmeen/doIx3iMya7m/smaiA6YpMB+5yLkIE8MS5ps8BfVMqmQn\nZ8Z5/swpPmaclvCC1UjLPmZzirZnNbiIJpsHmGIjIG9+iWnV5MBVnp7bUFzH\nYfF7\r\n=TbjS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3KAVRAPb5f5R/roCdoBgQVN2PLUXYsqOupmwEOjDJ3gIhAPX/tIyCW6zisXnNIwhni8VHEcQBM5D6YzjIaDQSFh0i"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.2-beta.5_1541761666077_0.9628262247962867"},"_hasShrinkwrap":false},"1.0.3-beta.0":{"name":"@flood/element-cli","version":"1.0.3-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.3-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.3-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-1oA4ubw5vQFJQ3ivz7n/DBlFJ6FdTCQqoMk8F/VaNkogrtjOkLfCmpcfX0kn86jwMxgnS9rnFWHvAUvzsMONuA==","shasum":"0aadab0f22a7fbb1760ffed49882cd7986836122","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.3-beta.0.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8km5CRA9TVsSAnZWagAAXNYP/R/+BrP/eW7fz0VQ+AOG\n/pObb0Nyks0Fcexi1LWrX1hP8KLyune/XUjWuwL/419OApg9m8FR1Mn9aiPy\nkdzAf4C2DI6p6MQpV9591PtYktDFnmmFV2sKm3zWbwy4M8Ng4Z1RlDMEDgV6\n9EywZiM1DhrW4QcFc+NJ05XPwIN0KN+m04ctFN++3prxwUAs2ngnIB34+sH0\nRmdhX8WiacMS2IZEbfUK7/X8GXOr/QppT4cAVfGwdoZTqS6FTW3NKwOTyhsA\ngCdH0WMBGq4AUKczHyyy8JdYYIKIeJLCzc5T7ofwwcurq05IU7HTgK8AppNa\n11tENuXitwfZ+H1lhuX42/exQQbRcOJqPFRibLEL7lx0HEl6Ira4fWry5ZsZ\nT/TIE9nxkzvNqpogYWcpdGlc/G1Bp9eJCAL+g6PvDuM3id7k0VrFC2ryp87Y\nrkikgyZjbSGvqyhke9EYcUrMz5CQq9mRhh6DLSAskHIGj2t9pmo7vXwD9sfd\n4exZG2M9ZjD8DMXIWwT9oP/BuLPRF5lMWe952mpU9UPzYUKIIHvcKAc9gyeh\naH4iH5YHQE4tkkxGx2zczOfeBLR5NCdQHSZamT7K4iItS9ikkQivIlCIvRlH\nUjYyd6nBCfgLl8T1tj7QFa49t0+TQ/smWDRQGP2yNhzyJGMMBAvm8XUOh52+\nXXke\r\n=O3cb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgOsxhflom9CGBqah6/tk5iNqwROpkWKBprL/WRxdqgwIgJMUFoddqXWT5ie3sSk4bqz4OExPaIIOomxY7oWsKtI4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.3-beta.0_1542605241255_0.4288000669442362"},"_hasShrinkwrap":false},"1.0.3-beta.1":{"name":"@flood/element-cli","version":"1.0.3-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.3-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.3-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-oYVF+tFn+DxDoyhjt0aAtqwyWraKeznanXEMn7Hx57ZT8mxPaL0pX73Htxz7Pft+k6v7E2ccLLzGRDDBYU+1LQ==","shasum":"c52f7b1ce4084b139cb3cdc69c39c417d6e18de8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.3-beta.1.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8kxqCRA9TVsSAnZWagAAeRMP/3KggZM9XjN8yr441CCa\nt4asG107jSvnqO9fRv68A9khtOYyhzThPEdAEMUyEJOvWQnmjpfGgLlUMkO4\nZuKCM0hy/tv/24UtrSNhaVln5rI4bEX7EXfe10Ri5grbClhvO8G+U1Sn6Dim\nyDMdlqXNLyDlbUFreGZQmip777qXp4bHQLU6CJltWu1tthVyfwzRIHX05+50\n/qstYv8ove1AmoUvNQlsYiEKaGL671oyz+cm8Pk0BjGDNPre6NygpufbX0a6\nCxla4hIJFXN2ZvSqz9A+QriPY3Bh8koBJjaap1J53skew5HaK+L9QvY2LUI9\nV3ck8ppjZkkaANtyfVGoMbfZMpUyrMgNVdUZ0bKn8dYqYZnvyjP7EnyF7b+y\neBFkqGGU80Xw63wumfg35bl5PMUM8dfUQ4NqXLZU/FJYZjWAdVOlw0glHd9h\nSibMybxS9DPURzCLRD3EdSHRVOd89g9DccbVLSrrGTD0GpJS1NqvcjQxhUXe\nniW20LeQL0lni/6JirJHv8V4i4UBDJq2AvERgELh1hmUyWGv8nf6OIMa1NDq\nZHRCSR5hh5sYKj93q9bcdfkuWpahUryGzrVvKrpbYI1MQ9pyqcb+LJ+lq3vB\nyg2qQmMO+7bvixucB4Jw5H6EEmNvdAPbabbAqHKHAqeYsOs0purRLQVBqKyR\nrbyE\r\n=6Rfo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoVHzfXKsff2Lg8/ki5T56vppSe5JY2MDidUl2uGREDAiB6ZK7ML0mPzqCrlqFVkcT4zCc+TsI9u2nL3ba2zn20+g=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.3-beta.1_1542605930111_0.5084913442827041"},"_hasShrinkwrap":false},"1.0.3-beta.2":{"name":"@flood/element-cli","version":"1.0.3-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.3-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.3-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-NdJKkIvMBTWM+nWOT05tgW8VxUxSBYKp+sIULad4zhn0Q2T86q0W2UVf1kh35UZCZMAzCIHlrsWpzi/nJIT8dQ==","shasum":"c7f9384d98797972858593f8e91a3fbbc6859821","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.3-beta.2.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8yU3CRA9TVsSAnZWagAA8hoQAIvOl1fjIiGhflkdh++w\nl2eqjhUzeyIkRXOGqDQ9/tpc21tnIAf9H42AIfuloBnSHBw2jQFrossA78+l\ntK65xxgjuu1d64wYuc/YRHW5w54bncKP/pLgVyp7nt2PkgKcaUEYC+4ej21m\nc3TX5aarDnSqxoAS17CuM93fJuiKruQYr7jtetXIXaQIHwZ6t/MVZ2n2c9um\n8ohtWLgCXufkoHGXfAUOUqJnleA3ep2D0tD8nBzKF3evNFk33Q+0zHGum8ol\nD4W/XlPHtmV/P391qHu92c+U0aQYSmxLqR66cEJKd+yBZfhyjZ9eiZsgs2Db\nikgVYJI6VxguMsizO2oK9IE8gkaeCVEC72pphX8vg/bHQYe6dqmYT1uyRVeJ\nKSEaz6kvnkbkMEjsUqNX3jdjPpLK78mr8nPxfHY78fh8WtLX01vBRBy0OHwL\ny8edw4YQAKoJMP5N4k1hTxnyOUG0TkEc/dQ65/w8QuxBqYzvy0h3l9ejoMB2\nWVBhFezJPcAg9XvWQq7xnTnAFAAA8El1DF2GTnTl7y0sFMb3xZHcQ+LGfeDd\nUioMeIHKex+6ZplMr+s4OpLZUchN99venWqZWh4YbdYa1y2+r+NUPu69LngF\nbs79lufaAfPiZ45E2BT9MCIGDOxRrGe7tZE6ZwWfXqEY0p+K+rtl1MPYqwUF\nJswO\r\n=yw8i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFI3y+jvw0vumftHSJBrvBFhL9+M8Eq+0YpiL+0rxnjeAiBGTms5AqZnIpvZ+m67d4YcDrNvOZU8kM+Nk/IGi1cn+Q=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.3-beta.2_1542661430680_0.7376967495948048"},"_hasShrinkwrap":false},"1.0.3":{"name":"@flood/element-cli","version":"1.0.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-FTaJulVTys0yunk6U9CHr11l3ut3SFw7TvJnidrjK8xXwkpXEnAVWvM51PoetqcrGnT3IV8g/ZVwBsecyWHmRA==","shasum":"35ce07df50aa8c9c1825f2e9d3282a0b662cba8d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.3.tgz","fileCount":17,"unpackedSize":34162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb816ICRA9TVsSAnZWagAAn9cP/iHnkvHeS6eZmwVnpEwR\nVvbcsAso6uOruu65r+ty4mTKdx1GKbjnw9jomjmPZT25/lU96g4gxzNQV1jy\nMNlp/liSVZLSKcyTW9hKLpbxsI94QMIVP56W+AMpXAq3ni0wrz2DOB0gmI4x\n0+A5Y4ZjbhCYqOYfqWzmAFzyKRHYuYJQ9Uy4IpEPQugtCJwKuqQ4ABlJTBz0\nLjUEnTyMHY9yyf5GplApTlvUhiNp5AOXqc55AcvQJCcw8m4+r9z1hUV/YO6T\nVq+STCcoV/UKmKUYbojsnLK/Qk/UPxRTF5p6D/RgAaK5tde73loHzM+ve0j5\nlz+Oz1e2USAVlTYS5ShAuMEuJqU1qQNNUH/8R2i1gLp/tD6ZuoPt/7MMpczf\nUU3AE6H8a04xEkSDhpTpaJ7f81IRm9qL1oNd/oO45dT/Fl7572uJGeOjVZfN\nRQYLRro+sEBONJmnTmu+hx6BFdWjRtPCugF/uXBkhj/GWPDMVBZu9d3R4ZCK\n/rlyiRBka9e+JUopTQXfrgXyf2GKQycvHFmexXEFSajnatyor9Cp4StVwgpC\nJ254vyPOi95tXuk8cTKgMp8zWW4oey8wA3vpPEy7XExdl7L6enuzhJ66DPv8\ncDXjbOq13Q9P1yEW3IXk/DibCPk5LdHD5cPw9BomcRHS4Ug/SwRkNAcD/Xg/\nGoxm\r\n=MRBf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF4CAZi9nrx1ua6mEZkTVfblewf+/5ymrJdOFvIbPPh1AiEA9v+FJPrzs+A8ivn2e/JhPdk0b+ubEg5pk43wKAjSYhE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.3_1542676103842_0.6969923318606044"},"_hasShrinkwrap":false},"1.0.4-beta.0":{"name":"@flood/element-cli","version":"1.0.4-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspect":"node --inspect-brk -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.4-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.4-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-u0vsTcjnuIgI8DJFQtSHku7Zq+CqD7ExgJJoE5+LPDnKbkKTTTvKgZyqfa6Qph3iYpE1INchy3xJKtOp+n8Npg==","shasum":"51f1d261080c616f68c8e15fd846625ccd20a343","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.4-beta.0.tgz","fileCount":17,"unpackedSize":34176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb82EuCRA9TVsSAnZWagAA4lAQAJb8GkchlKx2ffOHm81i\nKEUZbF5HnLqjQtQ+q5/heG0BwNonlIxCPLjaGJwzxKG7PD4thOruVLCj3Kcp\nnPzAWQfeWNQUOimE25ZRW9Ie6h980A0h9UPdcBslebrHb4Yv3izk/GvGbOPk\nKPGz2+1lbwLWoJbrTlC7FGgVNup7Bh+0yoev5BW5wUcJWL6AQbeavc71/3mJ\nl8qY8fwMZys9raKUZtzS2ztk9FeICM3KwYC4XG9ANFj9mVEttBzzftCI4NPi\nn+vswFlkSW+q1+PpAenG6gO84KZM2gB7+c0wClhYEfbZgbpc9G5r+l/WOrE1\nFk0uvociyi0woMVY2gJ53bPt+DPZGkwcFeSZTOo1MTfezwKRrIqPFACPC5Ql\nS9jb+jKBA3GmLPouVZzrfal1PBSKwieTwA2sDzzt++BcrxG41g6tIoYMGcis\nZlco2eVKgToZjcvxQ//6SCtVsplXhxVjYcgh8mj/D7D4OSjfScKVo8YCNsXA\nUNGdgXi3jQgV6d660GJj8HisA9M7hUYEEZDxmgFCanZlqSUb8CAiVd7AcjHB\nCLkImM93LsDshlDdvVCBfb/v5yjWx/GOWBlK1zh/7YKGVYL5pVxLEWCQCi3O\n+4bezC2492aiRmtmkk4O0wI1f80JR0cfiea6GR0FGAj+6r7troB0HGdUwsAS\nqKOo\r\n=z/h6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIH5q1qz2oHpRadw1wAfDvBLleddtVp6Hb3CmbwtGHloWAh9YEw6UBAgRoNTqkHfiFIw1xyrjqHppCPjFJUK3OsoB"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.4-beta.0_1542676782149_0.43777308332498155"},"_hasShrinkwrap":false},"1.0.4-beta.1":{"name":"@flood/element-cli","version":"1.0.4-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.4-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.4-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-ussDRicNX+4Pi2y7IbFEpVQaVqSnmsgztD0uNNwrTRk6qsXs1gh4kbc7RqEuq4Zl5w6lfFIC5c/krSv81idYKg==","shasum":"91a5896f6e0a2da0a7ba97c93979f34e9d6c25cb","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.4-beta.1.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9KG4CRA9TVsSAnZWagAAaZwP/R//KyENDVPBA8dAKgeJ\n5tssB+co2MwU6qpiiw9Ipogr4m4HM7R9M4q5kP8QZ8bOMLUkZYRMYnUJ5aOw\nI9O/Xx4pIr4TpykDT2ZNrDzotXbI8fl+HvetiHbT90ECGaDCZ5J9/mtB0tPI\nXqgfggXS/+hlb1Lv8udvAclm8tee42NatjV5DcqmAh8P1U/tFQ7OykG6nxCX\nDb2Ao1ocpYlnjXC12ek51laB1xoVpenOZCf5qBxGSoxmFtqmLZ6X6kN1d+xO\nLTOhXhzmsCkp5Headeu0Uivx+6eoH/CXIZx6O+Qxg7OV+CMXZ4MXQCb7pvBi\nKvIKIva4QNGdWdOEDgz8iibOSLJNly2PmAE2MOxWOnHHN0NzssBmWSHtwrWX\n8go6qt8sk2/iakrWpFxofFynY3bvNp7ul5gUH1vkETHLSxnEg0LUAFoEw2vN\n9umaL86XWuFftQdlTn8/+3RTc8oiWpwOGvS1mvhz8Nw/KBIj3qEfn6Hr+Pok\n62u8AlXVtPGG9xczJFkZ1byMLE7zhgRwes1DxuKlnp/4FmvPrOQw3fmU3eKs\nkxAJFOYwAXmi0us66tTlVVSA5NQov/n9hCf+fHPmt6siRSV+jGWJionf43n+\nva4Rvf7pCmuiVB7Ke8BWC0o+WrcLL2YLGgZ+y4TT8DPqHRka5jAOhqpuqhSX\nV1OV\r\n=wFDd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICugziNp1KsjCQaDvnsl0E7Q/NqVHWH93o0vf2uW3SDBAiEA6F3e24h14HkR21MUyU9MWoHeqM89sh6UaC569mCUe8g="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.4-beta.1_1542758839497_0.8117982510282711"},"_hasShrinkwrap":false},"1.0.4":{"name":"@flood/element-cli","version":"1.0.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-f3XSMVon8QulrcadHivePgHpDYRgbeWt1h/FMhXmT83MdUxcCSQhLi+4DHLzJm+SJxt7vbxE3PhLhUhkh2kAgQ==","shasum":"4fdc5759059a1df325b4298be864c8b832e0bdff","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.4.tgz","fileCount":17,"unpackedSize":34233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb93RICRA9TVsSAnZWagAA0iEP/iZBcwXaV7v6G4HyE2DZ\nzZoaPOVjr1Xr6vDpQ0NeBGR3d4czRRIW2ih+Ekcyk3PgTuMhxK7YQrGCaFeJ\noHhcpjE55k6FX/kQATFlMfwdjAQytN40eGI8gGeprKsx8KfNXLduaju97egd\nWuMaqFBrK95KdUZMnbDdlUuW2D/pdyeS+xnoyOD5MZ7l1jsuUiNwU+yXHbO1\nnvrXuFwHuwlRnyWQnoADk3b9n/zhr5J4XZWl9wucG7FvaJnU6nUQTRtr/UFt\nNigM07PS5zIYYuCwIMIY7mJa0bdEKYs80CG0Fc2MNKRMYwUv6pyfiR+AJ7pA\n6Jc9STi3tzWAJMoDymJxgffd5pClrkjA/q0XBlmuVoMPeahn4MbzQloLaDwO\n1wmR8L6f3PyVFyolyKhfoa9rUv/Ks9YfktjbwUn1+FuOJoLv1K6gemkSeh2c\nuM2XpwNLsYqcGVzJG0NcF4eoq77Kb3k4WKhGA7ZebDQQjxzOxDg4x1PXRRLH\n+JrtUJHVmWp3OlvCmRxCslk0ihl3NrsMYQJAid8AxhJcTTT0uQLBqNoFzpwv\nUxzSce3IL+flz/vbmUz3md3FlYuO1a99XbnQELv0uafVFAkJD9zRGrE5clT0\nesXtQ3nFzR3OW6WkNSPjGKF8ZZrQ7ilvicsLlbjnt+SWWLeGJXpHaQoAF8y3\n+Hn5\r\n=ygGL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDt5sRnpJNqBDj9vP/3B7pGZqNrXapUVttqaMsHFmlKgIhALnrEG1RUKDkKEw7+tkzt3SOFdANM60h/+Lqhqcw1FLz"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.4_1542943815236_0.12891182458752048"},"_hasShrinkwrap":false},"1.0.5-beta.0":{"name":"@flood/element-cli","version":"1.0.5-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-+/m0o3pncr16/yXcwrsgRHhF0sRZq/KwfrMTynOD1h4J4MZ12jMRGiLKfAyACoA8E2b9dnuaiRF/NL4N/qkiVQ==","shasum":"80c78bb61a98080285eebce487d1af0f8b4f81f9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.0.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb93mfCRA9TVsSAnZWagAAcugP/iKYWVKxmqG1/Ng0bXd8\nmR1AFZwz03xANd/5dDB5luFeWRFlcPksWEwfX+xbh/VAujRHMM1kVg4NZtJ0\nLQ9LZstHPBiAfRTaFgpu5U2mWNuHnXy9PkHoEH7hZceGFOHImhoLDhc5kirA\ngexL8o7vQSZ2yWUQ+Gs8WbtkzqOBuRcXv85Yj41XJwQRtwql9GgLpE3uHMlV\nCcX+oymCUHQRjOxZX4eldF8SCW94JnccDzSvq8IuCcWrLFHGrpkf9xGELCe+\nYccdBpnYB8nkhakD/ii/OdiKAu4iF5Mr0e7h1JJylsOYCjHiRZRF8UXJJnYM\nENLhzCTtLiefIISEtkj20AWnPHvb6JE2aZvKl2P5Yjt84FWXcN1CwhjNGnsT\nRL9ywe93OWEkp6r5P0ne0J2oAQ2+hLP57UOOasATGcR8vXIsc7akCyQ3FM2l\n9Phwn8HunDuqv0PPZUfYqbafP/hCILuKKZvFGV/bqpmAKKmAZqW7Ac0rG+4b\nEqTnMjkyah4rLC07LZmS5yasLrKg8oqxasoChCTWTRI2o5wIXNt8aFOy/z2S\nslLfQPEyyX5RUf/uLIlN4zaKaNwkooI3ibzSNj9cGfEhRXciOUd9eWgfjqow\nvPKsnWDMZkJEYKHCRLvWiALN9MSq7+WtsyP9pxyTgvuu3KgwmbdNNzsP122a\n30Vr\r\n=hn56\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOJjfF2jUfKXtTyr6wcMM+BFzNeP0tx4iaaOcjRUBf9AIgPaixzgRMO6bcdiLA9v2hB6MAxGXdoI8hMxGNXxiPFBQ="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.0_1542945182530_0.12015615802202073"},"_hasShrinkwrap":false},"1.0.5-beta.1":{"name":"@flood/element-cli","version":"1.0.5-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-oIS7CwSa1ObKP+01/KUzCIclSrA0neDPcZWGaJc1znSiMTqXVwbRW+LV6anGdOFs3tIKcvjStONw24LoxYq4lQ==","shasum":"2956e202fd62805f1a20d5c1f48a02a5c7c06ac4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.1.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPDbOCRA9TVsSAnZWagAAlHwP/R9VprwadLsrgsHz4YQ0\n7AaNjGgFqWsvqzitDuAyWK8LgCD9D7MXV6++rMz/N94LSlqbyboxFDkbsKDI\n4FcNBx+mtkB6fR5cn5WEBfeyqtZ9TipXQGZlBSFRu6aDbfed3JaiQmP17W3C\nbGtpiUb2tdSYqFu3+dbbuFkWBOKRenS9te9iE1jlSk+bak4Gxvz4Hi62oO4z\nt2jvzP+Mm4MUPxgjRJ6iiZN04OeSZ/LCYeRY0YeEz6y1icbO0Ssg6zQ7jGEZ\n9aoUCJH4CHkzoDXQuvk/sm/96aujEza/k9YjFCbeI4nGzGk9XEtHXlRoYcnR\nTIsGqJ60JD1hUaCtphNdlUvhwNQ+ZaZxu3UFYf0j/5cS94KeM+Uopj9JgfId\npDLkZF3DHp3NjZDdAj5bdykX8c7AXCPR31FzhrdZuTkf4bhi7207X4u3ceFS\nhJx649pSeXoDqw7S6qooXIDYkidY+lIKIBXbdHIr4Ekq9s7fjF++9vnI1O/D\nKnc9zaoXa5HPgEgD8wzCrFVDF4ufKzXlNDaOUD34PUJtkUhRx79uiDOe5HQd\ngIAJuxbrVyt87RcwKFZkuQrRwzwjXITrrwGI2hQZao031qfyNH+E78LwP2MA\nmWaTBzE9MBgzA/Kb0CIF7KH6HmisV06sifZ0yTrYzwjlpvu99U1exP3wNQpe\ntc8K\r\n=mVZb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6lf6YVBqFkharI2OBgFcChQ/FuUHdxlXF+JiAaEDk4gIhAPsOhKushnlDXn6NHMxbQ8YJaed4i0I9iE8nOOZuNma2"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.1_1547450061917_0.24089661898042714"},"_hasShrinkwrap":false},"1.0.5-beta.2":{"name":"@flood/element-cli","version":"1.0.5-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-+rlZyje10hNDR1FlTVXquuycOjAqle/9QHMhud5es14VI5zAMIuRi/uwTnebzSAwwTcmlaEO50wTtj2QOt6RsA==","shasum":"cf1a7bc8c9ce8a738ebf7b3bf7acca2fa846cbeb","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.2.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUC2YCRA9TVsSAnZWagAAV7gP+wcMWYlcUST3TLFA5gQG\nB7cAF8YGBl+j8xxr1zreK7xwY1GDK0RSbOs8xcNQwWuXHYmEGYcmOrgA/7AI\nOcf1JB1lBc8OKTHo6YFUWVln9QcJSBROjSY2YzCEqdklHKnazkV7pc4zmX8v\nSrHFW3nHXo+MapWovn/7L6UHSjyodGLzcEWdAHb57xCeVStzVeW3WgaTB1HO\ndXQMHpHnqD8b+CzmjDvB29PPmqkR68ac/rYNg3buug2me1RU5TSL609GVVPZ\nI5gnKlpiTVryrReCFKxrR8vPphIe3J3bh5QnU9X4n/S/SIOrs/FEHksWfLmm\nWpnfDubrBM2JTHnuPrvie0eWZs3UQGP6bMTow0tVfENJuDuWVypmXL/91itr\nJIKtF37uYK/iqgQX/oa4l4AcaFpKp6IJATSTc8Gl7nOukTBh2zUnZ755pDuS\nQsigLPC/fZI+ojNvpPg/VDA2kiLgwdBFjDCovOpof5v27R9rHgh+8B06Wa1e\ng3ZhhvZFmr+J+Bg+TuyRqN/9Y94RkKjGoTpjEXWiCv+tYVre0y+kj3t4iMu+\n0w02vNBvvVh4MMZry9TFvfkEQdxvxx4c1/8tmm56/oc1WszZ73VbBTCfL9Tg\nPS/2G/5XTzyhWtImnzCbQDDtUJJKhQHNOroMpgsWB6PllfUJ4ac6YYX9bp8t\njfmG\r\n=h6nv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0Hx8lCVXRO3U5dvDm+58i9LLuAqXbbo1HPuQW87zRLAiEA3E/61PQdYgTVNqalreHvOuq53b1MM2Pj3NRlspuhvQk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.2_1548758423944_0.16776041365101313"},"_hasShrinkwrap":false},"1.0.5-beta.3":{"name":"@flood/element-cli","version":"1.0.5-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-Ql+lAFUCRPPY/feC0E+HILuKhVruzXxWFpNtx1xmFPw/DS5GBT58CQzJMMZe6Ed4aLJRMFZqRHv1s5YUl6DQLg==","shasum":"782b0e235c9b69e9fcb9e1c6dcb848e1f3ec6414","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.3.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcURdICRA9TVsSAnZWagAA8QoP/iK8jShiAbOvNc4wN+nw\np60Uy2DRImha9Gfln94EptU9JBfKHjSDRTwJFBMAwsE23qn51S2FHfrOYVof\n+QMB6QSkXr5Oc2fkpTGJvRRK2f8ZWNaQ4mRyqtXUWpb9UEPur5wnDD/CUeD5\nLlwUXp49bHl9YWnRpCr6K+9jpIUbwAfN9dkbKhJgOPT6b18ObOAdmq3B06YJ\nC4FaJvIBLtMKc1ojcXaEeq/QglAo5Yptq+4/9Lwd9Cyt31Pm4oRGjz8KBvmz\nXa2YbZuZmKjLwTV0yasS+AL1y/PQ5Ju6lCFZqFJrnlajgVi088zIqft38MUg\nUCIV5icdAlYMbB0EYYOeUfaSvBf2RdGT6B/XEC04xYsNz6IbQh8ZVwfFWfYF\nx+rk5QTS+ACXaCourL4nAeT7lIqNbaUlfTSE6V+y+QNbBaRnvcSUkgh80fCN\nrckxrFBeiCvabBQ/3D47fqhfzK4QliuEtJrphPTuAmiIrRcROscQda6PfssA\nmnV/Tk4qX5hjabbAb42U+pzA3Ry0VEq4mE1hEYZqQyfemxno3iD8N/ev6zy9\n+nbl2jlekoybfx/KXs77Zh1WvqOcggCRG6hqjV92jy8zE+h2EdybqRBCZaB/\nykpHr/Jm3NPshI++GQvdA9HMLP2iesghI/SARCSYe/aByk7zdS+cx7qsA4i+\n/F64\r\n=h695\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcmHzZJy0Ud9rLvDa+NGa5HCV4TWRMsTBgIlTXnOCXgAiEAmbB5kJzHQM/y2v3TRld3JWleT9mRGFAHGZOZJY2YVlU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.3_1548818247401_0.3431435641893079"},"_hasShrinkwrap":false},"1.0.5-beta.4":{"name":"@flood/element-cli","version":"1.0.5-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"dist":{"integrity":"sha512-P+QaxMA2NsHbirq5XdEguUb550h5t5izBPbAC//uG2A+S5s+2fIenKY240cLlq4AIxC450uvXanCpILCd56csA==","shasum":"eb39d63b2783bfc3c235c4b5d5dbf701355d5dd5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.4.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0NfECRA9TVsSAnZWagAAjEoP/icuDMziQhoqEBlVYUv7\nLVQPGWXyisNJhVxs6qAA+c2W+c9wlSvbvoB02y009xukhSenYILyznmkTSDu\nGvcqGBsdVrgV5vX1ZtmuMfJH8CRvz2gnZ7jrGokxJBRACjdGRsThTwfZlBP5\n4unh2JKs2WKbbKsVEx9LRpkBC2jkr4NpKJi5v5neOl/hOA1I+900z3/HppR7\nidP2oXZ8UDuRpUBeFtcmGF+r/LWR733v+mifS3LCiFzJgwVt9OC1tTFQc2Sk\n3A6qj53cNzif+Q2CxcMx7a9wcEWRgNMqs3+owODmkaYu6vCySxc/LppTszVi\nUG+hJf0CMy9C0DeZK8bmgJ7OImapRyzUtOVJeygoCortKlpiS8TJVJVBwxmT\nK6pSl3dpOutrjIuBoKCsEte+M/DMNJ4fnsw8SDWEzR0DIYB5OdcHRO5rk7yw\nkru/mL8E9vtpJwuMxU9yQDQPkA/ScypYnxBuURFkrs0fsBZ6477a9EhKRQ/B\nGlNKv4yLC14bqK5lWDlIoDwfaFG9IcfyRPwENdhvkkAij4gJ7z5Vqatjyw4w\nrRjeXWJcDNEVazucHNt3andVmW1g8RCuGbckCATfPbsa3IOeYa44LHUiKqno\nLNmVTdcbwjHUSihgs8heMddQhd6szLBQV6K9sGLaJilxAlDqH7D/mXpBmzjT\nr7bM\r\n=qlQZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDS57wVqhJTnOoh8G1eAAL0cojSbZfmx9wyEmyuaN1ABQIgMV5bCSoPE9SIWBGG42WBwVhHZ/LZb0UkCbDzEJKFyfI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.4_1557190595702_0.8695516244017742"},"_hasShrinkwrap":false},"1.0.5-beta.5":{"name":"@flood/element-cli","version":"1.0.5-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-M31i3XHz6/h3Pu31CurC2he6G+GDwsdIfsPP1SqWXubOHRUlVg9LoHvzUIPeUDmIX5lc9I5WOkaWVC4gc3yEYg==","shasum":"589e463c7c4bb1e5f7b120185b7a4dfc3fc8ac8c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.5.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+ljuCRA9TVsSAnZWagAApaEP/jvO0OfcTDEqYSwrO9BP\n28mxg9CJgirIT4cqFbxs+wyqaShw+dnQT0Un9jwShEKIC79TV2jIx7VxwcOv\n+DeIki5q8E0ZpDif4V61PSqttXQLMG8U1vcUuGHzT6H9+OOVnSsgwKnRho+g\nLT3fvAKkDd2EOuY88szjZoDVXiCd1P71ehk9vW7yroHjrBDqEE6MDMuvefMc\n3CUevT/glnuCTwxWCUWGbggLJpeV0Y0D4Ej5x7u8inTu633n8HjhtodC/+k7\nRzqiX+leCQiw3DjHhrI0ghV3GChkjncDA2AOIbwR1PdxECNFIyKa8dMpKn8D\ngTPEe6e3wJzjw30kYXonPHtCAs+l8C+DN0UXJsQekbDs+164GotoyyFHYru+\nbUsYtTQzkypDWFVnllHADM3MzGAXz/wGtGB30oy9EA7r1o1wnRCM5n3J/l6y\n0S93qHk875Vbsr+97C1ryz/wxjfreoh5OZg6/r8zJNfyv+kpYENENU3Vp8vQ\n2PAQzO2DhFXhb2mob9+vJ7ZU3VO6NpB1PaLZe6Rvpvb7Uq35MK1eTeXFmFie\nFKitD2t6mzK/PcE+cFuoOuxtuiHXVyWaWrjTgVNknfhOPOJ1pMKzYtvLVhE2\n1ZwzyGsse3jxk2uiPTAvSNwtoGPzEJRPkWzQ7vYVfZpgusDtv04DaJRhPgjj\nhquc\r\n=xhjT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcRkRxStYQxhYjxmbD9iB9YjqQ2lBZwnjoH2XZU1/uqgIhAMqq4VzV9gOUG5Y5pDJ6NM5+/sOeSDtNC3zfmw7Egp6g"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.5_1559910637130_0.18968299206199268"},"_hasShrinkwrap":false},"1.0.5-beta.6":{"name":"@flood/element-cli","version":"1.0.5-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.6","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-65h6sH8gqY1wAh7VtWvqJk47FHnfVEeTS9T7t6Ya64rjLGzOoHDB+AQqMSSUSUuF85uqkjsIY47Cb6fGv+vLmg==","shasum":"7f0e1f0d0bb45727c6e6b224a93d9f4402e93136","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.6.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBtRrCRA9TVsSAnZWagAAoZUP/Am3BMynYzJryKiLslqt\nCfosnotPEoHn2hvG0ATO+1AV4RGCWKqu5uYlb7I7SLmfFPTjvq5hFACVnoxT\nHdy4MbDpxGpyj9eh/iYThu+z2O5Qca1FFI7dyZJq8Q11NaqIhZcAb9NMt1cn\nQiNZ1mX250ud5tH6nX89ELA7rBYDkTGCnGJBonVQ65RyJQyj6r3tLBzvJ9Ae\nUbBpOad1vhYnflUWt8yAiX54Fq7ZQI1tQ/C4sEfS+NK13h/jLi3EMyioUqtP\nJQgR/xtCFY8xRMw5G4rideU7CplBgXUCSGadUvyPpGyQtyT1E4CSbvw8brCy\nt9DJw8jB32J0ttbBuZuVZ/woQaDK9a8vwhXDOpguqNt8TS8Z69JbK9gjyZqa\nPisXmkIxdFHNK01yZ4KqOXTB6xsEKvmiv834vjzV5C6Aexl92SWdXd9wx0+m\nUs23y3iqExJ/0mWcXh/7XbnjEVFRmgDW4mpFb7dmRLN5bhp0fmUzmxT3sQKH\nJY1ppU9/SLecXgbURuTlJ/Cd2j9crcaooyyQfZXFcsUFQWin4ZAeuzQMNBJw\nnfczaJi9ahCZjvHg4VnG0Zhr2Nh8l1B4uQhYpGyfiC/KavWb9ZFhCYbYipyV\nHagr3HlyKa0GAigRV9fko9XuxmK4S+kp6zwLr+c9b6un+UlL6OZVkHDC5S+r\nK4Vz\r\n=DIdO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqSbafrDiWeMFX0bgu76EmpwdcY2jSmS54KB8bIiWMewIgaqHHBKqr/E+vOWO5QJwiWOj6fgZ7exfyAwqXX3uc4Wo="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.6_1560728682791_0.910135981821127"},"_hasShrinkwrap":false},"1.0.5-beta.7":{"name":"@flood/element-cli","version":"1.0.5-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.7","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qgQEyYzRAIHkbArs50Bz4arB5LEXoMjvjiSuQw60tfELIEU/dhAWuqtGk4oRAoyXHguaJL+bALQZ4n56XajSJg==","shasum":"ef71306348c07aafc21f8c1fea7257116f32eaa6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.7.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdBzG7CRA9TVsSAnZWagAAU/4P/A6Zb8/Jn+dsSmQsb8Xr\n7NoGXHkxVaihKokMZnExFL60Eum5ZtBNFQpXyF46fzFwn6dmM0kw/0vR9A7E\nag5cGTbBnSgDGKz/9pqyjIJPUyOA7B7LRs8jCgoGpr7u5MKrEsitY23yaPuI\nrtzdb3MGPer/yj6X6KbcDpE6NupeRDUvGfh1XXymxTrI4Zic3qzBkp+5OLGA\n/zu+zUM12fq2BZ3HhyLRvPO2wr4+s0RZly0NJO/IQAWxWc91Dxv19aAzUAlx\nwMJQWCK7hsOXUlgd7TilJY1Rr5Kq808b7QPycO18YWx7NmHgZn9opFNejOQg\nGYVCBr7aMRMk2yESAHsaPdy8cDYNFN53frXEDO7uqsm2dg8nIDfe5CN1eF+9\nMHYnhSau1ZASVu5HYsg90uG8v9va9Njcqh/H2fGgFAAFLjBWTbUF8At9BAqi\npeIdl4oFwl6EYUXEQANlmM7ip6U7DsTwCVDjDloaf7XIZ+tyGmGAjVllXbEn\n6n19ZN8zluRzkwEjK1Zxm4kICI7147585ar6hO/xDSWNB1Iehr3XYIVHVPQy\nHxyjULJQazCPxZu5DzwXOz9uZ2jlu0W3qv++Smez3OI4CvJ4ICRgAHYNy5eU\nfuPLtnGLZXQG4YnUGPX/kSWh2S0IT7YhwhdVybm6DEBccdoG+NIGJAPSLH7o\nN3vp\r\n=2z9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN1IHY2U22MKW52vZC1TSSydc2FJVaPTh1EZewjG1hvAIhALNkxISa+xK8UAIHUD/dBfr9NH+7kS7iCsUyK4s421yS"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.7_1560752570652_0.5482687039804075"},"_hasShrinkwrap":false},"1.0.5-beta.8":{"name":"@flood/element-cli","version":"1.0.5-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.8","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qh19Ausjc9Eq5awXK4535bTJjDwshn2YPXp8/Q6T2KMv+hE3p6eMhsQ9o9pRC79zcTPLJNE3o4kXxUSr6S1wBg==","shasum":"0c1cf9ec94e7de48dc0bb2e2ac08312625ab007d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.8.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCEPfCRA9TVsSAnZWagAA6zQP/1Nu99RuGQK7cBe9mBwG\nHkLLiEgUm3EE89Q93N8/XAox+hotVbRgtT+S/GuWvyIyXm6VoxAnI9eyTRth\nBUPS4HtamIC2+6M45VRG/RXFuVrEo1d3OSCAmBfV7LP9QyNkrjWgOPqMJfSh\nLmRk/OSfYpqexlB1CVyCSqViNLgIo6jiuYIRQxiH11D8T4t2FcexKKk2feWo\nEOI94YbvL4+7LDo2avS/f4R5baQmIoNA05QH8kLuThMsax3GMJ2d/T21QlHV\nGHPSoiywzAfDYSFkTi4j7F7keqZ2MJdTqulwwnNHHutTigdKvsX/c13HCytI\niSiYdl5shye13lDP99eypvPUg/uA9udduO2D9phL+U2mRHhI9joHsH5K9VYz\nzH/n2JFTLmKr42WCLJqkD4R+kqH4uJ/ir+mw20oUdAstPQe5nGrNVk7TNlKl\naiSDPxRcIJCkqISyFlsW0mbdp5m+Vztf2M9LWc/H7RxP8dlRJsTa82m5CLEg\nCyw0gGL19M0DwuCUZkHQ7YYjiVh0YhAU/rb4p7rH4cyk6PBO9VRiq5pGOk8F\nCvZNhof9k1TyMf8vSAvKlzWn9swhDYQLW5xfa8V0vryNTT109Fpzxsduopxs\nPO9BUsguA9yaE/KdKiJCL9FyDXpCFlV2WMfM7+NPmu9E8iVf7118w8LeiwJ8\nXK9a\r\n=yGVk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQhuePzNUp6YYbzT7/WFG5aNFG1hXJrQ1a+22CfC7BMAIhAJu8Jkqr+elA/PfIAD6c16ZVmK3e3h0km/G5hpdPbGHj"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.8_1560822750920_0.5245367206175013"},"_hasShrinkwrap":false},"1.0.5-beta.9":{"name":"@flood/element-cli","version":"1.0.5-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.9","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.9","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-w7qKPO7TqMgc9dATiVIrxCtM2xbCNnD8R0NNvFLWqgYdLI0veZo228lhR88abLOtZuzPtpFUhGXwMduYJ9OfAw==","shasum":"8669a85a7e02909a4ca130fd7aefedf0939cd8db","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.9.tgz","fileCount":17,"unpackedSize":34247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCFngCRA9TVsSAnZWagAATZ0P/ihLF7DgnZ22/GQXMgLf\nPEeDBLI834XyFiOyjWt2j+3Nu+ODH/Z5D6Yh4rIaC/xG8i6u9ocFswD07PhG\n+sSo22xuf7LgcEmOUyInkWxAkL8bPLV6IrLJbnlB78EH/LNDkOQn/tIKWyjG\nccvrXql0sSS+u8eVqh7c4/JPAojSMwY97rvXlytjIURfXPsHQe8a8Bx+guNO\nuOERQcFIRJnlb4CZuDvW77VIHQefhw7emL1bZWqOo2RIHqFxoWhT/v2fK++i\nCnyueF1FIh+wHh0uDcXV5V/PYCzKqu6ImcfWeJiL4tMiLWerd70LThQONf/P\nYY0LNCJp2aGXVWxTl5S3LAtks0wsCSHOFf/c2IefofxPjfMLl9lvw8Dq5Da1\nBGmJczGHaAAphH84PYH5rZXWsGULSHA1i76CvFH7Y35oxJnU0xo9f7umXGW3\naYHybG4BewWu9JLXlXrTL4vqeHwvVoFqM0mjFjkjbyIlPguvgvJAPcQf+Bv2\ng5lBQfuhkgerFiISZLy3reIaj6uJoRNGmbOosP0dICQs+VGG7I92bGNk2zNp\n4uTYtq712aQ5b6rApadnWfkJS9JllDQ7BEK+DwXUHsNnvMqOHXfqBr0PSA4V\n7tqMIbpjpt5SzTsPON/TeVBhAgo2c3hlPLGq54R92+U3ExJZvDuwJWpJb7PA\ni3pG\r\n=AbHA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG/rqriuqYE6My2jynym0+s7h5BpNja3Bs4KYRjeqhbLAiAutU/WHdKkk5LGEGMl+IP/OnLTjNlCmeCpKi/o+fB7XQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.9_1560828383662_0.8421942705065579"},"_hasShrinkwrap":false},"1.0.5-beta.10":{"name":"@flood/element-cli","version":"1.0.5-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5-beta.10","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5-beta.10","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-z2NEhz+0Tven/5Ka9EUy8S4tftG/redIxXeKl3Dy9OIK+skQNixyDwfmmsSSAnzMbGuRa/pNX5xvjdZqAGcBIw==","shasum":"2c69b183a1ad48f99eee8b3afeabeadbd9d8b3a5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5-beta.10.tgz","fileCount":17,"unpackedSize":34270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCF9mCRA9TVsSAnZWagAA0ZcP/3U2lYw/i0vlVyoy2QYZ\nw1bM0q1AsCZ17BMBUaVx5PN+5ZWDop2NIHOv4lDPVqieuaT0A9QSaUHqD6Bb\n+5CSY6xMnnfksK+PIkgdpuYmsqwcGYLXabFzw9wfSnmRC/UYal1dYDZjystT\nTDZXzmylx/ZHXIb3hy3rsSVQkflZrZOYg+cjQrJuhU0gw2pUaenZXp9Tc1qH\ns13ImLvZavVLTkhJvhSu1fQSAtrB4NLYTAjkfy1UuWPfKBrA/RWKGtHKulzY\nh2ZO3HVUE3cYRxyXQTgG8qQF7rJJiVLn8eIKO5Tn2/F40lBHz1dt6hb/2lu8\nqJUACXyCxpioHicD1rAiV2RTcvEHYLZZxFXXhRbYOw/xAdhfPKRyL6PaVeIy\nltHOxJOIm00r48uaTqJvkuBCVZtLzt8PwDBsivKPGa/ON4r5JDZ2TrbCWD/i\nm9i+qY243t4oVI3JTWioFZAFJ+WXz4OkrITghrYx6L6ZA2p2fkauYQPytdEw\nNx9EhJJnPjvugxlHua5wqjdbR7+lbwHpckAQ8mC5XMXu2K/BOy9AevMUYQEE\nMFj5NLjTU41fHMGs+ENwbCnEQYRz0UrsPuHBOdb7ZnOIhsDjWfGhzw2C+Gbp\neNLBr4a1togQSOPtTnNL9RLKZqdfzhyhDPcUyyFPTg1j+Rjc0Z9bPW14vRnw\nIvGJ\r\n=sRmW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHqrnBCO2zvrOMsRiYV0GKS0AzzWcoWR4gnMmlmvL/qAiEA0QXo+TBenpa+SAZ1PauwlTCSuc9gWfT0aUtM0J2wgaE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5-beta.10_1560829798026_0.538535537793261"},"_hasShrinkwrap":false},"1.0.5":{"name":"@flood/element-cli","version":"1.0.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-r2JkIUx3XnnxTtXRu0z3dvfd0WgkQqKhE/khiqfCl4ZcfdXaoiSk+4OQqlNdPMUjbvDfQkA5aaY2b4B8T8qxSg==","shasum":"33795dee6c0db0849d2ed3f25ce5dd1761d5f1d1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.5.tgz","fileCount":17,"unpackedSize":34254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDFHbCRA9TVsSAnZWagAAUREP/3ZHwfALH96vWpm7VSnq\nmXn2UrgQItGWoflcVusvX36SaChphnbuJmeDAQ6kgXkcEMCVIXogkmfnZtkU\ni/3L/tI7k61pc4BPhjy3KT5C3CMB7HvgUpP9oEPvl3FZPaA1Urh7xqskqzXs\nOLIrBfHkuiO2H+LULBzxequFMi3c6fq2df6W1o1EML7oWl574SgKZMaWFHeh\n2zYfic8Ur3xsA1PgpVQtsczBxixzRz1oLZrp3txnX5BtClugJMTRQMgALmni\njjMHBLIwy8rKs8qSqG1szYm7jAnhcLvbfCRg84xKoAgINKyuqz8AIS8L3hPW\nyDAw1l0A+Wc1q62FcABavhIzzy3IUjZBKWafiHQYtXyeife8hp+QIMe2dQ2v\nk57IAmCpCSYEQvdo2qWCwsWVVJetqfMxGK/cGM0AVwgshftD07p78hm7hVzG\nTlZK/JtHevyTqb5Z8tyydKccYcxLgLUdSYy5GUneAeO8Ta0MuxL+3ePm2OWc\nb1e2sp9Qdo61bm+F8wiyfgDWcBjSOtQpb5pdgWPCdF4R6zQ6mw2EpQUSBl7v\n28VPbknMHuVOWh6zRMSiyKK4lafxGqsh2Fr7SzmdKwnt9uvOnZul3LwBQcgY\nFf/jXTUhbn6744mh/xVBbF+zDxMtUs2mUXqfI02B4eQ1ERTxinzqDOBoE+6F\nIxx7\r\n=Jng1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDx54Jz4d34qQsPLv/IblIMcZz01+udji0xUBnzRmQPSAiEAxncpSpGDzSVoMn6Rqru4POUDUkFyaFRFVAEzbni9OR0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.5_1561088474999_0.7134940710170534"},"_hasShrinkwrap":false},"1.0.6-beta.0":{"name":"@flood/element-cli","version":"1.0.6-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-W7f3tI7vIGF05cTrnL+f+8p+fAVWO7JBt0DT/40V4NBnE0DSP5RXJ/B28dKobkWTNc0C6hg/H6xLVC1J68kwsg==","shasum":"c63b36e6d4027f51c253bce0ae96b9698996aae5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.0.tgz","fileCount":17,"unpackedSize":34268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDIUNCRA9TVsSAnZWagAAzSEQAI+/aagXxU126o02cZYM\nvGNTWp+BkQ28a8KWRx9rmwwMWE1rVb4yuPn+X2iLI+CtMXXCMJpQPKe/PJ9U\nMPkfi8DV7E4p/PyV1symwaQaKFcilYQQG3Q0I/FDNclIxze6h0k7rcu9OiTp\n1z/qvJDnMew56Twc4jGNc5fuzz/OqiBLcxX65SkrDfqyFasKNEFMEYKNfGPr\nT87gDJ6xPxAOVJjwRtiDHYBwO3XKSHaRZYldcbLYDOD38e2ZoR9HXacD5KnX\nfFNHL//Pe9iBu4YXxPNlg99xLSWHRNTh8gwF6RA9bFFHwC1jL8RqDPK1AIGy\nS6ANBG8RN4+O3pYNQlz1VNxbRWHNciox4IcJ4M6N3a5eqWXStYy2l6B2O8Ms\nui/kUh2AjoayJDNwk1kLu4LEHqSaCaPxCncjhF99jzRfRDg1l14asTZ1H8dm\nfVsoU3KG3BS2gIHYzF7Qouz0xBvCoz4yWmkQ7AFfZC2RXJ9Jg8t4YEa+pQYd\nqIyyAAZ4FaGgv0DnsO3q3+rPQ2jXmsZWT1XkHrASTeXWLRczk5zHQjuIoWuJ\nLmG6IEn+bHr476E5Ju8QB4aMWyafHrxtPH3b6O0x1fW+H9rZ5xxjGJLGwkzI\nrOYwqVaV/8h2958aCMz8KeS/fpKo8ggxK3E510G4xENhgznBbkFhmkJnjONU\nQKMY\r\n=ZFbA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD4D7ido5GWMAdc9VqnG6bIprZxx6n+rsfOG6TqMfpEQIgV731659oJqcCpP0KK8+a89jGo+spjwrdNtFgm32/9CI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.0_1561101580625_0.03054459653124275"},"_hasShrinkwrap":false},"1.0.6-beta.1":{"name":"@flood/element-cli","version":"1.0.6-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-pKpz6/9qLelxJmK8Xuh1zEY9VLFTODoUxEApk41GEAacFB/mr6i0cBLg2yLAvIOH42AH2QSiNtiUVC4V+J0/lg==","shasum":"17cff1ff6ccf9f48198d43f727522b92f6cc7423","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.1.tgz","fileCount":17,"unpackedSize":34268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDO2CCRA9TVsSAnZWagAA+TkP/3CXKZynBU8fZqCF/zCN\nchQjYmaep36JeD+LfjgvexlXq9VBpES6vvirJK0sEiDVZqItNeowkkGRRuK/\nJToyNE0EEdSDC/HdOcvPek6iZsHMRcT24ERLfddlr8hbw4GX/6P6KDdXcd/f\nX0dC7ZqbMD6uX7NFDbEnY7DgXvRgBos115NYDwuRggKlTCWU68f49QBrolWK\nHiZm+o3fGLCh+Kq2tvW3Z/QmxKU7hbUwB4uzMfn9QpDvpkMTLDgV6U91tEfq\ndagYlnsZ93JjY+I9niE3x8wiknh55Awth6Y/D7xC4D5vbzWeJRNNWcngAViS\najTYYFDsNSyzoDNQzsQgMoo/ESdlZFxA6R2xjc7mDL19eGhLEi6ecyngSLDW\nYx5qov0+mnUFuliqjgJfCStCyQmeKtZnwNe/ktrGiN+Z7i/KNqjMRJoF6YOz\nUIWkPOuENun7i1PDgUsanuThg4TBEMFSC1usHF5vz/dB5M2DtbJfOYIix1sP\n35isLE6RONpbqXbsC8A5MFLyR/PTE45yYpP2ckO4Q07+4x76P7yUD+femb5y\nS6ssqMa13pgf7MpZlgZipqjkGHmbjD0ylRdDmI+rnxGqxwqTrIv0WfYL47xv\noBovNUNuhx9tE40uksLn+wz/7KqxOPjBvCjzT4JMVP6gweYq52bUmnMWkLZW\nweRp\r\n=cbUi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmpPeGESlmRI9b2XTn0xLRSpbFfIRgbQfE048VO7MxeAiEAk6ldh0rQPHrCioO07zyQDtBr7yuoX8oMhZRH6n5pmdY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.1_1561128321710_0.34533828937299016"},"_hasShrinkwrap":false},"1.0.6-beta.2":{"name":"@flood/element-cli","version":"1.0.6-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7buz4LtLmoB81nr2FBQBFWT63jYA7lKVUz4B/jXAsA9gHns4JBJgQVYhZGzyX72A0TBSDA4SwKaVx6/70helvw==","shasum":"e22fb2eafebefa993b61e5d9fbfcc6741c120ede","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.2.tgz","fileCount":17,"unpackedSize":34268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDPAaCRA9TVsSAnZWagAA9uYP/1HiwxkuCuxMbtyIg+i9\n9sqsMrLgKZ+2LRRF5hx4hz/LxgdTj6zz6S6KLsvsEBNNNFrwxV01e/Mb5VCh\nyv+SrCH0sphSds6OqtEpmMmOjEg9YeQEKDHJ3KQsXWsEMCGd855ZVfGrLfb+\nCV2ezdELuUXnLDLyT0bTstKH4THl+l37kDvBHrhtqRtvbPEPk/VRM817oGJa\n9RGPYEMA0C+twoqDe1IDDDQqJa4AnD/Ttun/6uvYj3oCgnR9VNSOU4+ZegmI\nJlYRKAhjCo5h/zUnbar0IGBUTgYvPs8qBRx7EOzqO55sgEgUMi63WYSXWTv5\n76JPokwxOxnvG1Y3cHeCpqwOJveqoUjfifQQD5PfZMlV0xc5gUkQckXfmCPW\nZQtwGw7a5bjMUzDo4d2flfKxEIM9xIHTQVcab2VLACV5GNtUB/zN3Vll1coJ\nhJvc3jdW+6De2s342sdFuo0gcoynBPB5EKl0jN6G5GQJdjr2qaSCSn3WBGQ/\nsEZMI3E4nVlXeysBLptLH8r6qVSCr0YDrHx8AxVIru5+BYVQ1gXPEpIy2LE9\npr9nTs6ilQD0kviU0J0OnTNScG6AMtIPnWM0jjdUIhUz/oh+I9r/0vHgnM+u\nj6Iymyu1m6cK0iIJEDC+Co5yBV0WM8vT0A+S4/VsreVNja7NZ1NBw/hmL1/W\nB/rr\r\n=e8l3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXiEVeHwS1tg4k0191iH27QHtImRM31YZaihgllULbpAiEAlrnVOskaAP4h+piMNkZ3jh3KBVJEYkUruATJB83em9Q="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.2_1561128985733_0.7306320456281459"},"_hasShrinkwrap":false},"1.0.6-beta.3":{"name":"@flood/element-cli","version":"1.0.6-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-qqyt33o1qZLdeU/1TEGNFI23D5W8+Ml9nGVhxnj0cXTnx6bvdR+Mham8zowyDarys9Gr7Qkk8yT4dwjoerXClQ==","shasum":"2cd7399fbb836851d6ce35cefece5da80584053c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.3.tgz","fileCount":17,"unpackedSize":34268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDQ2UCRA9TVsSAnZWagAA8N4P/ii2bG4BVZHMXrudH2X6\nX1407RdQ0u8e3ckk44C/FKv/4PCzMesZd+NDTe1dVWv4AguYcHRrrLWWKTXW\nO1/BJvHtk3mHa5edi7/B83Hvm0GmqiM45PB6aP2dT2LOYrIuHDNfp5N5ME1E\nFV6eF5mxqzUvZChkMhDjpjg+RMOYrGbPmov3xIZgKXH4aedZj/Lrg1wRTRmf\nThhvCBjfE7qKt5MqS1qxkXTxLcVndrTInXjRaLs2Dw8cdVl4qKcfEjsSYIJE\n1m7tnOpA7Jmj+kRVLfPheHbFO1FiqoRfjcNDcdecFENRp3NcjkMXMAPUX7FS\n02IzzgIgm16Y3ja+Zka0L4dqTTk5TB6XohDZAXVyXmlK5NrIzI4g6AMR5oFF\nCbvRjzhX/wU0JTfMGWcIkmx+vntKSKfDxIUj75E45G2h8+yA/m+K+OTkL/9W\nO9fmwJdaN5ZwwvQbkH9WDpFgyG+EnWoiueT1mB8pZVMW0AnqKqi9DWRaEMog\nZIhch1ztVQ2K2S2gBDbBEyEdSn/Z95QZubNu3WhzjsDs1hATWpOY+Axy07BD\nGrfQUCVxYBF/9ulHe2zu8ehz33rmKkMFEcNB7B0D5QZMHl+DWCmgJtqZ198X\nXukW1K5vOrhp4Cbcr0qkxYL0IW/Lx7pdi+WEr751auniVmqJhJpp/+iwtK59\nsSfF\r\n=hf7u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9naH/HIyfu25RWojA1MVaJu6HGq7NeUSSStuqKEnzwAiAJfwp+W/mcY0uMzOSqh8AJs2anaAC+fWxutPiXM+59Fg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.3_1561136532067_0.1817763057293249"},"_hasShrinkwrap":false},"1.0.6-beta.4":{"name":"@flood/element-cli","version":"1.0.6-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-STPXYKFEg8iiCvCpPhPInng1fPdmxRyrpJ6hsbWF2z/yEE24layzaOKiWiy0iSqEeaHG5WHiMadlemKUuz1s4Q==","shasum":"25008077162e5737beb072946f9bc6c7f94d7308","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.4.tgz","fileCount":17,"unpackedSize":34268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDRFKCRA9TVsSAnZWagAAFNkP/08v5Ri29TjcTftGzQ1y\niu27dNa5rHcF26lX9pbpJXrUV5alZtMDcfmRs8agcJcOiCV6oIwSPR877KB7\nq2wowgWPDWJrRFtaKzoOimjTZyMDpTyFDnQ65thKIlx5FOceBcptCLzu2CRt\nRtBadQVgjjcA2wWpXmhX5bnOKXHTiffFD1C8EZCEXErFZfiUrHWrJEneTUsq\neksMaz/uCtgm8qsy2fGjIEcQpbAkwbaX1LzeHLRxuewJA4u8EoVK+eoCKIoJ\nx9GUE+DMRSdQjHlE7QZIBsXSkTyw8PKYs4EnB9AdRnAXUHAoPyC4S2qeOUhZ\njAYZ1NLIRoyF6PlJh0UnUHV2Kb6JYT7ACBj0wt31GVxI0L4bMB0wnapA8oPS\nC9RLaRw8Di/hJ3Vf6Go8wNHuK9iJfTWqlRf1ns8Fq/Iuufqct/imzaU/fSUP\nNY/fmC6W6WwOpj993fID6Dl86Pt+hZATdmeEUngD0JhHbAOxtnMLI2MQmPab\nu+svCFQB1oY5/Dj1Tkz24FsBCCMLfCwQSFFq3Y4Vzklwim89NBwyY47+PV2J\n+XUGLDxSDJPOcqph7hZzNI6IeStOe7/NgTXA5v7www9K79kygo9HIxQGSNu7\nZD1jFgOAMDkXOjLLzbBoucsbrzwXgSP0TD/MZPfADyQnt+KttJIaXWxRC6a6\nq4XW\r\n=PZuF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDq5AV5Bh9ovq+uPk8cyFogEoK5dVlAu8nepdvXSLZnYAIhANdYXnp9LpVY5XmhSY71MSFdUwa94rObLSWPAwCEW68B"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.4_1561137481514_0.7245387453536314"},"_hasShrinkwrap":false},"1.0.6-beta.5":{"name":"@flood/element-cli","version":"1.0.6-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RLEHzE411jzldW3HBMZ1DT70U3QSRCZfQjTs3WG7b2oCFOsOClA+l/p2aF104vgZKQe/1aTuqzZFsq9x9PJ8yQ==","shasum":"f5a071765dd120a3ab74976a9124c788dd3d3459","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.5.tgz","fileCount":17,"unpackedSize":34045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDRM3CRA9TVsSAnZWagAASlgQAIVKkrVYGJyCr6QD0eKX\nsyIgH3KgvMg+/rx5XvOPhFlwYvqr/6bPPAhuUbBjSHwGR4k/IU2z8+LKLNZ5\nN7ebzLx8LjQ+us5DedsJR/JTUahNUR5D0EXysS1hmc1LwnkjM3WWcGJbhGtw\npNraqUaHiJvyvXMBYjL+MtbRPfiHOjs187DTlUDuYJPlZD0XInXKlAvhIGvt\nPbwnmWQbI2NeDdpniIrcMZKc7oazbkPhrPJII2I/l7WkAI1NfVQf6sD3X113\nhpoVYhNydj6gq93icOC6p/baAO2nARxpKkI40HGcSo7NY+BCtsPi4tIhtewr\nHDBr093K/M5kwNXUjLqxBr8yw5a84CQOiWVYn/8u9jloffTC1HjSsbhrPFZJ\nKtpEsCfBfDqpn1I+eYENkMBJQP/YsPWloeUOhZle59RJJMVNMQ4gS8ML7iMB\n8CL7tFGP70MFHG6fjBePVY8Be+yHwfYOJCyQJAndPsqv9KrWshjp+wMS49s0\nVDXnH7uGdycb73HK4WYxEvOM9WKi58s0pNbpk1FZNyxgexIgsLFkd4yabKZo\n5wSbDsFr1M33M5sYc6mxc1AtMxQ3Pe3UcKhu1wH4pRBZVl833gPWsZ57AXs9\n2DBK1mWIni6VIgUV4zVB2xHAUcpx+9B9pJoiTWXpnJH+1MkW2UK5Hqo2cwMC\nM0vw\r\n=KI0E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC02TZ7NTncaG5F2lHin+j991AybAf4BTvz3RUEpbmgAiEA9WM7elvKBwMz+kJm7BRfE364bFarEJNzRifFheHuLCg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.5_1561137974826_0.9245149266029635"},"_hasShrinkwrap":false},"1.0.6-beta.6":{"name":"@flood/element-cli","version":"1.0.6-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.6","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-M1p6V9SqZA5HVw+6MUorCUtNtjdawAKlUf1SwpFkZG+F1jyMk0xljxvsLa8IwA+i0DK48t2RbbfoE7V9WHk9+w==","shasum":"0846491aefa95e8448b2fe2fc09d8d4ed74b938e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.6.tgz","fileCount":17,"unpackedSize":34335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDRakCRA9TVsSAnZWagAAQ1oQAKTlO6kufFwSO70AmW95\nY3DB22l0Fq/R/IMOQI6/uli1HYgbt0cTeJffX3CROxzi1ZJvGz6m2qSFur5x\nwu7fhoHJLN0xz6tNt6loi4TRAyF1l68t41WBmvZ2xmvKTDTW8ApsW9LAyXbF\nCP077WJENlQtG1yIyhSMjGVEJqbaRl5S72bLHewQoeT5RZbEJJt2R1VrYuoc\nct9ro5tGeWRwZ/G/o485etIL1odYNy3jPJ+0AapaMCjy7GkHqsyxe22bk+nV\nrUdn0ioUmv6iJRl7qMIhC9q4B8XBlE2i1oGp8ekIJt/G/urFO6k32Meu13kw\nbgdlxpOz4q/SKFnSOBdCEEkXQtCxgMxp+7BnNgAnLrmUW+m+4Q3f0evE3a/D\neOQwNyxaZUaWIbzLTa3sGDFnRZKpfez/EojT+eJewQxyPO8OomcHMftOH3Ua\nlr7EJTZSqAbWhuavD7kcbnTmCF2XSfHO2mNvbSaSXNoVT3VkdV3+PbU2wxsU\nZWW7UEyNjralms2gUjT4RNaw/9UN943SMaZvSILp7CU34eCT8QXPLCJABQdZ\nf+NImkRd6G0O+SSIT+joRTOzKpJ9JgWR5wsMck1NHCKSUDIbzd/PzSBtX6Qu\n8koFAAiKX8ZfrgY+tG/LVzx+Q1Xfyq7kgGR3+zpqFjsGwZParapKT0xHhqIo\nd2CL\r\n=X8Kg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnJK1IOxkbNn7w1VTNzKiHbWePKyckfWzF4K4zS92lMAIhAIoOgGmm5xm/oxGvJ8FeCkb1lzerXmp/2f7B+00wf3Sl"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.6_1561138851457_0.7880516872698418"},"_hasShrinkwrap":false},"1.0.6-beta.7":{"name":"@flood/element-cli","version":"1.0.6-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.7","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-sDQGvfRrCF1FfmF1tyuOyw67EOpv2nCAFS2B8NOWdvymBZYm/KA7PBcgi0qaZRuGzWsg43HrhzE0lYQhYsR91w==","shasum":"dc7f2e29751f4285a0aa3338e2f8700c2af0fd27","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.7.tgz","fileCount":17,"unpackedSize":34335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDSRaCRA9TVsSAnZWagAAeM8QAJDppIf06rc/FlXl256c\nT9v2pc/R6HDzrBXtBjCRU2TdTDFH3h12Pz1cNLBbR2KM5Oz4E4Pu3bA//Gjm\nK9KjjJ//lF5pao7J14z7HSnmcO7hju5+8sKIK0KcZmhmStHrTpA/XKHiMREK\njeQfsXbFiWWkrsi1J1bf5+LtCSz/mPSn/sbq5J4HFdukIb/kxxAOgpz6TOPR\nRFQnVAB0ym+23p5bq9FQpzhJJomnt53HVI59kbggOb3PJZYf2LKxbyOU5Jmx\nAL6oGL0r4yMipGaElQNF8MyXVm26qWVl1sJ9wQyR/Ar79m+3HqeM/LAmdlgf\ndrB6C/pDRblTgQH0Z7AOKdbhHmTZh+aidWCFtu/aW7dhf9W4Yf6ae2fuacQg\nJXuQ5Pq+CmALw9CpbBncCIPGNSIb+l7nkJykHUwPb6OIBS7k1px1MPIiUwJJ\nTITa571igk48oUFJrrxV4cAmWDv2g/q3/tywQuaPf2GuCFFsaHlSWF0Dd0UH\ntnSaLNVxD2/5TesajEwbuRZzdXZPsXuuv7LQRHTMxx/2Hl5zigCGqWlTesYq\nO0qrN3vmGl6jBoeFhSawOnEJASp3sseowdTTCa60UuXHVl5oidGFu21QSJ56\nq1RO97XdysmRmSlz2eUycB5CUBiLPBZbtuz0Ktl9+Rx+Nv0/SO9EH7b4JucD\n6Hnz\r\n=xY9j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsrb/v001xPLDWLccNEot3VCrlo+0fEp7gJ/wFkZIvWAiEA8N0b+U8Z62A13z/fgLV4cIR1XycjUuSZ+lHmDaX2Ors="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.7_1561142361463_0.8061112852662642"},"_hasShrinkwrap":false},"1.0.6-beta.8":{"name":"@flood/element-cli","version":"1.0.6-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.8","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-eZeNiAeSoGJvx7EQMZefkE/O37WLC6fSvyvFP1Slmyh0cihNMxNi+ts057d0QBJRkMLP+DTF4s+wkn7RZhjSMA==","shasum":"9bf1b4761fca17ae9cabfcbb3a728fa7b780333b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.8.tgz","fileCount":17,"unpackedSize":34335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHvNLCRA9TVsSAnZWagAAHycP/32Ku87yslLj+3RbYy3w\nKydUS5jB42mfF+DuBO3felZ1xduSEm/+pBJZmTXupeZt9OY/D7g8r9LvViOf\n3wQSNK41mhm4XN31EF/Vqfi4VKg/lQrBvW2MrBG1zsNyMLBPOTvh3j50nlbt\nQNk3RyF9XfizGwTE+gVebyZPfAhbEHUor4O3/gq3RK7k2iNCzWEk75j9bND0\npDP/52bXmaom2r+Kh5kpn9J+Pe9SGuwXe/yJGNKMFumPiry24rMc0lp0x+r9\n6ffrMu8gk49nMTMfTFDxcvwQ7G2KFqOrmjgUzAb31x+a2SLGu3tvSSSuO6PC\nRG9O95ADH6OSSVvTDnqDLnnJn4vOFjjhvqryWZZRa0BcorTFlI/p59Iy5Mse\nX2wSAjr1mq3yYUq6UxlHq+oxJtOGTXszV91mNwY+QkYN5IwAsGoSfZzXcJ3h\noOvPS7HOYZzEi+BysC9mYPcFXVNAdOpFz36nKsecpfV5oFSp0LfCGDAF+c7z\npoHfTlMrM6yWH89tkt/kvxELMe+HLYg+ieLxC/a39qd1vNMBWRAgSJ9RaKH5\n8bxgw6/rHdsDU2pf6C5lDmWzXKkPgSrPLgXNqL1fZb2TTeeYCJ/csrwmWkMk\nD5F+3rwJsEd0/swPV17Xg0SE5IINyX24j39z+oxSyLSO5BvlEAccB+Rzj/Rr\n0a2U\r\n=WqoG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaOGlLIkMnIHBCRXKM6cuFoIeulI6SlsN/NpGEAQaZTAIhAJQvNl8BOFnHVIl8fmdSrzaikfw5yC2Apxg14HEvzPUw"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.8_1562309451091_0.21402906888319695"},"_hasShrinkwrap":false},"1.0.6-beta.9":{"name":"@flood/element-cli","version":"1.0.6-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.9","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.9","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-IkOjpWxZF7yy/CgfoNRKjjLTb+v4DpqZQ9p3Tw6r/M9X+DRbUJCPRIoLNHfFZUGo3voj++IJdvUskLkRSXDr2Q==","shasum":"6de335fd8dd734a04daf608bc9d8a6a024b2b11b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.9.tgz","fileCount":17,"unpackedSize":34335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHvTWCRA9TVsSAnZWagAAkzkP/jI2mOhG5fervBTl8J4Y\nqter4DJ6I3aB/fJZNkrgwJYKW3hTCKdhJWTYTOkQPv48yIXbjVqEbGypYZ2S\n9WUFDSaETqtTGhoGkQ9N0G/ec+qR2oFv/lTwAD5P6Urdvw3InsLFa33qk1+w\nNNQKUJlKr7v0c1lr8dPz4OtfqWdAz2ESkJgWXFWxl0DPnmvuxo8vbmTgrUtz\n2Y3yNC3bC5yjA/yx8vaETYkZH/O4BrkDLI5klTZlt7eWJpqo1cQ3pQwSs50e\nTc1sHJSfDXgmPPOAgGfXUSNFB2F2QjP+w9VPQthVwSLJ7Nee5n25BXeDawaO\nP97frpKrVvUvCwBoMwKAQG0eFrDFZA5ajy4SH12Y3GYDqgSE2DaqvZWdjMEO\nnnc22vJ76avw3D3xxstEpKWD+YFQTp/XWyclQf2u70Bt6udQlvQ8SBiAQeIM\nC+sq3qWNKGzNCUcWIxCF/eWFBB+JcndcKQ6gxhFd5PEOOjdRzNqiovU9zCPH\n5na6UDPDbjssQ0dWdx4q073InsYEghQ2eEkUfTI/OE3rMmytnzBcFn88Si5s\niYasdGfvs/C8+aJ1T6kyzTdtFGJoW5wPGVEYxQHte9IAw038xQ9oLTjSRNHS\nn/1jUhUIrvLnT6vfbzWjViMdEYopG4dW+8QCE2G9xHiqpdzmghFfSxV3D0pN\ni7Mi\r\n=FYdf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh0xN0HEMTumcmaSMYMKlKPnUO2f3zLAizvLQHBaAbgwIgWKkQYY4GcxiYTNv3b5WM7hjYgi/zbKKAo9m0OdLYN58="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.9_1562309845433_0.8105069274272243"},"_hasShrinkwrap":false},"1.0.6-beta.10":{"name":"@flood/element-cli","version":"1.0.6-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.10","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.10","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-N9FNESxwcZQCA6N4surP7jAgXF2Ceixu+P9QLZmygKkBXGyp6DrAAUn1jZfV7Q2f5aTllcjoC/zO5oBcJooJsQ==","shasum":"aaa0dc3597a9ae259e08d7d3d6ca3d18d8fa308f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.10.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdItW1CRA9TVsSAnZWagAAw7sQAJ2b7P5qp6O9A/YrIDGd\niUWd9FqVCcKPhHYAGrgllmmufEPKSld2p55umHO0ySsmf3s//GIFDYeJf1a5\nN13MYk3F3tcFI7FeR8FklwioQaxipUbvEX1akDxjchZwnHFP6ZgtsLQW3gqu\n82dqh+8IAMZB0FMr1LJK4Uk9SYNv9gcL1MFIfJxucmJTWIhdnlYYRTDQyM2Q\nk2PaB+O0H3L6spYNTz++xWx6OzvLKEjSMXOpHU6xjOJ52VIKZ5xMepfIq+1J\nI/X3FAj2QnHe6tOTF1sVAabTwAq9HLwGuFVwUQ7ii59CFJC/fjma3TYDW98A\nDODbSw00Vc8K9Z9K+YWwLN7nrAOfvkx+PHJDahYi4HCzHDzxSQU9eLONPgWS\nRcG5mOGZ+CN/w8QKVE5u+Ev4juR3F00pjvbv/6qByeUgNNZF1pUEvBqsoy8z\nfFDxOEZ9LjRjhtQBe/x6NRZoGENMw9vSL/wwk8XlfXQPGAI7J2eAp2lkI24+\nzHsEHCQRn8wJXuUvzBxY81rzejh4tB7nBdJQJ3yffc8GF12vRwkehmCzg3rS\nuvzq8i71ntSAmiX4Gal53Os38NGI5c36lpQQm2OELXfy5SHBLJ0u3h26o3+W\nW/SInPIMut3VX8qJyUkfP96jlAcYGnSsI7RdZfp/KZc+xTiyvfVoghq1iaOn\n+Y64\r\n=o4vO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOtXPqSWJysb1APrZGrqyilrmt4/Ffim+bUZ/dY5rSHwIhAMb9HeyxNUn40y4rGXi8daGWVO5S/Fv2vGCxliTuyzDg"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.10_1562564020683_0.45550073301771943"},"_hasShrinkwrap":false},"1.0.6-beta.11":{"name":"@flood/element-cli","version":"1.0.6-beta.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.11","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.11","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-QPkGLTRUtelkABJz0l33LKZb2ST0aDoYOSRR89VRcTh3KBRhzbFcFW0JKajCu/+omJ7uP9Um3p04fVzl6pnVyw==","shasum":"6204e7078ce965bb5c1d870a674f5869d1591106","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.11.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIwb7CRA9TVsSAnZWagAANnwP/3U+APV/u8Sw2MVRYiCt\npKNYPLIiBD4pAejOqIN1DuFj29UHx26ZzXnsjkfLHwIMjGfvbF+At3PEIzAr\nQYEqZrh6lvUw5Yz+zjseACm2WcZWBFYX8Xs3MJCIw/5hlugtHhtbwpgmxJK1\n0bD1aSvNgbg2eb2sqnpOFdxbLzgq9iqJWTCltT+CIXapL/l+SbR+aTgy/mB+\n3clw/BHHPpZVxHIwaD60DdLVgEh+umPNR+ysrtZ1VUDm6cbz/59Kmzabw9xN\n3j3X9TUk3xCMcnO5mypbVL36zXGBNCXDmVfGt3lu0O50ILjk5RdpvD0bRMTH\nAQZ6RpVZVUWtwXgUUVdq7GaSzBdh2mBSCpUrz9kg7/m+Lrr99pSHFQLP3chv\n8v5OqrwCy3IF1ixZMr6t+I4900fxKdXCQTlj6/LOkBbWai9N/2CiZgOTRk1c\niIw3ULCtSJFO8tAZFqodoVWGDaRogsRKH+TU5kGKv2MMpWCkMeTKdZQY8OfA\nKuRBGGt2J6TlrPo/M91oGltzoynqOc8IksS7paUsxK82bEQLRAGz2uL4LFR5\nrcqL/L7NqEqlBtSJ4I2TT7VxBXzJKhfO1Y9nqUSQrV0LDEc16WyYMPCjSLv5\n2vQdNvRpeO6+Hr0udeKZcB2k1wqXvUxRvs5RotiQ6+PIjeEJKdQIgU6H0ic8\nLC2f\r\n=gABU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWeFq1qNa0WUJEcn4Vj4m9uodOdzDIlGd30dr+6sJGBwIgEWd+R+RMm1ZXAlFl7cNoCbbeCIFPk+l6001P0YnS6Eo="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.11_1562576634764_0.19198224594144198"},"_hasShrinkwrap":false},"1.0.6-beta.12":{"name":"@flood/element-cli","version":"1.0.6-beta.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.12","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.12","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-PxtyWYL9GSs+fr5fm8yd0QCUNsgv09TquEb8rW6buAjwk/OIe49K71c3n+L1vffCXpFBlqDE5DAoetHWHq3hAg==","shasum":"f1894c94c70a5a3814da6e7a5153b3ed24a78fa6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.12.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNSBoCRA9TVsSAnZWagAAR5YP+wTNoxOVmXPvFzGDU0be\nw1BN9X8CRXAfknjssX4n5CIZvyQj5whRRf2Tc9Tu5v8oL/WfZEV9I1xzvfr6\nLpn92Z9K6RaiUYZNj9LYk+25X4LDgfZZl4weDnE00I/RnmKmMALQ+8FqnERF\nRgPYOX34fI8jDq9ytslA9ODlY18jDMtp1gww9zOelV+nJ8jbYrSDjtq88ko0\nj03r6IywQ+gqb5YFmAYPlR7c5r8kYgTKVYEn3mwxG3+9atQKxBtjSR/Scs/p\nqUV5VlG+O/SxIMihA/dsI/FJ3ltph6yEN/p32SrQ7yYiW3wPQT4+D6kixnbB\nZzwM8f+L0t/v12TVnk1VpN8e0ChuJv5QY9BKtnjbhPuIhd1oac1Ds7X1bNfm\nJmKRb3pUPKD+x9Dg8R6LLseUhLkS+MgvuoWvdyygZG6ISmQ4v9WQyJGO5VNU\npBebk+GyC0kbkBrwOUlyxxvZm8H7mp2zHemHMnMxkzxGfFA7xoJgGVRxsFIW\ndx5vjkH+9ib6JLfKt53fksT2Fz1aEmkqS/NW+zTfLDOhswIYVj61VTltVMCf\nEzVh01wdViz/RKQLjrYZaHyRaXV1t+0dLGphPNuPMEkXg78tGYerCqkPWWhT\nRG7b1LWUJJVPIOLRDd+5YzGQghm0Jd/g7I97c+COw556ngmUiXtI+xRiz1Ko\nsZTe\r\n=I2ke\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClK+bh8+61SX1msHqm6BRnbtWimA+CiC2Mpl8GHNyaSgIgM7EJPd1Q6fuJfHuxH3/d7x2gRxVrcQJG13sNE4NMQpk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.12_1563762791832_0.5333160264129657"},"_hasShrinkwrap":false},"1.0.6-beta.13":{"name":"@flood/element-cli","version":"1.0.6-beta.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.13","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.13","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-d0cIos6Ek7gGI5J2s4/S2+D1DS7KHHOhB5wI5+tiUtI4EEmE2KQkY6HJsEcX2klj74b8Mi+Cm1Jt7KEjVUzS5Q==","shasum":"799bafea64945cf79da7f49b14e9b58701b89719","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.13.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPn6XCRA9TVsSAnZWagAA0WsP/iDoYt8wiOiJHgpI2L6v\noMHBWYvIifzOhmtZ/Zp8LaUKrr4ya8bZEIRjBTED2+OpzWBK+oXg961yDGhd\nkabB0j9VJtrFZhk56SX/3kjh86y2JNgy3u1Pw8yrGgf0Uc7cNSRht3hkG1qf\nCS7mBFpM4AncRQIKhjB1bqPN3xxaJry267YqIv1TRdTXGceJzcgcoBWFzAU/\nlHLjE/eEzAYbFhh5erCj3Prz8myja0kWDyYOAw0PJSTmyxX4X8tmSBNgKtsP\nqo50jf11xOEjwc/A8b4ngZwq2iNAhzqhOdLlEOUVdz0q6edrYLhyDud1Q5pu\nmEpNrWojHCQPidTvzJQG4EJmi/RgRipvTUQ7Adjq4Ihmj1A4B8rb2KXIYrKj\nJQNjXBPzGUzFEqPVVsZI8PFJiasmapRMtuEmkhc3ZMH6eLSCBSUdPFZVPNuE\nQk9HxGscZok2jw1HOJuPil0Hl7Ni8IOGhwqn3kVytGkpaxBhChSjj4vsGvlJ\noGo1AxDLn2fdSc4ncCpg/9wLmLsMt0J0vcZ9S/wOCMo93Iduq+ysO8saoGDA\nUMcSk6yc7fpFK0P0ge+U+mQfnsj4P+W4XZwibpa3lQn9sNxrEAvstnVUf0cY\nAymqJ9T0m6qpCY601vD1v2dyFlZhFOldcHAVE2MHBoTZVsmSNMocQiU7lCsi\nCLbN\r\n=Q7bo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLYttmTaHMltNfOvHwa0YDbMpXfZoNQCWYl1oqD2bZ5AiEAztL904qxITLHLZ6NGx3L7M18UHZlGO/r6Qjixw018vM="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.13_1564376726823_0.18147891229866797"},"_hasShrinkwrap":false},"1.0.6-beta.14":{"name":"@flood/element-cli","version":"1.0.6-beta.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.14","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.14","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0g8o3oblaoMJuCIAJ4Jj9r9KDMLD/LJnmtFJeZK06celHl4k8y5RD1ATFmeBDr15xPlqLDF6Uq69wXinfivRJQ==","shasum":"2689d7895b0a20bb88d3b7b0d8b570701b9755a1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.14.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP9duCRA9TVsSAnZWagAA73cP/RSwAY0Q1iWUihlSTQN0\nw8XWiw1w9NIQQhDzD3n7BAEYG2aXNDG7gJljL1qT1wE60naLea2oOTsAaScV\nfZm4BGUD6x43fkiz7K6DUa9xE0bXes7Y7PoXbEBnWlrEWsn0IrztkwebR9Xs\nb+r0JCkA1mHlf4vXqLKjWho2A/t1nLbSNBnTrL+MlxK9ecg792z+5XJYvXSW\nLnbBavVh+tbzKFBfAMy16yz7GWkP0sDJbgZOiWO0ssE1WWsEDyK9W5rnQzm3\nLwLO/m+gCVNdxVez4y+ioCFFJlzsHIZT+aY/uDkqynuwUr66PTXFYs3J68mi\nAjTE5c4LFZJP6+npAD9JGQXnHiAWS5BJ5pfZ0OVZWVjw11L1tBZ5Yujpsykn\ne/U0sRU83snvynJRNtrtDyVyQDPevhBuRDrxbRKCrUsUUfwSXwJWqUlDcdbU\ni5ZKMZlN7mB9FwFKi10pvBSuvqKs7dF93Pn/cDCoj2G3P6YadfOMdovSb/Fo\nCwnUliEses6xvN6ySBZoE4mPdUzcrf6mBOri8d5L8vorEny3/HFUua6sUzWA\n9phSVWgnXnruD1Hsf9auyr7ue6MXsqfl6mQJW/ho0LcSrc00/MK+v89HWWFq\naLpknOy91dXWlZF0M51SgfjACx44gapYmnLh/m+4Fiu5EAlDNfxyI50MwLLB\n3CQm\r\n=t5mE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSjwHSloidz4F84H0QbVJOHnKZGyhZ+mTt6R22eLz+/AIgU4ePMfpL+RctOnREnuU2HlgHpHFQdfreJg88xHNJNwM="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.14_1564465006079_0.47576461885998844"},"_hasShrinkwrap":false},"1.0.6-beta.15":{"name":"@flood/element-cli","version":"1.0.6-beta.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.15","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.15","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-eZm39cdLtTywGZZh58Cx83greNc6MPhovcXjxpWeymNZbifYGMwTP/5yQTorJ/8Nx+Wxm0llj38ZPqsDrD+GdA==","shasum":"ed8eea1979c9acc9dac08c8829ffae824593d698","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.15.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdP+nnCRA9TVsSAnZWagAAOmcP/2JZO3NJqxvdAs+grkSI\npx+V3113QA8WyVennVkz5//o5dlTHLoL/WXG4dIF8hdAjJIb89B07d8V6iNf\nQ8RC5JvqUPtJO0wXyKUgY+wgr8OmCWe9qiedMAqHdakF5vTLR6gtIgls+qdF\nzMOIolIATaKTgbOu9dqqN7OD35sedkS7YPu5VojmYfmLtVk/nKbWeRtWZQsF\n+gS9pzd0OCLPLno+aJV2hnHrS3p3t2uPYyDXSWZS01XQ3AIlJ+1eW4nAHJPs\n/7/SwUebyA0TKT8qmR68OCTUuZrp2SJBZ9RG8uLCJ2lMQRijIDlsLBcDTQgb\n/xS2XUOuCI0mZEdLIktUy57isBiLDJUkQzQR0g+Azk3vWbiYEE7PeF0nczUU\npSKwpA4+E8fYDMztQl4dw4j3u2vYkY/JldHyzDmP0GwzYgtLnPGqQUcghv9r\nxzQrZWjQqS+PhfkdyQ1o0ouWq6MocoWyhJ+pXC+3NkPg96pM8GRFCb9r4h8A\nHQ9lyvL8TCIWT9vtMDCoRFwSSeU5pvQAmRgkj+vK3cGmuz5N5do0+cHv3RaZ\noR79NmjVRAYsb/dvN7FyBTo942D0yfPRaCe9dn5CY3NKSE3AJaI3DQN45oY6\nYF+6KaoLDJJtO+3iZ7Pg1ALcCF/+DMcNUye3uRb+jTaScadq3N5CTdfB/jlg\nyrHa\r\n=dCOD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZiUQ7L0Ye2Y1GZK3L1NbH0OQMohZMj4aJ6xp7ysIWKAiBwrK7vKCFLyjbkFLEobPFeiU0H/uDmd6RI0FAceU+i1Q=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.15_1564469734931_0.29784917000143896"},"_hasShrinkwrap":false},"1.0.6":{"name":"@flood/element-cli","version":"1.0.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GvNZkS2AYpXtFiqxm14J1qB9nNab/hwtdRV+v5+mcjL/m//FaFlmvcL1CKPONdyPaS17uBqZ8+ak0YqzASNOkg==","shasum":"3b0ef878584315fdf673e3f7a006b997eb1ae8b2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6.tgz","fileCount":17,"unpackedSize":34254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQ6ykCRA9TVsSAnZWagAAldsP/1mSQeKINw+g2l5V3U1Q\nX9TR1PCqZrM8GG6H+k3q4NzKnMHayIQnT4XBzaNvGxc3YgLl0g9UA+vSV3ma\nvTdAeSu9gQ4TuxITZh5X2FIvvERdLiOWFYAVYlucpXZ5Oc0hcBcs3POFRumZ\n47ibPeQE2R0zv0FQmhVtEImPPdURfdOgwl7ezCHvCBXh/WWyJGo3RSpAxf0x\nBsnkssQxiPVobnKYvRdwuTRlJ9tb21EWcVyp5O9cTceECkZIZPuD/WKvI3d5\nIO9zoItLV/lq04HFWXACOdGoXaXd66qhXEcRLPtyy844Ik0jAKoBxSjsUsLy\nfM/8Tru+hQ3Ihoj30G9NbdNiQA3ac+Y3SCYiJ9fvzmbXexdyy+ifBPViGmLs\nk1mT3+qfraVc8xfOZe6Vhif9S5Hij8IgPxW4WVWQLL3h6gREjWMvUNt715Xd\nilDKnma6HWqAtZMKcIjZRtfbmd+KLoYnjlGfoQr+nbIRuOjK9zc4svMKACaU\noiGae68ZNNKw/iD0u1Hxzc7XgOtuGha4jXQil2mo+aWJy8yHBQfQm/kmLPb+\nwgNDNRHVFcSXbrFPWo8VXQyMnDzNYhLWiIiDPSWWiPnUtC7f8sFKD/Ddv6zD\nRq9AM1GYH947e8+9Cz52U5lbtVk488gC98SuiF2Do5SN756Gsd3Bf3sNBLFj\nNO7Q\r\n=uBV6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8+8m6Zs04H5owHt4sA9LnuCV8qId+3iLf7rFgCUXmJgIhAI+XRymkHkjeKWgygPf+LrDsSrdWg17TVQGOPk6HfCq6"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6_1564716196002_0.5024132664135446"},"_hasShrinkwrap":false},"1.0.7":{"name":"@flood/element-cli","version":"1.0.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.7","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Had0zuU6y93+2ieGlLH12TcifVy0n36+GxMgSbzjLWisERnOmBXk/5n2mDF0pQXxUad4ma1+9kb2QThdnjCDww==","shasum":"b6db37e1d43ac2a3f578d734b58a8bb6fee8dc5f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.7.tgz","fileCount":17,"unpackedSize":34254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQ7l7CRA9TVsSAnZWagAAfyIP/1XTYIjdbsETu+20Rm/Z\nHsfJ1A3nq7RjiCBagoWgLesApyX6oXgesZ+KRhhjvSgIkkbG8ZhFruV7fE1P\nmlMVE2+dm5xDX2robew62o8Z/lVO22A5sIAO9GqopZ+XW00tvO/YIMImxa5+\nDQ3qvlwRR6Qx0CtWFjc8m717qcrw0r7xokZcw52QXdDzwtjMM1HwbluD+B9E\nSSmkyVWZN+GkA10qRFnPLrnYAIKh4PKEbQU8Rmi8oZhiwUNducSPaodL/23q\nmVFDxrMCPH5sI1A2tOt/m22pSoYGSkU8qZUKFtPXBdEpg/wjV4eJ3foQw16D\nmGNMc9nUEekbIatRhHitH1zngYU0yUiychXWqgumzEraniRYuYlcDzF5T2Dj\nEZ6iIDHMa3Zrg6UQ/S9nRG6zTQAgBwlMzJH4TPElbna0vS+1E0qCNTlOU8n9\nE2e+8GevWErKPp+9S9eAauyVWTQHuSB2Jj38b/kvVM3FMc5l0+rhge9iB8et\nLDh6foWSf6GBYeitUvndFL9DB2Wh076GCI0duBH06CFsywdLQwLrMNfvuOdo\nu06xwBYhGD/eg6ed4Zu3xH3/icY3C53OreiU1xZsXWUUvZrH+tY0DeznYfjH\nPVoIusETxBYuqsCYYNlT9f3t++sCCLhI035sp/mJ5PWhdS6j66pY1X3HFz4V\nB+NL\r\n=fWWY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc0rXDGRhZh9cwWDPMrWkpR8pLfeu9MU49Tm8Uhvv30QIgFH80z2EVLtbAFLnoBXZxfvp4QuwzsyXj3/p5YxhHros="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.7_1564719483332_0.005343676656333507"},"_hasShrinkwrap":false},"1.0.6-beta.16":{"name":"@flood/element-cli","version":"1.0.6-beta.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.16","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.16","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-bAIsckKiK7EwWJwYRwivJf+fwyflgmWCSQzzm4Fy5qFOr+BmnlZLOwri5ZkA5Cr6+3aScTEmduS2o2l+bsCBRA==","shasum":"0217240227ce222ae908ed76b1f845e6560c6714","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.16.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSiteCRA9TVsSAnZWagAAXQ0P/RsfS8XON3cybjzZeTpr\n6qY82OslD+j+21AMA8Tgbie3QUQtTmW7pXhpWlJuAMt05Q4OSakUMSz/QKVN\ncGgvkF0Ba/AzccKC4yLQumaDECv7KbIRSshAr0s9FpvjbbkQck0O5f2ozrM8\nxm4Phct7SC7btZhHP4uG0oROODEJjc9/Jra5Dnm4+mtwv7J8634k706EPyJj\nbNy31cWHiD5g8EWdV5y9kt4jTeBdbLiWeML9GrbhRGdBroQdl6vcVddzoab/\ndlgEFp+19O4hiMGs8OZle6T6+DkVbMZ3lSYgBAQvgzNXyeaksm7BK9FiDPtK\nR60HxJ+87YS1fEi5/cDvQsovvhHNt+c4K7iScoutP2cRbdde1D8sRUn0P0tJ\nUqaXAP2XChFsl3o8zDVR4Z5E4RnBBRtVqvPQW+fgku19U3h1iHXK2iiXQoYS\nr8uMz3thsu/SEY1+BGhFYZ9OmxlMEycHU8htbIgO9/LjtyH3HKLb0iWwuoO6\nAB6bahX2G8GK1s5NVuLEtunCuc6wly2AjlvuQYlkKKtaC+kQcV4Q5+kdS4Tn\nLLVp8i8YY3heVKs03vlXmixWGDCuv5Dp/3ClXcThO35Ioz3DiWbGWBzJChsA\nwp5dhvgBFQKuJi8XZ5ZgGrFFGnVsazJ30nGmRKOfGrKX7cLGpzONb0r3Enaa\nOEQ5\r\n=V+ib\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEOMLP21jwnAAhUKGruqEUBTPtile5F+ymewsw01O44gIgSXdPWN3RUdJb9gg+y0pUhopnUvUBdVrWYWxdvTOh/D4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.16_1565141854036_0.9622772638400894"},"_hasShrinkwrap":false},"1.0.6-beta.17":{"name":"@flood/element-cli","version":"1.0.6-beta.17","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.17","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.17","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-jH0rggPEPNH61S63E7TGlxDO97fwxjNioJMrzK2kFOx417JZbCjaTUGctNsGIAEvqYiQZfEIDNeLdTMN5p+6Zw==","shasum":"83b8555fe5fa45fd01f298701773b8f369155968","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.17.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSnJ3CRA9TVsSAnZWagAAO80P/R4B+p3wqF0Fn3cV0cK2\noaPV+LXrc60NSyu20Km4MyTX5DdjE+u/mLoH1dFY9ReMiOAQGB0tM/Mc4KjE\nL1DL4bifX9SwvCIbNemjImx1XUxRsdwzZ+I2zuxSAFvjJzppJdBYeuxnTS+t\nAcRQUNBmqFJrDjxfyNzRblI4O0RweG5YrCPqBTlDABYGvutKPGMhTu2EysOM\nJbuCA8P4BW/Jy/S0dVBAFHykDLe+cPY04RG/Ru8H3apgSL4DGdEm/gshHVC5\nR6xqgyF2EXb+nRRes0uVcmygHYFLAD7LgdMVZL4u3EUTelGhtgPV4a6TIVwX\niNTqw9MvnGQTpNc4saB+xhkX7ADjk8M+TNDFmotmtzK1dO/7Vy1AQh1nbhuL\n7CsR21ZXEmJMAKgKUJurzrnBbykMsgBsPoqyQqDH9PqqPAVrrs0idmkhuffb\ntDYvpEd1QUURZZxuIQh3NLf4N/z3a2YGexthLHMzldlp19KwZWG4UaVV9zLJ\n78KdH2FM1LspQBTG/rePmLnpk2ds9MFVPl0imh1ZcrAV5h8t0Stya22L3QgS\n3t5O9qyvPbGJMIo8T0Ce5X3Fn6gpJnGVAqUcnqlo7nOpNEQtEc7EAoz/5RfK\nf9RHTQnckiLlV1i2i/sS1WTX6F/K+vpOur+N855MPu98dDEyfEP0ZkqZa+Qb\ng8Yg\r\n=d7r1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFG29zUBWocYG0ddohR+P8NxE7bfkfKt5r6BTXysefX0AiEAwDYkpTXjCw2eVjAHZkW4DA/ubjSLQN6DluTokHQizPE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.17_1565160054621_0.5459382911252437"},"_hasShrinkwrap":false},"1.0.6-beta.18":{"name":"@flood/element-cli","version":"1.0.6-beta.18","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.18","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.18","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-rF1ppo5dVRZD/BseDXCcF2/xd37Yqk13PnUB5m+q1jxMs26DduIb4bPLQi6dCr/Q75dqIZU7qqLeAc6seN+fzg==","shasum":"9b77a6c74f72ca1cc73a520f31f707c2d0e2f751","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.18.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVJvKCRA9TVsSAnZWagAAhk8P/3Fp2LUnqxliNoUZwzgD\nhGA3e7S1ijJArqds2fZbw/U9KJcdChiIktxwPs9Z+tLXPaHNOkk/L3iavk+/\nXcSJmxSaHA/g1gWmAY/612HZTbfBk8pHenBHPVyHmBFZx9pg8bx+6T3iAS22\n96EUAUsQ+vBAN413DIMjRagYiTV58fo4xblvphIp90QXLADfQdIpi24wCyGY\nADkuWXr4ukhcglAho8ZDW6IYRkqMA9HWyIzjOLE0dJ+olBitUwYwocztljKq\nr+k1LV4Um6ho/C514VcmWK4tzuVEefTABHvND8pEAMrPp9wqT6xMIYTX0EhG\njipK0jW8+QCiUKLT/1azzexAYEJy//E43z/iCiHyUSHJZOab2tXSRtlYg90a\nXtijiZSt6t5e6BXYgVGHas7j4cIQqMbwK0PQsuTMYWrtEbjkt5/+SPv0iDf2\nEHaDPXh2PHQ1Y9bw33vqg5NSp9KEDFwqoxIhEDGPChu9jLziEq5SAXiR2Oie\npxZ57KmAfk7BdN7FC7Mh1JzvOE6iaqQhgSlVQvR2fPrbT4So6QowP7mhF0D0\nG4Sb08ZrU8nR0wNQFbeLIYTHPgvX6u79b1CxPoPESx6X1XaTv75hkCxgkMN6\nDFHbnvrgBuzf9fnf6Jl12DRRz9w0URXTD2PxYBYJ0uiFyw1hm3YNf4OrRDtP\nCH3D\r\n=pN6h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHtS8OogguE4PdmsYRjFCovtsgOu1McEfLNVsLeBIoVwIhANYKepJzKtm8C8wFF9Zgzqe00cP5K08/vUJkiUDLAT4k"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.18_1565825993771_0.9776741282235235"},"_hasShrinkwrap":false},"1.0.8":{"name":"@flood/element-cli","version":"1.0.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.8","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-trlZkPy2VJB2rxMARe/loo7h/79AXclea2bkMPTFizahZCULh3GuEutx9BA5lbjrVedrkHyFXx+tsWVzjRD7rg==","shasum":"92fb0f9b9137e9ce38c4d899c691c9f05ca76ac9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.8.tgz","fileCount":17,"unpackedSize":34254,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVwAvCRA9TVsSAnZWagAAUoAQAJD+35NuX7Djg0yfG+W2\nGmAkH1XeXu4KOwdVjtc3AySM3qomuXpL87poSKgOMMht04OtjPV3piAZjphg\nmAnG9V8QGTIfG9QkZTNPwOKGPmr94KSEmaamRk+c9e8Gh9GBaR+Ao4ddmwy+\nj13/MmFGSQ1h7Sv/HLP5OeHn2jwYSE4QowDXhTFO8uBZUXMcNPr+wb3Ptrla\nhWYpLJ8EWf3pn3EPGAbzMsZO68hsJKZh3p5q87i2cSFZXYGT/7tOXSwo5q+a\nX/bmOCEuc+W5Mx1ttnQMv6NoING+dZ2xiGnQvDgktaz+/YJLR4D5t3F32BNH\nJGlsWD0Edt6sRVEKYbW2QqAs1RgBxX7TPwbpSlhTLwlOyVdsYEpXjKWsyrHn\nKdLPpeZZaVN9aNY2ZV7swzIaFqjKr0Yzlji7ox9jIVN3vsZ6CtOcLnEMVfAO\nmrHOXrupdtTkSTOv6z965EWCYnyQ7ouQOqTnRoGmLWgDHbVTzrUfG1d2t7MW\nYD0tzLZbubIV/Zmrj5ceoIYoD/PK0yD3wwPJyA+TxRivW9ilXAQgXwr0IVvA\no4OqBmvhIbHXpzOJR8bvXppPELJApV0+7jyox+Fh7tCXyfniIbEpDDTXC0ML\n/Piewj00i8pblMXoktpTOfCTatrqMkjm2K8nDSFGj/peojzxbBT7UFD1qOU3\nE6w2\r\n=UTNG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxYQq99HRVvk4yAgPRvbZPb8WIlhz0giiRk1oHHnTHgQIhAK8lzdUnZYrCa4tshpEivQgnIqkYR1j9YbVZtvqtRkOt"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.8_1565982767345_0.4238497059505375"},"_hasShrinkwrap":false},"1.0.6-beta.19":{"name":"@flood/element-cli","version":"1.0.6-beta.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.19","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.19","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-m0BoywHUln470XUYwDgcAo3aN9hzTW0NDEHi6WnrTrQWHVuSvDLLdxIBE+meLUt4K/ceXJIfaWx7HJsSfDJilw==","shasum":"da9303059c3084fd3a6be7c932d91ef20f2855eb","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.19.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbKiVCRA9TVsSAnZWagAABJUQAJVgw1CcY3C8aamxsOLX\nnuaTO6WQuz26/Zls/J+vvHogeIbm0S/sPutoTQjoS+JB2x9ajJZohM9Jxj1z\niehu4gWCyhPF9B30ugJEn8Ol0jN/DPi5U4LJLeefKSnqiwfQN0b5vIOTlY0v\nSV01uCY3Qvo3nLQYezf6+lDbcVGZ8rLK8XGCNy1X6x96LANSO9AfA6E0I98W\nL45zZADKLs2gpEabzYu1gWhZk/In0RHKYPGHzYokfUf2m5WJWlVTfx7xuf9U\n07byrtBtSF9Q6YcFb5NMQRvCrGu6dKiNc0m8TGGTM0E1Y7vk4tqestfbRQt7\nW23mplVP+erO0MjOstqO0t6JupZe1JwEtk1aHfgco731fxir3eXI7mDkwtlU\nPKMPlPyCdRZdcLYBhvdnW9J/B9mvOjKHD4cmfiLh9ASgoFj1AH+BnBetBMPw\nlrQgcpgBIxOF7tOWdzus5W1TKDCQoUHz/pettcR6D0sQTPGLeFvqThyaUdw2\nNhnW8ffuuNZZYBjXMUP6hiB/RlupOW8+PHmqltnRQKYDSGjohDug2O2D2pbT\nR6RZc2BWt72X1N4FKnJFK9MmXm03WNIeiBqEXlKX8cuKBrpB6xud0wI1Yy3I\noyMEM8uVCkdi5yE2mf10lUZvDL2mrfHSanWeTQ4bHOp/o9CRLcb9o8XEsgVm\nGII2\r\n=7+E8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1JiJBCFNTyRZR2UJysoMv7Of8xg48DR8kohLGgeSOAAiEAwQUe6qyy1c0aD/JYk5JIOS8UDd1spl2ZoToxvOc4rH0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.19_1567402132950_0.46491184282219344"},"_hasShrinkwrap":false},"1.0.6-beta.20":{"name":"@flood/element-cli","version":"1.0.6-beta.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.20","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.20","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7laOVwyYtY82xtPuSXXPIwzZUol8IvSoi2S4SQ9zrYC6W/k4eiYEG1+Nf0qbcT7Q9ZlYzYDvBZ03X4g8hrw9Ww==","shasum":"1c3ac3df5ad56b0fb9383030e9826a2b90db4e17","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.20.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbcwbCRA9TVsSAnZWagAAttYP/jwWoUv9nqospTneLY9v\nubUVQeYA56FpSl8vqI79UdQ9HP2GF6mOrNtGjUSMzqf4FQM4lTaMKFHgcTHi\nn3aGxlxY59j4Zj75rAPevbuBT8CK+wChi5q2PPuRH+T+cvjJZXCZTQMMWXGl\nNzkozS2dO5qe03ol4wVcHpe/aQuFQQfUzkxRBUr/E+oADvASIn3efQ1lk5Wl\n1A7WU1i5Wx2iqxVPTJA2JijO6eyb7HdpWG1zc/2k3APUIqjui+tc/kSec0L5\nmnlWX8xTqBzgLKCiG6P/0Oxuiw8Nm8Clx2/SjjrXzdkmyMclYEdH9N617wXp\n3jIgxyNYmWYlfaULO6epAS6ammTfqFhdc8PwU1nKt7MFD7kjoxy3awJIjRCf\noFcYFTgjXAXC/52CybQjVO2JgurBGFgGqbNWJO9CGGTacg7OdjdipNxVplc+\nbpRvPsp+riNLyyxX576PBnmV+QditrqDoz1dxUja/SUOR+WlWCqrzS6xft7V\n3879jKhEUUVrMwIkaZdteWaEtCWR+hy2QCupkPXjihYnEmw6LM2DDPeKx9ZR\nabZ5eNVmGBMbH0/RX9m0pfHId+3rUGaz3wk1V0N4YA2pd5d/fAzgvvEnFOGN\n1g2z1mnqD29CqteKVYgyyk32isYVNoshx9Cl1iV9JrNQqWtDH8MAWsdDu164\nEHP5\r\n=7gX4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG39tcTFn9tBuIQKKxjbfP2Yjb/qF3Q1gBrCljwZgfB1AiEA2XZIoz0hgzXhHVO/NjTV2vvaIKcK/sDm/+t6rbIibLg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.20_1567476763216_0.46957700367032795"},"_hasShrinkwrap":false},"1.0.6-beta.21":{"name":"@flood/element-cli","version":"1.0.6-beta.21","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.21","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.21","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-12Rd33F9J1a00VaijsoD58tEVYy8gUYEwEimHS1y3CA+T3qLOm2gNCxTpLKJvXAbT9bvXrv5eD/uiRKtiwD0Qw==","shasum":"194028fca37ff9ccb6525a432e3d34188fa4f121","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.21.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbdZtCRA9TVsSAnZWagAAD18P/3pULLpXZNDrHikR/02j\nnW7ydT4gX5lxssWsGFE4EfTSr4IsUgf08+0R8Eaj/mAwkJa7i6kMQZWHSRvo\nqKJmo7utxaaqz+2diUrBicVSxi5aaGzd1GlZ9nMcxeQ0H3T75frhvrL3K7qg\np1N79aJrxYAF1zVzYK48ivfWKItnNeFG/mOy9iPEgPStdqT1KhxJ/qu2+Dp6\nWva9ZOJb3QXjzOKbvow8RrWDM91iaNhvcX7HcoJecvZNSi8lziXN3bZ0XWqV\nxSe4waGTasmYP9NjkorFiSCE7ZBtQgPLjoMiENeQjrNGGAbqnEudS1amjQZh\nvY8lWrontSxhZgyFwrMFBSps86Qz3L92V8dfekwXI3Y5KoUvtX2ud4EhbijK\n/br5D+HUdUdpmrk2y1/2ofrwgNGS9R72xZHbQkcuSOIuG6YyPrUy8J3Y1jwT\n6jbgQUgGWYEHoddoCl/o5X2o27yJeZ4WJH7lF6+xLukYcKujGJtTmpm/ha6o\n1gcwki1ndQQFN9aBRT1UIleUdjEMsiNFaPgVffYX/3BNQ7olsFWr0gJUK8vJ\niKGlj5+yutp3x4KIj+jD6IuTnw+SOos7YgkpCOILhL1QJ2ZbgTSQ/WhTNce8\nQT6xpnlVl6FUmuuiSB2gM3gAB3TE+Nt4TFtWvEyyIHHtAeL9um2nXrEt7mp5\nylv5\r\n=1ugA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWezqmMa1LAEJECfXNUbfB/sjvW3UopcfACuB9RZbJHAIhAIm9kjiXp5cI5h7teSNQGwy+lAK/BX1POgF1fXhkveqb"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.21_1567479405156_0.6771392515293186"},"_hasShrinkwrap":false},"1.0.6-beta.22":{"name":"@flood/element-cli","version":"1.0.6-beta.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.6-beta.22","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.6-beta.22","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-dJxqcO/l1VbSX8gD7JykJb1KZbB4Aa4dNnskKnNPOt/1UB5skFZf7zfg7x54UPUfb4bDGLwFbWw7diraoKo7BQ==","shasum":"d12578897c0b507fe2f5548bdc96852288e5f090","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.6-beta.22.tgz","fileCount":17,"unpackedSize":34337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbdy8CRA9TVsSAnZWagAAZv8P/2DrJ0cz383piRoZJIFc\nkcCkOqz1A/QRovkpvw7uGC1LUximC8CXNElRs1X8xZyMDr5aIMp5uMPMt78F\nXWMWDp34JhV9kFfURuQidaDZs2GDt/hS4RWJfDNN45y4Z7TZNdRl16EAlJW9\nKBdYBphDnE5k2XqtrRZ5rs6M1WbUAf9FUTV7/QLfMwPZYCbkLl7N6TlrSc20\nqw+OO7m/cuo4UomyIkoER5PYliu1XIiNQNOTYSBluSXtnJCtNTIZQ9mCLHyT\n6BkxeYCbHkL49a4h7cLlx2+eTd+i4qJp64yROymroVMJHihgjAapp+hlOCq0\nf3QofMQXWdAGjMhROxPffQev/KJV2RnqeOJyVChOMMgynG/coOQddqJl0qpH\nRLdmiYpi/WB8KXlrAwoi+AfEfgO8nZ/BYRvDO6bqni5FRzlPagoKNIScUS4d\ny/UwMFDvXpGFuJrFGwFePp9aBnKXlIvsAkfrDrdpbkrZGl8lJvlLxXerkGrm\nr0/JNHt5MlWLm1MpG/Hg9J3Jx1yR53MYX2xHDwJTpWQxUcVrfN94ZJDbDvFv\nlzN848G4nXWdEPik313RGC+2+zWsB4WrBOukHiSPpL2C1ur1/iSGJDGjbZIM\n4SsxrKlbhkmSGsdUdS+85CLc10iDQvb1HG3w0bqGnSGQAeF0/KFdCyuedI8q\nfZiH\r\n=kP9/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8L5SsC+i5xKihT605CX0bxMVbMGxszhWbIfHUlhEekAiBfmYRdcrYFLShto0AyCMxJnRh/1pAY7TGp4Y9kk/kAMw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.6-beta.22_1567481020033_0.2732594161709161"},"_hasShrinkwrap":false},"1.0.9-beta.0":{"name":"@flood/element-cli","version":"1.0.9-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.9-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.9-beta.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RKUDU44pePzDHWi+nLiUsGJHXh6wCI98cZTxt17f4LsXRLrzSiaUeoe1mTsROHjNHpBlR0Voqj0SHaP8F47mMw==","shasum":"3e5bf06bce71722e60fc214b6adf1c527e1b40ee","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.9-beta.0.tgz","fileCount":18,"unpackedSize":39757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbis/CRA9TVsSAnZWagAAXBoP/0M97NTMgFd/XGja+pIc\nQABTcMG9+Snu1M4nQYuxCLuGk44dRXr644rvn5fFeMTz+xjADt9p8onE2p8h\nxRYRzmfD+YJuc1gjTtYl/ylGbdTkyQmQ9ZlfutZ8nge0EoPnVnbBxjZn2xxy\nAC7AEYFquLLmEbCTlEXhKaXe8G4HCbOGEN3KsmnPZVYrvu4hlu5F8DxC7EGm\naDegZ02r/FbhVuaaQDL/+541uYbHIW8sptTOABRoWg9L1xXMq8Lr0LGC+KS2\npM35MTPGeXEJZ/jQeAow8SEEyy0W7mVOf5vFt+58Qg9It/Q+qlufnm54q9Tp\ndagBcJKtIZrLII/WAm/oCXAIc/y+ZqXt3r19U23xsN0pjddDEGmOwut1A27c\nm1y5+i45SydATjvN3giBoMqwWpxUis0A5f1Diuyn04TmZU/zedqt5PEIla8m\n32xksqhGDD0YEldG+u+Q56uNLAVQX1Mp85WLEqyQjD5fFJ12MaJfxksm8vC7\nfr4gqErdZnJBQMVjYXXVuBEV4gk8bMWBOfusO+xiXTH+UDQ8LDeqxvDmV0OH\nacGxDN9+Roq0d8AW6zMShQU1Higq5n8+zgFSOcHiM1fSKNrrD6mkoGew66kw\nZwe/Wg9HREcgZRZqlBRqLicvFOqwVxgpebOBeF8sD3Ei+VVO4pbyK7cCqPNn\nMXT3\r\n=cl4B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmC/7lUqCxzkGzh72+Xj1ecrJKV7L2Kj41tlIuYWumPQIgAcrey+/8atWognOmP8nF1WhnkzP6+KJweeQSZRfsix8="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.9-beta.0_1567501119390_0.4615366348813472"},"_hasShrinkwrap":false},"1.0.9-beta.3":{"name":"@flood/element-cli","version":"1.0.9-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.9-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"c1171a1a394edc6df3dde5f0637e273be2081bd0","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.9-beta.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-uIXDEhXrsepqETifgcwGDFM5JIE3zM2vo8ou6PRcTGHFOH4ZpvUAZD116lXdM7tzdEW3Olzc2/HoGNsBxHg38w==","shasum":"383888d91cbf51b3bc04ea6a68bf3e61b2b10e83","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.9-beta.3.tgz","fileCount":6,"unpackedSize":23630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbi/tCRA9TVsSAnZWagAAXuEQAJb1yYl+rPzM1cASP5Xv\n1d1SYCZ7VRafKUIEFyJPLtX5ad1E8POU+thpIsqsrLeloE2TOoV9bWiavv4I\nZqeQTduJxVn4oEgF3IZDQkj0GTu8+BmNpzZkohGYmhfi2alvXF2OW1xV62gM\n/IjSSjb1jq59NW8PZM0LIVrPfe1E4eS5DOoUn2PcnIeJaoNpis+o23kyoH5+\newbVqrHPXl3VUuNre7sqC9r5mGtzbO4ESpxsq2wwjxbOA29CZ40C/MmVhZB7\n9Htm1Mh8d0pzNf2H2l2iG4vXcmESyS/JEMqOvtnQFHbmZxMw8OL1/pFUnQ3y\nnbZ1nYNM/w7w4sQJMUBQSynd5KwB1oMRC65pqUsUvKkbtDgvvn/sXkl9EZYr\nV9L2ysT7yAO9+pkuJw09RasCeMMJ/12w9x5sSOjJSVbjG2Gw7tADanid5mc4\nRpAlHs13QgyjPmhytEJoNAUZeAiZEP4DKzFuBQMavrA+m0ipPtJHpDZ5tI5G\nIT2EYMMGyvVtfGA00xAn4LELzt+Z2/jq1511Ac7tYqdB5r+62pVFizESp2uT\nzJjdHqaa8fphNBbyKV5yXGUnOUG97GbWRopbmZQOfbGmJTQwt3xXxaPxjv4/\ngJuVrjBfM/UpveOOvA/wLNAu3zIq8z29jEDnCc8hwYyhEoRUMwa2N72LppR7\nqo5o\r\n=9SkY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICX6JqkcHQsSAWtmOj9JiJXbhigvYH4Q7nEAO2Qc3j8uAiEA2ZFbfRoCMJakZymseoN+AJcmBr+WbM+3zcnkm7eYob4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.9-beta.3_1567502317012_0.18839389504923165"},"_hasShrinkwrap":false},"1.0.9-beta.4":{"name":"@flood/element-cli","version":"1.0.9-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.9-beta.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"8410763454f7296a45118ee70957cb9304597974","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.9-beta.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-7CR4KMKxiN7cUwkksQxn9xcg03UWupcQp3nS4TUBe8Qj8DfVOeWcwnUWxLqrTfHL7ar9lGdN9W8UKsvsF6zPTQ==","shasum":"b883a710cfe95c40bdbeb82fad200ecce2f40392","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.9-beta.4.tgz","fileCount":6,"unpackedSize":23630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbjDICRA9TVsSAnZWagAAaSAP/3ZcSWXuBzPNWlhWmgOX\nptqQoCtcI/aby0Bi4ST11Kuh+rqGASmgMI+bqajvgbc+PCyRaJx01LQZmDYq\ncnOafwDoWqxl3SkrVkODm+Zbni3kA+ddExNjKJ76cvFrZP1+hxhanYWsi0L0\nLxAtjLg8umcqK2fsoal0lhhUZ6DOO4DA0bZPy4jnlgIfKl2e6CzvgrCvcIfX\nvP2sNV9fqSvuwZFvaPBmwco/qxocHkeqO5eA6mn4XAWYu5W7Xwzd11mZdTAF\nrzQ1f08ttEd8BHZgCrig3w4DTO//vvBaeSYZ4c2AIY59jM4HgZxHTWML2an5\nxAeMlAECJP4JBVTp0XfPK7E9BN6TU6UScPLKX++j5I0eS77jYzCPhCOMq112\n4dkY8ZTTMxmKLoidI+GqOT3f0lI266N9QuqJxZeOn2ZzkKpYt01W47OHuiOb\nnpu+Q02rmakWHkyLvPVPSISGykDG8W6IcRMfE+9Ixp5Kse/IT41hsv2QvEBW\nyQiQ/zRPAN8bgsxv1K95x7J+quWgf9yAbYgMPO89C/E4atgaO7UgK6N9yz3C\nNyQhwc8kUaf5EEsw/sfK48o3iQjpsQjZuqB10VonHYD7P+py3wCAiMpLLNKh\nabr9qNNEzJiXfRKEIWbDyPK8TqNuV6rXRshJknHSLcbjGoPSArOqVDKSqN19\nagp1\r\n=mFBK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuJOgV5EpsvwqqFcwHtlV0YFZRjMJKB9WJnbf2qfn81AiEAqeShhPgzQyqGZxwlO6/JVI8BL1g9XwIt9p6UOWpw/f8="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.9-beta.4_1567502536122_0.27150120851488446"},"_hasShrinkwrap":false},"1.0.9-beta.5":{"name":"@flood/element-cli","version":"1.0.9-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.9-beta.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"0c34049e9747ba6710ac7eadc2557ced3a83c0cf","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.9-beta.5","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-5fSLhKGvoBzLbdGc2WZP0Qpj9QeHJruS5V3GSdDaKYzqAxvo+BMHuliyYjwu6E+y5nT2jT4fzeoWgeoBuVbTlA==","shasum":"572074b31c016cb45baebc9bd911602e78d0855e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.9-beta.5.tgz","fileCount":6,"unpackedSize":23630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbjEpCRA9TVsSAnZWagAAy8cP/j3FyIitrbOF6m9oFFez\nv+++xV+pynGH+pQbwg8b2HDbtn90k5aAf+4pM+r2iblK9jlc1VD/FTayF0Oi\nUHnM6TldEqzmIBJbclkd3LtdHsqgy7Aan+elmylQUO6UPKsyvBD15iLVt14B\nbZnr6U8IRUU65N1ixhXesHgm0++vT9+I19pgBm9ugPfrt4QKz6Z9GNNvsfVI\nX4q2pwQyhDJ4rZQDL1oOwHjDhF7mn1qkz0hmykdLfy7yI1YvXCcai8rlhYPV\nFmjV4TXWCt/jTyAoC5gyZbTvt8d5/1serjCmrs5FLMW76BiUtMWdDC6p6BEE\nchSZoz711iBuYkQ8c1N8pWDzRnoYY54DibW4VSdOxF30wiiXWyFycOZ4c/4G\nJw45QERyGAYFmjDqHJIZUC6vEOqfED3mJlXjrZET5DiI7TlkV6vM1DiXiLeH\nUcr4HY1ZLlfqCOq+yqg9tttKynCYYU0MFqdbuoenPo6c1Ys0sj2XmE2WvtMp\n22QvWAFdrSbX9nWf7UZR5KJsjR6P3ThieizMy4Pn0mewF17v7x0/H1pGH+un\nQNAyrjwJR+/VLwCCzUTYOisGuwysQWqzncTEqdHhJLXIVEcdRDL9Hyk4JZ1t\nLHIX3OC92wSGuiQ/SJHbtnv3IN2ngRkKA6MPzMnisCotD7fCYEOG8FAwG6hY\nieWK\r\n=s2eH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmomBWRK4yUIqJnZx0I+DQYjjF42LXAD+yIn1GFiJx+AIgY3QfQSbrU3oyBKfJ32IzbuwGo+u4duQDq8e2POj6L54="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.9-beta.5_1567502632927_0.028642586659157532"},"_hasShrinkwrap":false},"1.0.10-beta.0":{"name":"@flood/element-cli","version":"1.0.10-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.0","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e8bf1b41988d8a4c1c3b35943a349dd04d6ebfaf","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-hNcESI2bJF6hGtk89Cz9GFX7DEyaxi1slZogh301UNdpCyN7g5CZlUdO4wWUMEQTnzDFxmAsYoDvcYGmlIamtQ==","shasum":"d1d29068d83bfcd16b85c35bc6f59fce9496a3c4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.0.tgz","fileCount":6,"unpackedSize":23677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbkJ0CRA9TVsSAnZWagAAD7QP/RGiAPr/QQh6HzlEcYKh\nMXo8J6TEST+6CIKmQjrpYkVPKvORlYBQeG13gqk41hdkB5OYfl3uLpngIM2B\nP3pk3Ip4kizm7EwzeecOpVfi11pt6iT8jQPoNaDz7Cgjb0gtyxu93Qqavvpr\ng848CBDzAwBUhfKzvoERfdbV6pT/R0BIyaM7Xs9Lz1piPvMdioXuJfpbwZ+O\nSngQI3KkKF3VDxiGOfTl7P2m3MPoTeUk4Vtt9oQGihe096ju+QJ6yGSNLRGS\nFZdFetw1tPT/fA04e6XLHZtIjL7fjnZqfE2Abkb7iHBU0gYupL+CHQZUqFEr\nc7uLusafEGpiaCodR/yG42Xv6fLwwp+JBhEmO/iAhQTUZe+ry145phkzyDms\nrOGlsEbYQZ3UAQbiPbdj6chY6mEXFhxM4UywYWNT2HKfPLsRQr8FTXFpk2yn\ntOi1btzSnznQtBiNzaZdef9Ybz7JUlN8BLoe8V374i9yz0PfQZ7+Itm2VkyJ\nSrLVhdHi34AAlVt6fvrfRQdJTvtNqHt8sXgIhKX+G1Ande03CAERlYnslKmi\nWbe4TQJa51uuYSfI59AhOJCqacUF+sYk+wx/2+uXhSyQyHGJaU/67BJXcWvo\nmn9yZM1xE/J4cd84tijBH9YfWrCPDWk/R47WuAme/BSZvKlbsamKFOxFKru3\nOCgy\r\n=cCT2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOGpaXXt3N6UV3KXsQH/bqfoaNySq3WXFz0gof3dT4ZwIgdyrlRtPDF8zwAuH02yGXDynrG7qP9OR70SdsXDpILDI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.0_1567507059388_0.9117187036543484"},"_hasShrinkwrap":false},"1.0.10-beta.1":{"name":"@flood/element-cli","version":"1.0.10-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"06c488fb1f497650658cad4a2fdc70fb6689bb87","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.1","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-u/16JvVEEfy0TemE9HubOxJ3ECANkAHVCYdfmAYJJvH10IXXHh0Ul0HhrR4N/TtnJXFsg4S+D85qPyxABs4cmQ==","shasum":"7662b97b60df5dfd533bcc4046ba3faba6398b8b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.1.tgz","fileCount":6,"unpackedSize":24015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbkMCCRA9TVsSAnZWagAAS3EP/1i5klqYhWlfsq+KeUjV\nOnGcxOUP/eSBXS/h4gsY8Pa0wY1YYsVeG4a+jIXUHipTih/76mDpibQsvIeZ\n6aSV8FyzqbRESHWUnmKyxVz3MAqt4AT0xiXRP7Xjd4JstLAvJulHvQJLQMlY\nmy24zZ0B3BCOAI/0dllKvHv2ZxyBLpy3Bget9yV4crRVsWcwRkPuz0AunwbM\nR5hLVtFGm6eFyH0wJgiZqZfg76R8oolbd0yYnkEZJI7U7LY0sKIoSO+d3gRX\nMrCu0xssQYtyxcrW2al1Hlo1MxtuktGmxQmMLW3b2Ed1OAkb9tcSE1e8do1R\n4tiTyhG5l5RDk7BoTWPxusz/1UYwZKuI0678pvzP823iamg/4LIHzpYetbbL\nDYdVjYba4PQOasMs+RL7piHALmSqfHwc3KNr2ZYNMLdKb3g2Ir57Uditl95r\nQBgQ9pvSDtApO7bOeZ23Timf1Xk79dYwrJMwoo07AvufF7ftVUIW6JJAGuYy\nhsVK7vnVzEJFUnuNIPPrzozAdNqiCPWweocVvPVRl02ZTPJXulOzE7JWjACR\nUxtfTRaFp097d6KhBTcNPazwjEa5O+beDYIig8oRLaMlONUBQ7fyHeBS1pvk\nSTLHH7fQ0EHcxRoH+oj/TOgZEhaWQZ8KxWAX679MQYALXYkivC3ZEvM1rGyU\n9Rpg\r\n=Uyng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3PxzCthu/v92zrnEoeJ7ijjmcJqdTj4pnUKmQXRV5sAiEAg05xsTcKFniy23EE/m1rBMVHVHmKUjXGfELJgpZ02IY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.1_1567507201206_0.38548936014338464"},"_hasShrinkwrap":false},"1.0.10-beta.2":{"name":"@flood/element-cli","version":"1.0.10-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.2","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"46923c8b3bf98234cfbc7d51ed7058dda90b0967","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.2","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-7PJqEr6sFAAL4yFVAIBwkhjaHVNunIy+HfKAUwcE3N3jg4WBdvH6QPtot3s2rGXy0GSTihbMk2ZAWDZINwPpkQ==","shasum":"c1cd9f39a6c9f51372c826bba595b7573da00154","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.2.tgz","fileCount":6,"unpackedSize":24181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbk2nCRA9TVsSAnZWagAABcUP/2EEaBcJgUyIBh76LtuK\nvPtgWdiOl9dLxmNdeQBc66npB0yjJuooFcShQSi+eaXnGxO6ggI3nOfMNMz3\niest6ArzAMIGT+Bn/iHit2m7tieZHJztdKBxT7a38plBsUN1JPiWXSQsnX1b\nAWeM2RS297yhdjMBQjEk4Qb6UmhsNKLRowtrZcTn7QS7kuIdUdfNzPJGCU8F\nu/5JSha2ihKgtIiha3Gt+rlWPIejoHo9Tf2oIdB0HOt1k55IG53D+Xy5ml88\norO/X/uYyuFA6mMFqR5gM6UKw/y9WZaKCSE/PU5ntF+ux2ibebK5VDQ+1+i5\ncT+T7Hfnvbt290yqbQZJxB9ZAzPRWh1wEb1VxpMCLQ52RsPqxp7xZ4uXzO9q\nMnlKiyzpx3ofdU7eEpgzvgXNxJ15I4ByPUxhjbx6tdLBlwEOoyA6WWTY+97r\n1k2IXkqo/6sK3CE5kB7c7pfqHtCfdnhMoK4hMgZSYZ7sPnNjNF7kiBMEjCJi\nYSZX8aTQgrGZ0I5NDQqR4D51xh1ntnNXcuHJkbYJMqeZVKo48JlkPvv7/JBt\nPIybfY31ZA/acLBYPoxoosFdYm8LbczBSvyVWlHGtafk8YUAHzFtH7SsIPXa\nwRxhd39ib29yPBtdsFYbR7zdpCieEFqK56oyJr4ek6w9fNBKDITuLWjsoXOc\ncAaM\r\n=vE/g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBX4qLVJpMxFvrGPcafUhYg9UhM1nEDJVIUL/EcpGKrLAiBDGooNmscEx0s46Umixg9bRivSCChMQ/f8svkdOe8vRg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.2_1567509927222_0.5258307400311399"},"_hasShrinkwrap":false},"1.0.10-beta.3":{"name":"@flood/element-cli","version":"1.0.10-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.3","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e90398bd024e8229665cb742fc6102da0d8b5ff7","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.3","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-ZOUth+FGKCZnajLEr6W1XdP0MPWXZPxNguS3xur7Y9gO99E9q6ii/c7Q30teN3Ag77mZV4T8XBVaNk/ACJVkAQ==","shasum":"be9410c5e9579bb934da33129d529f7e14030aa6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.3.tgz","fileCount":6,"unpackedSize":18757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb1+SCRA9TVsSAnZWagAAIJoP/iNV+RZDnzukXVOQl7CJ\n04yl0lbf2KpSWlnZcmdSwJZjLLPIn6ZqH90tsUhRuf84TJf6SjeZsfSKWB7w\n+imZmpBXebqVwGUOfhsXqqUFatGDYGHy/H1U7HSdMFl/MXTwx3RZy3Ax15y6\nn9Ps8oHctPP1NCq/a7dOycUrdxiJVLwDffCn7oMpVyPkT5tPTVVux0xsFMp/\nmAmRzlT7ezsC3AScnUu5Pr4rOwnNAIA2RHOg91DOZFf8Z8wjjdcLn012IDrO\nEPqSvdfW5Ik5ZDwBNUgH+Os/WpPHp+WtcZVpRSaGgJkeAapfxG+0LbJxsnTy\nRvjs3zAdglg4zPZ1mKigbi+3j6c6q+7uVcz5U0TbECjs0VtN5BVvfzJYXxxP\ngNa007blOIAFfFOzay20VGPEpCs+qOlbjIeJqfNOnijINkJPWgmZXYFy8mlk\nndqSuxs/uMS/H2aG88AbvLL2GZN6FsTJGwZmSAv+Bzn5qpDCx8/vHnYt6tg4\nr4G10VGm7zneGDbOQUoCW13lUj4HFYfN4XGc4vpruXhxstGACglmpn3k8Bz7\nGo6XS+BeDKiLKBAFKnl9U/LUHetWxyJEx0tZ1lJeZSbzcvn0nU2qJ63nYU8j\nu9NMZQAAVo6XQhFx9/A3XNCFqAZvCyoxq/klHlwgF/+suCDVdKiDuuhg8JOU\nLlJ0\r\n=hXe0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2xV1aHIX/a2c9DqCxcxinV2CYK2MhjmIOtRiUqq47sQIhAIHA+Rpdvno0sNeUa6dwmhoCOeeubdcfaEM5mMbzSP1s"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.3_1567580049635_0.8911195080011449"},"_hasShrinkwrap":false},"1.0.10-beta.4":{"name":"@flood/element-cli","version":"1.0.10-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.4","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"8987624ce51c5f612a6e1b7766abc6e1256bfedc","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.4","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.16.4/node@v10.16.0+x64 (linux)","dist":{"integrity":"sha512-fOELPvcMJ1Uj8tB4SuOTlohY/2Pj+iCx2s/qTiMrT5m/E18zRE8D1WwwyKwPUR/gvPDh7guUngrmDlWy6UUL9g==","shasum":"7c24af0a88a5eb18291cebfc1bfdb57abe714688","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.4.tgz","fileCount":6,"unpackedSize":18931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb4WpCRA9TVsSAnZWagAAvf4P/3pKUdKQixNN/FZpATGg\nKo5yQ5s7QVxXJdYd7l4HxOdeADJ1EtFGHgyWgwVKXMDMZ7Mj4Nztq8TzX+Jl\nOGX5Gv2pKqsSfOEQEqFI/5/BuAqG4U8vlZGRNwXWVV5BkDbC145Nu9eoJBgW\nPz0OpUcdZ1m496D5hne+1Dn/qXIKBiUiVnM2gGNu30DJSleDB6noMyDM1a4g\ntld5RpOSIMOEvnPfFj9JYcKMA2LiG3kZxi6W09pPBH4rcXHJX7CrWsSLl8bN\nticJOqdVl4ap708qr81hjOphlgkE7ka3tb1NzqJmfWQ461pz4p99ihsMl5V1\n5fb+K2D/1MV1UbCU/HG5kzoDhD0OfaP96KyAGIHepgRn5xeYnpxlQFR4MFNg\n+oON/cdUsmoKu43tZXe0Q1rpqrgeRNaYSnfhzRbpjtls1RiZiDlyTvicAn/+\n/Kr4kwNu/SR2XPoxTuqeY9zBvDGEFym2FqXohOquVHCgCo/tzHmNo9kWorWG\nCNAJgRoKlShnTRHjlWfH54iwiSOkKKdH9cF7w4Hn4fuS0jpTD8KhH0aOIRlF\nd+ITzGKLQa0Lcsu31oCm+jk6gUbJInfBBZXxH+noyzXWsIIcsGA94Bgh3Vpb\nVc1dWMBw3TuTGSTXYq1NI/AJnEs5ibDJSrHk8YgF7I/lrPI2vRQGCemAmbfG\nKpvT\r\n=18mo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfBq+FacSXCiCpTlpzNsGJTcBdvYeAKMRKxqqLtfcqBwIgZ651BMLSvtJPiv6/Zdf5tRflVLcKcCXzYyp4EAf7LLU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.4_1567589801348_0.583020417221807"},"_hasShrinkwrap":false},"1.0.10-beta.5":{"name":"@flood/element-cli","version":"1.0.10-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.5","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e8bf1b41988d8a4c1c3b35943a349dd04d6ebfaf","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AN+oNOeLQyafgX9Hw0QVFm6Pnh+kOxY+sJvHZ0uZ2AST4OPet1UCt0i+FBos/bJwke7iIp64UVhXX07oC7huXA==","shasum":"0a29b606b66ddbc1156958cbaf8e0a23a2211e41","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.5.tgz","fileCount":18,"unpackedSize":35288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb5SxCRA9TVsSAnZWagAAC8sP/jXriCTSsrBaBNbprhjh\nziykC1bKkb383LtnLWu/qaz0WTtxbTSzQ2KaRNJwNq3TMtSG8HqYF9uGQbV9\nIwmjVn6zd8qVDEuldPuGaPE0D9MU+5wmLw9tnGf15QdJXC/jueXYpoTCxp+O\n9Xgnm4JkK9JZ6/jLIg6Jp37hSEKtGMuF4d8ukBnmrSe5F0YQk85TtJ1NhaVx\niXvH9EOprrquiw/tps+QlNnBGDB6CiBtJrz3elDgYVjCIgT0O5t/jXrPSBU3\nvvaa3eYpvbBj/ScPEzbqgSswUQB2sKtp0XiuyL5yCc25C6ksynOFoXKsDOjh\n9c4FspXXXHFTakRAeCtIzulPscFIuRoYRv+8T/UKdH/mjwDrrQJ3dGYbbY9/\nmTq/cpWPp8j+EnR+1LU5SB8TKvLmBV0t483CFXWcNzMo/lJaUVfCmQhLsO9c\nDeus0qmp/9W0mcKbJDN8NLaxrCRufmyLImHJ5JVZFNyx4CTuEfaJGjWNxIUg\nVVg3Evf6Y0K0B/sAjakuyfV61EwVyw78SIM4CwrqfyQ9oGPnPisBVhGwDFRJ\nKbHfP5MECWM9mR6pVNNvmGKWOyseUDS9R2zCZKkIvhnirHEvfKB5OTn1XLE3\n2CF2SzeHREfVGGAj3qdTS6W4EnbxPdWeihyDNvd0a+LP7Y6GV5/BmSQv6lan\nN9nt\r\n=y2fr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyxHwunYcIrmuNkq/FyyMZy83F263rYHrn9U5h/qzHXgIhAK+/CYl17lb8i7LnRG5FnOmY0cTqgfF/BdQoZMOVxlLd"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.5_1567593648626_0.36221438438578146"},"_hasShrinkwrap":false},"1.0.10-beta.6":{"name":"@flood/element-cli","version":"1.0.10-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.6","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e8bf1b41988d8a4c1c3b35943a349dd04d6ebfaf","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-MiN2lxMgIdlUEraltZUgUHsdgQlEG6H5pElF1XDJRcsjo/AHkPdaZA12sTOzrssyfohIe8y1XNh5zs3UYUDK0Q==","shasum":"1434b693fab7f1f88fc2ceed88e9aa28248af601","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.6.tgz","fileCount":18,"unpackedSize":35462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb5Z0CRA9TVsSAnZWagAA6X0P/AhuHtwEAHFgpW30hD6E\nmI2rvdrKRSzTAps8qjfVmDIuXKNQWiPwJqJUmKP3fvMJFuzHJqpKNAunYeq2\nKpjwwODlwBj6nkrVxPOJJVd7ek9TF2hISupRhU47mBN8E341dGcC2OwUZC09\niIObOZUGjSc19c6+Vu+uaRj9DPeXQOaEBlPqX5VUYZXGrLtjOVwEQ/X2toU1\npyKHaXK+emP7uYUKjaPCP3lD5yY2FFNPFIEFrsnB6tuon8Oz0alR6chtN+DV\n/gnhpcRM6f5eZGds/bPjOdvKPRQAos+BAWZ6b58QBTgfbmEFwE8dmc16quGj\nBDSoWA1llNv2aZJbA4pZMQwILunjID2j4oFOxESw7KDDITBlknsF8f91LtiT\nvn2DdnoEKFKT3NCJdc5e782sAfz+r0odPuS2/Gh6QT3ZqMmgp+nAqKIZJ9qR\nK1rOoG4b92nHNuN/AlZeyifpomYwAvTnUKSLCozQzEFU5mvU77SbBnOI9lFo\nbLp0Xa+XK0QJy7VQ90447mX0cF4yXO8PU1B6tuZYWNYDO0BJFGCSYa5MkWYg\nJ28DSZYeYJpTGHamffxSRs1V9hJ5vL/paETuS/ju+uTc0g/XlMcbG/jxtvA1\n7Ffv4DmxZZ4/P1xGOS7PGm2KB2Raxf611nAPnaY7lWjGjTtI+4keS28/RXsZ\nUswK\r\n=INgY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6hT47ViTYCCRLU0QNAR3XAwTkP3UnQOD20iCiaMSoaQIgaVKavFQn8B9notb2W8RgyeJxJ/ZSvCtbskck104tUmk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.6_1567594099770_0.7278578938113653"},"_hasShrinkwrap":false},"1.0.8-stable.1":{"name":"@flood/element-cli","version":"1.0.8-stable.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.8-stable.1","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"all","printWidth":100,"useTabs":true,"tabWidth":2,"bracketSpacing":true,"jsxBracketSameLine":true,"arrowParens":"avoid"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.8-stable.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-DfeR0n0RpASARl8qzD+Rz+kbnpz/clKz2UBN/VANhZFpQfM5n4XHRqjHzAM5NVCH6m3rGoNvIlk3nWh3zQSOHA==","shasum":"98064fbed63103120fd885ed5253a4782faf23a0","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.8-stable.1.tgz","fileCount":17,"unpackedSize":34272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb5eXCRA9TVsSAnZWagAAkKYQAJwefJLqJZVS1QVKxRyI\nwX9ZI6+HGUavgU4r2A0yA2s3hMsuWRQjExON57fCSOSKMJ9IaRQma2CU/p+C\nakaVWZQ9sPIXg5EfneiujoB9Yy/+x/Ey88BeBGHiL6r5wQqUPd91DzeiS+up\nWZ7sS0oyXw77CRNKe3xIPPVPlBKzLhhYfFPuOWg32p+xGtcRI7MUWUPqJQi4\nmGCmAMUXVgyaPnLjzTUIBISKkpzv4NjIa8SfJp5wrc8azbnYDv6EHz4X3Ivk\nBzj3wzY0V2N3m4q7NqZLD/vI1zop+COFBMQ4eOba5OJpXeUkJG+ofbkBNXRd\nJR5QrVEzuSp1rqXNAjdc0Blxbebejc3tSig5jGo0988V91eQYm+GZEvnXPt9\nAvpFIGoNSsx2+jQ9y7vNdzdT9w5JwdqNiGx7vD/Vkjud0jQLSq/hPl6Juj9s\nZAjN61Pso/MUIAwo7RVeqse+uTVKmnTf7kJAzi1rSSqXhIe15aNJg7MDhfDQ\nSUlE3uuuvBVl/fYQkPweqln6V8qnP4w0f9+lPXjbP+FLuas4s2EUlaihIU1i\nckOm6gk553crU9rq/6fNPyryOMzIoY8QjCHFoSBWBhw48dQMhllyxPSTs/44\nZJ3XBZ1TUIo6RVm66ogOudL03sBawq4Lre6/PJx9mkBdKy+28uYOH4VC+MW4\nRHdt\r\n=bxWp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdNpBgU14bNPXf5FeLy78RbST06N/JSCjlb2flUMo4GAIgfi36Q5W6aeyWu1psNXwdC6eTINtXk8mfp8+XoMNozxs="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.8-stable.1_1567594391033_0.3255690475067381"},"_hasShrinkwrap":false},"1.0.10-beta.7":{"name":"@flood/element-cli","version":"1.0.10-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.7","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e8bf1b41988d8a4c1c3b35943a349dd04d6ebfaf","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.7","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-05D+7idYapC2xsrP0r9/SytGG0ve1fQ4hLvKCzVmFofB1oHiZ06dST6nL6sx3VLKJvlfyFIfDVMcOg6VYcBgwQ==","shasum":"0268fb2cd4ac76948f981a7dbfc243b4922336ba","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.7.tgz","fileCount":18,"unpackedSize":35814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb5m7CRA9TVsSAnZWagAAlB0P/3ubW8XSSk8DGXwgtnrc\nw3E1ixJq8qOl9zzf39P0r2VMW8Vk2fOKDXJcQW1SeaeRqjRzUcJT+nRk+G9r\nbzS5hI/ytp1ZbmaWlSZl6uct0Ny7m2YWWFFAaCtsj9Uyo8HdTirizFgOtXVY\nYdmC5oBjzbSAVV/8tUvJ7rhuqmcs8f856E8m3igheIF8CSTsBUa/nDEBbgwo\nF3OEMcczpn/TkVlBmy60OfM/zJsY1wOHqkvzXk0qsZJz+kUhwHmmmyWw/PRl\nQkq/I2iw0svHSWYBjD+bLOq2iprwsdvBMtqQ7z/nt1o9FV+JiYsrF05dTyEL\n6bopbockFzsThch5AWp4Hl/7c8d/3qoEcXB3Y3tmaW4V/dAuatuzKicQY4/E\nRXXcaiAI/R9Qp/4zugu23QXq5x8fGmHBYQqRgVWORZIHrAyvlWcQrIkB/0cw\ng9f+kJaE6a5tzUvmmItUHPpPKWuvET+3m3ZYBNVkbaLw5q/mxywzepL0Zf1H\nirW1yy3OanQA2cRKgjUj2CY0s9trOdJmR2HtbVrKrpiLpCZBA1bHDN7rhwUa\nXVlzGSNtWSYql2zcSnz1k99G20vm5Wh0TTrWd5ZXAsbwMjyXxi3NRvj+oJWt\nCpVWHXqcIxf3/5qdpXcn3U7cJvxCEvbncMuqd0GYDw6fT6eXBf94sPE5Fl0T\nO64p\r\n=4c1j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClnZbkLoLEsKBoHDydr1MjtcRaDJvrkjxCzGKep0q8lAIhAJp+8FLGRXHSyMz7qYyuRpj/7o+L2sihA9zaCvwRdnye"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.7_1567594939319_0.10550335048560489"},"_hasShrinkwrap":false},"1.0.10-beta.8":{"name":"@flood/element-cli","version":"1.0.10-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"types":"./index.d.ts","dependencies":{"@flood/element":"^1.0.10-beta.8","@types/semver":"^5.5.0","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.5.2","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3"},"gitHead":"e8bf1b41988d8a4c1c3b35943a349dd04d6ebfaf","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.8","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-p0HjZV46gbzTVxd8AO7i/2CTdQ2PdWTY5aP7qNy93+MED4g9ebxyZAVp6U+efZ3/G4PB7xDXOVHD8IJC6HNCDg==","shasum":"a3efed4c89edb414fe916a63b84ff815da637cb8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.8.tgz","fileCount":18,"unpackedSize":35988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb51pCRA9TVsSAnZWagAAzpwP/1jBEyihplvIhxXXot9W\nmhS9LXo/Wd87vY4NQLbU3c5X9n8gla3QulpSWwoUxeXpwKuvJtk8kro+tYAG\nrnxa6Vbdue0m4WhUSrxwSfxal6OSyn9NwBK/56hC60CXsguaPvFU3KWKwkP+\nOQfvIoa5n13FjSkr/ClVS0I2LnuZgKtClBHnOCgejCoiSFPPwAJRzkXEzgcD\nEEkgG9roYK9My0PdgocOT9pKD7qcPI0JhlhcB+yYq1SMqzX7KJZUjz698o74\nLPqPAX+CrwkqyZmkgRm4+boFLsnXYJDeBaXipqnf/WSGK66XjHZfKWYTTSYy\n0AFkfaJ6JOvieEpZIh8JIePQAEVXflGoH8NfVd7954lfI8xLb58aFbAyTnlb\nrYtVijT+cWHi/DIlux9klXjxOZBllJgBfby7bAe37AQBTxilavJkEZDN62eM\nSelj8qoIS2qZkmWxPZWSZm0rLUiTiaYAMSjFeT9437vImXMcC75OmJPTphrc\nADl2SxDzmEBDIJRNjl5F7E+qUoFLqQlIyOaZmd2q1jSBzALcKEjRZG2RcvMX\nG8glpY+24l3UqDnIfmP2b5+j7uTotL5UWI8P/kQekbUiM6gRIrVOr2f09sWI\nO4t32lUvPSqpz3qwTjMNM19C2GjBTJ8VQFaBGHhesMZlisb5JIYyKqKvVXA+\nGjXS\r\n=Yrkn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyzJaFEmeQ05CUEvRDYPIT1FuQRaG9JyDaxEnpaIOovQIhAKWxcEvKHsrpaHgj6mVSfDojiu6eJSibub2MfqNG3TOB"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.8_1567595880613_0.2087455215975138"},"_hasShrinkwrap":false},"1.0.10-beta.9":{"name":"@flood/element-cli","version":"1.0.10-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.9","@flood/element-api":"^1.0.10-beta.9","yargs":"^11.0.0","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0","yeoman-environment":"^2.3.2"},"gitHead":"e0204d721b781294fa823cdd0d4487d6c73724b4","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.9","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-cFqDXjb0bo7ZfR1ljiCgr+JkYEKx0NElnAtuJIohWhSrfBoCwILMVQDmeO91ZEUXu9BVzp4gke3VPb0bUH8e8A==","shasum":"ef649c9fc5d77dd5c38174049c63267a544c2dac","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.9.tgz","fileCount":9,"unpackedSize":3159012,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddyRZCRA9TVsSAnZWagAAvc4P/3w6EQqyfmxbPg98fM3H\njQ0uIFAI4kDldxfy89yAlgKi20lSMupCpqJNHoiR/vLYZxBCxK8NHRQppHqR\ng0WhHZLozKSoDiCBKE2Vhtxmcj/XYz1+ojsAbhiE7nIw8uA8rFfRxSaFLDyp\ng90V+3YAbO4NqsnCpC4UFq7TTWNsKPsCH2GDpItwnhWT1rr9dCE7JgkyHst3\n54cqxJuPx+uIltdlRDzw2GFRMR0NV/PRcg4QZyleJZ3FvmZL6ti1UI7mHeM0\n/AD7LcVODj0mapC6ySRMJ3AfQiAZnXKJHxpOFKaqV+l14h5ILkTtlx4UtpGN\nY6W7pYVwe1VbgiA9MKAbET71PCYrdVwqjQn+gRKKUYPAtP3//YOULJfm+Ok/\nwrDjpKAquoaXPjerJ8QVBZp8cysDHTHomVU0zGmcKJkXvAg6QrCeq2NjPiVA\nJ08K0Qm8mwcrbHFyytEJIwtIU2kHkoz2G7310jkXRhtuTZPq5n4XZ4cwOARI\n+7XyY17WtkFpYSSqNEPUrovQTLck9qjsdsy0TuR86yn1tSIr5m8vleJPYl7v\nnbLfyD1srlazBp9w+LAndbb/UegYvQ8Gb3iLduacWzYsGlJOkUCGdgD6MSOr\nezsGc+bWzn2iB1UbTZxDf/NP/BN49ouUKrwKePVdR2GcOwcD0GrwUcT7sL1n\nk3WM\r\n=tkqT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDl7nIMd0tDsn10HyO+qDtV4UXMj+aAk5idCdqTyC+gIQIhAKkyM2VpWd0esPt6L0KDtyhXQXfCU7cu/taD1Sv7r9cl"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.9_1568089177295_0.38749722941156683"},"_hasShrinkwrap":false},"1.0.10-beta.10":{"name":"@flood/element-cli","version":"1.0.10-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.10","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"2e2c267510d16ae428680ec8fc557b8c2cf86f9f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.10","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-ACI1J6JSlOSFlkYDWqNHVLECuVSC+UEWVa/r+TvNS878rEFL2N5ZP5H5nWaYYdq8iaEdLhGyWFtY2+20vNwqHA==","shasum":"00a4e56823dc4cfd77b49d723509fe47677ea333","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.10.tgz","fileCount":9,"unpackedSize":1288954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddycMCRA9TVsSAnZWagAA8egP/0Xz/FTNoDlVy3NG7/pl\n4WMSFeLiZ0roknuLMBw/fEyTtNB3Hhv9s9ua/KXlqfC3EpUX6OWOvhOaBq5+\n7DEnkS7sLw5qjFmMUuOy9YsxfCGGc1RZ9L6qmhtkGmYHnUCwu+XI6tPIw/aP\nHZT7tAYo8SikiV+Q1Og6bSXg5TWeP7XeKiDFqBWojeRwB745kyIMeemiHA09\nM9o/ZjZwOlqoCfib3VVpQ41ziqwYKnF58K6tXKA+1SGP4+3rHwzSn/4Mh5zi\n7Yv0pq+8kIj7SWN+qajslRtPACcjY3b9zcHOBQUEy8yDc/rlzdnqzIncDuNm\n1yC08w7T0QE6sLtRYfqReRo0Kf6cgQ+bkuQfDDD9cPvO1EA0xiEd3wQFmLsD\nplYX75uNjE0xKsS3k0Df2w+IO+rozwDIEkOMiVr9ajAhRG9pzY3pWXLumb0t\nIIycy4/UH9+6L3wZMiCTqqVvFEF3l4thKZBDNF+QXNr292RRosLyYBS00Zce\nKLzq4Fc4h+KIoadGzdUOiHxQPqSGEas1RPO/+YfpvkaOE/rN2gObo8LlAdZv\nHJmwHwWUBJ9sO/mOrh3AwqJZXCcyPJPVy4V/vZxVu0nHKa1tW+OjWLnR7Qdt\nc1D8ObY210yIC0ZO8P81mtPFwwWocuoiP34jlXUdx/H9mQMBO+70zLbcJ/3f\nsOtq\r\n=5gfy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDESa++IdRn/UPcGCFAn54DMgelpDLGIow1ri+YxTDLigIgG/D4sobmzoqZu2Zf2pRu/Gyc4eVQyMTC+5SLrAEoy5g="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.10_1568089867984_0.8681791107684269"},"_hasShrinkwrap":false},"1.0.10-beta.11":{"name":"@flood/element-cli","version":"1.0.10-beta.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.11","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"fc95dfb1b980e38b660eb6fb04c27b0e634a3997","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.11","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-H0hc1Qe905Fkr+P4KaMRFBIY7TtHMt+lPtijORkif+p5Yam/9DQVvofWIhwA7RN/Ag8qV7hYEqE4QkFO5MGSDA==","shasum":"cc15595cf9f5abcbc64dfd40cfa2f02d7925fa6f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.11.tgz","fileCount":9,"unpackedSize":1289131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddyorCRA9TVsSAnZWagAAWW0P/1znXu9MDwtCtVgd8B3T\nR1yHJocl0y/u7dMIjGIbH/yUbgKUq9BBe/CUX/9bF5gn2UpeU/3Y8BRvIN41\n1sob/nIs3p8+ssRGFCIBSFBivYV7FfvN8SvjApyb9WN5HUaNn51M8zb2Q/XQ\noCEszh+J3qb2zu90e9p136geP6dniMjwqg6HTrwImwhETcibw+rOsymunUYZ\n5LK9HmI2CyDp4OAebixDMMoOvIweM1gGpuULOT0NZbbRPl3Iktafk3OjoJiw\nZWFw4d8HEZBQ/8Pn1WPS43Sf04w6wcKeKHA7Fsq/kaDO/NF5pT3Pay11QDWh\nf74sWpZoLODE4daNA+Twspgiv975LMGBAiF+RuCP48QgPp3SYfQ+vwE/qyqR\nfvim0v+WhkjHofV50gikJlfh4L7XHYGUuqV1oDQy+wFXy2OgptZ3Fxpm53rH\net/N144VpLL+PcahAxBjGlTjitMr575dpWll1JuLqrol4krC8Z7pecln5MvI\ndwZv16FLEXl23NlFZY+a81k/okNrATn60GupqABcx9EpIJxynlFqiucP908k\nXC7PGVYrIbs7XtxMq8UJbMj/rq00bE2ksANQvm0NJFrT3+tOb0yxoiW0lXCf\nYyoQoPdOKP4l4gtxSa3+O/v+3o0KCHXHDmwqFhZajjfmZk+xAcvvSrwEEJ4M\nDRpl\r\n=yqo7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHarIM0dL4223hwkbrvgQdvlW7r2a7lKrp/bGv3UxdFwIgZywVdaabjPx0V6voQah04rbmBLv377hPnlmNds/5LmI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.11_1568090666784_0.4458348011544675"},"_hasShrinkwrap":false},"1.0.10-beta.12":{"name":"@flood/element-cli","version":"1.0.10-beta.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.12","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"b07d8d068d92b4676cbe2828d76e5ef9d75a3b13","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.12","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-GVg0J8/clSmYTJWPGkmtKhxYSvIKXWGOLe+yphAK4/boB05ydjVHIARD+r6RLshvwgPK/33sxokvkdRAf1LG6g==","shasum":"600f4da6880c3759674abadda5de2ac8a394f751","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.12.tgz","fileCount":9,"unpackedSize":1289308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddy0SCRA9TVsSAnZWagAAAUYP/14ECsCibtEGzvq1zU/D\n6I7hb2fCBX6w8v49hA8bQPs93WoHUFZtAA+r5f9h1d2I4tS+9PG5Miy0iL9m\nDBYgUcr0AVyw4o4thhQAnjqkaGx7RL8z3p6bseazEt7S4eU/qZwLzPdGD05F\nJlMpX+WcQK6fLARl17ua/p+A6jirx0Vk/VAP4+rCgHslexnCrmQcFUGDdK0L\nhUMNWlyjFXH5S3YNALf2iWzhUD2t8Y9qOSaexcax1jADbZtdR/XJRiDE6nTH\nNJ5ZE0BieVfhO8iO63scxSS6AMgWeOR4VOwZB2EhoAapDvH64+/OABmJ5iua\noQaE+JpBLdNLm70ZIdSIXfH5VePAuuLrdpit84nuoJcwHVaU3OulvC/FG+M4\nyLRYupscPvuKL225VyffrfW4jcP7zWq6/fb7uhCoCF3rGS2PW9yMTmncxJDB\nXKy7/Qjl1BpDgUu7KwilECiMGPmZ3oveIPhy5I1lhBq1MoNcV6M/Diz2TYNv\nnU4/OJ62opXclUZcpEsIKSYqO9KsSHYYIsAOkBbW2P2vDwr6KaV2THhkI/Kq\nGiNobVtrrVAjBbeblrobZzHzF9kBpNYWqzu5TeFLdordz5OC9fY4TrUExbgu\noF12HXEiloLCDuwRiy/7Tt2psmX9FUXJF+0gHRzLzxIXu5RFmCM+0xGCJL0w\nrRMk\r\n=1fZx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpgfcD+Y+2ZGWqhZ2WtlIhfHovEA5gWzQ1m0WZ65UopQIgBkcndgXp/NcXcp40/bI79lA2BlXw+uUh5OVtsB6PW34="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.12_1568091409881_0.8475481084828136"},"_hasShrinkwrap":false},"1.0.10-beta.13":{"name":"@flood/element-cli","version":"1.0.10-beta.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.13","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"524ec03ed94095e5e26b9d2227a3e8d51dbd606e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.13","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-G6juZdFUAue4eg7PwuaUZhOes1Z/crpYKv9oRn5bdXl7AQkzDSmZkDyVAgimdnnoMEbPEbsNALY9aPbKZ1l+5g==","shasum":"2cfd934fca01b26a658ca7b5b63bb2be45a6a2c1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.13.tgz","fileCount":9,"unpackedSize":1289485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddy+gCRA9TVsSAnZWagAAFnIP+wdaAwfPLNfd55jQ7Ez6\niFtLZXV1TevJej9FahvKTgJFu/EoSZitbo7/u82C7ZGoXnLGC6LDfDb/nR6D\nagBwkfncUXS9q+V74ajTsrWr5QFM0ODAwUfbUDSkIAoseSc/S9L3SJVUK6W2\nT2Ga2gPvUo09Bvu4Ul5l05laAuA2Zn7rfaj/uGo26bSrGQ2IsWehs2idSkA0\n4mOYYl7yM4H3EEl2hxC0NsSab1lTi9lbyi8qQw6wX7mFhauAI4skRz6SnCNp\n43kFe+hGMVNnFun/qiTsazra5uxErvT7/9IqQ2a3wbLNKHSM3Uy9hV37Msoe\nBkOn+J5yU/nHtBACv9E8P50CgmsbaN+T7Pxx9xwzJ0a9uARpj0JAQoW0XbeU\n/4LYjEgQ3HsOSLiWAtA3rE5oQIhtDldUwgZvNXTql4YWVASe6+B7RP6qHgR4\nGIcwj1/3RbP9Wx/2yZTQETYGg71vrBaEWiScq2tSMprUt0qm3vgFqMXFFAEc\nk+hnhLN7uRo19dzvyG92I+7xxSbdu0NGFlGq6FcdXNAUbEe8Nl03pllKa2sY\nhhn7bKVotWTX6kzm+gC1XwSnUyUs2lSCgdlOo3oPsnrYtoHyOeaBxwh3YOZS\ngJicbN97jLmQmYyYUm0gZZLU2sLkRuZaA6haXiSVwoKFrtIdr70m4VBpteJG\nMNx9\r\n=i7Rb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9cmD3mHOeDRYwqniKjbKlJHBbY6tW+uBkQV9F3VnL0AiAjUjgO1SdfoSdzQJOQUbfoBpPeUIcgCajyd8lJDW2Onw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.13_1568092064007_0.43605799471304096"},"_hasShrinkwrap":false},"1.0.10-beta.14":{"name":"@flood/element-cli","version":"1.0.10-beta.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.14","yargs":"^11.0.0","yeoman-environment":"^2.3.2","yeoman-generator":"^3.1.1"},"devDependencies":{"@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^2.0.3","@zeit/ncc":"^0.20.4","boxen":"^2.0.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"c24cab0fd27f3d4582e063727c34006a20b92f77","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.14","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-/CmVqG1YlXYZZ3Dpb1aQasthyR8az111nB666rG6sRqxtPFmdL19pdm6eB3kaUJz1mdpWOCYzlfKI0n+gPKckQ==","shasum":"1c72ca525ca94b17fb9b2a3315e8369749249e61","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.14.tgz","fileCount":9,"unpackedSize":1289662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddzDfCRA9TVsSAnZWagAA7sYP/iBkT9BLDMpQLq7/X1Si\nR/mM09aPoyB5CBcdqNd371yKdBJFzK9MQ1W0mA8zCptFtHyBs/u4/Y/b/OTt\nXT/RVGKbizZg6RD/1ZUrUmwMuLqOjWwj0KdbJ+zIYsRMtTHf0Cvp4O2hw1m+\n7ANko5jUb3caMIw4Q/Dln5sxWUt7VYlPdBPdfW6qywQhp2WGFq+8x/VGC00q\n+/eHZZNxeycZsPys7IQhCynRn6IhjM5prLbca7ILySuzG8uGXwif/1MwJB5x\ntYknIeSAB4uF7FhNOk4VOEEg6i738UjtyqC5xFcgEkURFF4YrpbMXDD3DisI\nfl3KEkHvIDHv2Cxe7ekrx3d5GkO0fYtUtIqSpw27t0luy9LPh1G6X+meKfnz\nV4zLNw0px2Hhswd4g9BwvK55tdwMeDQ89bwhIeKXfNJ1RdivfQpYIL5QwWzD\nkERi54ezZYnLXM4nQQwAqUCETRc2v27audpxWUhf5mE4qFQjQlyKomcO1Rrb\nAczqiiqE7BzbzCPZqYasPNbqZ3vY0qnmJOVATuF3pzUU9aUNF/yzzTWYEApQ\nkW8Lng2Ek+kpb0oru6oHiAnYbUkJqiq/e5f3Ioq4ntOsHoYjcp7wX9W5sO/6\nhmm898vQsvim5/hpYL31H97aW8MaXttB9f1CMtZ7pcI/15LMwBKi5y9yk6pw\nGslt\r\n=9aXY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuggtP5C19pyaagmiQyouvf3t/hqlOVvZ3oV1ZkMOmmAiEAzlczOCcutoBdna2GrcGDaWigUcAu4DsfhZE6Ed58Cxk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.14_1568092383124_0.43519214157089925"},"_hasShrinkwrap":false},"1.0.10-beta.15":{"name":"@flood/element-cli","version":"1.0.10-beta.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.15","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"bf0db5017c69f25bae503f44fdfc46239207a22e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.15","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-yqwZfgV7CwsqIkF0EfI+iAV3dD4LKBshdx0xNJHpbrE/iQpmAftHV90QtExAAays0nOpYmQTgrCWrIeKSBX9pQ==","shasum":"d754445f342d330392c70837f903eef43c35c628","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.15.tgz","fileCount":9,"unpackedSize":1334825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeFbUCRA9TVsSAnZWagAAdJAP/Run6IqrbPbYnsCdoyZD\nQfc66j3upeTwlUcp4+7UG2/3M2UlixIJWfUhjzLPN8bsMgoMBDo+YxRQJK7c\nalqjD7SurkxftlNleFbUgIz/H93XfwhAAvEVrjOs2JpvpujDYI8cz2OxCp9t\n7OcB9FV/Uk3Eo/+jglUdsXZPHcuxL7HaWYKccqGd/1oZsYUUHjU4N7z6oaVX\nrA7rSYXbKo2jqHX5+CO12ZO6K/3LFbzB8zWywLaCadkxwBmuQSxxCClA3bpd\nL4eLa9pK8li1/5hqY1HL7/Lz6eOnId1qkRZUkj5Wopqcm3gb+P1KptzXEjig\n603P697KrSD/k3SHf2xH3yZewvRdBNlPTiksexqi6NtUiZ9YMWeQIl9gX3Nr\n7Aj2Z7cjQ/ZOUVdPMbQi9az6ms9oeWdjpMMReDs55xoLtT2tPPN7J2pAW9+x\ntFrylxMi4EndyvhUQuMLJgmhHSyl+WiCN6WzlcfXL2sAgojTtrFK2T+YPLB1\n1V5yk8mscxzKUx1QWr3nfOMfC8nF5ak/F2GDjQeZWN+/16+Rd9zqGCYkKWL6\nFU6UtmlVLNPNXLBlkcPlqpJOfHcXeSyuG/uyJH/22c6DnOzciNqoiCFBScQE\nxa6LzvseXQwa8fqhQNW3KtCpIhYiDZLAgpva6JyEGY6+ye7ewOE5GtetNIwi\nsJzR\r\n=bH+b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDnLroMjy5LhcQDiUUgiEecPL/xZvuI0BE+1NBDcgByHAiEAmpTIT0u4HoFSErtJpMUjmquXA+6HXPtNHtXmrsnpc+o="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.15_1568167636250_0.3395981071109515"},"_hasShrinkwrap":false},"1.0.10-beta.16":{"name":"@flood/element-cli","version":"1.0.10-beta.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.16","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"78117d9144bf56dcc28d422f31b1b3952a4c3b68","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.16","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-md47bry/SReMatDkxMn9qNi1J0xL76zQZ/WDI/Gr2RE0BJHLE46svrGpJGsTbCUBjKlM054/WI3uWLIr7pv1yA==","shasum":"816af899092d273eb70f326cba4e617d4c1afe17","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.16.tgz","fileCount":9,"unpackedSize":1335002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeLOECRA9TVsSAnZWagAAwHwQAJRwKVEzT3PwysxAFoo0\nBwucHVvPi4bERV8Bwqph4flZODTnG2MesuOUrLOwTlrc/7dnrwSUA32Z3643\nlkOBU3mCOpZTCwKYcpy3rhrdCYlDCy2iHt9a5d73ehQxKKMoRtjBPxYaTi+b\n+eCOrbK+TZPhwkQfdUvHFT0RhcJJb/oMKJy55tyW0kLmpIQpkzHhjm877S8B\nPeM53p7zV5E3Q4sWFkukJReHfYamewVHBHe176Xc0W1aW8njk8ErXjFTKAlw\nJUzQ4Ck5Zdhjn9uDgxUHiatOKEj3DIOnNLdlo+Rl9SRYhMn+O728EuaIMkiB\nY1Juxqzu8rpqa1m8F0a369FruHFTMOFZ3TnizH6UkSAfyyDJ+wRPTy/pgQH4\njL7SYanMCgA+3eqeJFFrBEFZ7Kg4WN5UZNMk/L1qGnT3Q/OLeLkU97Dmbwjp\nSs0wBV2ectYbdck/GKc1aYqjgRo4UOJEyW7bjcrfWpALGaXzP7FkTdCnALNG\nNLbGUpzO1f2t9a7tIciNWMX5ygMNhHFV3qoCE9Ceq9FzKO8eUGlHykatN8TE\nieLqI6qTDLKvWnfQfwf1rOsV2C3Fy7NXzY/o2SWsghj83Hs2bnMDSOBRzmfH\nUcH+VHDjobOzkzsqLAB+8sDNG83ilLVkIZFU0Ir+fMqeAl8jqtWFakyo+8zV\nAodi\r\n=y+EG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3lrdw8hCmWQCunwmkUrAQtqu8hkDYxdPmHKRlRJHj1AiAjoEM2SIw+tVOPxQpzkZ1EY6q1Bb9eGcgKhf/g1dyTDA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.16_1568191364348_0.9740501870663807"},"_hasShrinkwrap":false},"1.0.10-beta.17":{"name":"@flood/element-cli","version":"1.0.10-beta.17","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.17","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"29f56a18dfc5684f5c5944503d275b96b9c7a4f2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.17","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-9VTWBK4LRT6suTNChGf+tz72uZczpPN2aomKGNooch3fthWpTciOQYZOX5xzZoxO2BMg3HZGgquDRd9Hv759Ng==","shasum":"92a0a9d2902d39ffb54a86ca0a14ad0d8fee5d4a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.17.tgz","fileCount":9,"unpackedSize":1335179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeLkYCRA9TVsSAnZWagAA0ZcP/jzx1QbmUg04/mQMBVLI\nlRF7rbp/U3q+9lCYkbAG/Cd1FqqWKil1K4DVBN4H/yVTVMjGvkIBjxY4QoML\nYLNgbqxSEGgLksnL/qINP4aRT3aLLvxRZXnYNRrEAGWUA5A3UnMHDPekQBit\ntpGkX83Dkl4kfb6I1PaqnRiuB9G94ZTZUHt67q5H53c3usV2oknf6pDJIM9N\noJkdF+mo0ho0G/SpSkv8H3R6rSQRhIWgY44aLX1bxPF8mntnj8UxONXR2sLk\nUkWikz/8TjHCWqH0TtFI1LG463ilv8zaNinySMnPfhGSwdH1djmu0CPjPE60\nQo84jNRJ1nDDJidodz8HK50E8pFH4772cIaAkf3g3QC1bfDEoUxR981gYSDK\nqx6QjjoEywup5vg4r1B7RUNSs2KTDglATspYP94XIX4EEoMDvpPfMgPH9Wc8\nwAZ4odLWvOeciLPpKtUYOJUlwJaB05i6TPttOTvCRwcaf6+0TafQ7U6p4b15\n6fP+XacXSlbhObE32c9ihEZes8jT/+C5NAe1O6x36DFuKg2TO8htlFfD0bM1\nLYikJBBjtCgl20PMvZ3Ga0ZUnapr2YMSFrbPy3dQJtW66wg0EsDqZZLncTBl\n/EaLGUKwEoW5gtqCL568tWZrucNdKF981JUuAKGqS5iQ0gAVN0S2HRtPmzgl\nSoKO\r\n=uslK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhN6PCApsQ2yvF7FuHwGnxZp7y8NHLW1xSh4Vt4pS9BAiAHOKyBROwFukbVPQZL9YmjyRdjKWSLnmfLNJC22Yv2WA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.17_1568192791955_0.1223185923616188"},"_hasShrinkwrap":false},"1.0.10-beta.18":{"name":"@flood/element-cli","version":"1.0.10-beta.18","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.18","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"f1d7c2a9d4398ce87393a42e447d9e1cc3564a63","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.18","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-YDfaWvX02KRrr/7PgYXW0Bco7Ivvox2wU7s5OBTjWcfVgNzK7d0xyz9g0IrX4zmbLIh53V9GnS52KJBTQAa2qA==","shasum":"cdda8c1d9faa0e6e75fc3a5cb70c25d449387606","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.18.tgz","fileCount":9,"unpackedSize":1335356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeMXBCRA9TVsSAnZWagAALJsP/Atn6JGFeAmcVyAjdv+C\nuyIblBefKVeV5UiEGdUXon6M6hRG5/nDks2RxcADBn9eu6IEyRrM86I2Hqsl\n4GJqoBS96mjuIqmIkA2boBxOIyy6h5b0atsGUm7lMYHhqgU6JDXEqJoVACDB\nAw8tQNNIS4XfE8Oj1EJgoltz5YuQmjBwi0VS8QhvpEUvrXeLOOyBdi2QOOwE\nSBgN14wc5/CEQ2V/NHTh/PKJIoglqa96CfECv75OT0Fh8vv6P6A76k6hXGN2\nHD5Yn5vHBU0PlxX2kPJW7/a4JZkyrIHcGyS2h4NVLzQfaEMWV/5BiV1Qv4WE\nkgpeBrpDlk3g8kCPHtLIEs+/8W65JLc7zWgSKcYM33Sv89eIsB7gAMsY3sZG\nQYCtsGBU8eNIGczRrfqeOs4kPO9kgQVwznsXf423CgR+pw5nsn7QmCTFVEsA\nXWTCinaAK9bMHzpqVofQ8Ld1ovhofrHA4dfQVT3D2JPevLW0CZ7aWT7nnP0t\nnME54SnxPY/+hBoWUMS00kpLvqUFMiqsacLDS7YgcfQDbxdxdtQjrwXTmPru\nsXPAX2UaBe9xartPe5Pdm5BPPly9E0FExB6tUMeqBBvpWMtNlltwKT1QyqkD\nrmXZLe1Au7nPBZ7FPBD+bA47h9HUl7eusGP70XRreFcROraTR3k3SRUf8Jt/\nL7lL\r\n=XZPV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxvN1JXWZBk1HJrKGRQ75cB54IM6TWrE+4ltlMTuHQECIBQ91jxduK00UzKTGiM8SXVhoF/Vq2EcMj3zYDZpgfXc"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.18_1568196032774_0.15049837305558267"},"_hasShrinkwrap":false},"1.0.10-beta.19":{"name":"@flood/element-cli","version":"1.0.10-beta.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.19","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"69e827b4822663389ad4ddd9715a0699f078135f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.19","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-ATXXN8PsurSVk3PpU7RqyHM6Ne1zjB92VD/IptmqnWU+bTCRUUBImw+Qw5nRHFcYZiBEHJxRT6LW/YrR4EYW1A==","shasum":"1099ca8d7053575d2221f2449143712af2b4c9ff","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.19.tgz","fileCount":9,"unpackedSize":1335533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJded4NCRA9TVsSAnZWagAANXwP/1sfIijWwoZQRR9WPhSl\naMLCalhIHlAy+dagrspCXgnX5bX7vbcPf2/GXAFL37UIQYBG2erzC/TCNu8K\neifOnGOKPtlM0FihLL5nlmXYF5IFmbO69vwFM6GUiJFhWthKt0tt6+gN/3Rv\nC+hG0pYr0NFRQh5dqQevcWj2B6IZPudC9bhOUCDBW8RV+SqI9XANNRh35mmT\n7TVVyRib1A5d0tUO+0gCliW9quy3zXUeZpf7/f2gMB20vqp6cxHY9iPvnlhH\nanrUy69AWAC2yOaEcuHj6DouVt9puIIBLbHXrgj+HX/fG7Tz29vo1QvClsSr\n0CnBoKf+bBCIAgvKhFsu0WmNRBK8qiUNpg3fhUmFqqQX3OYfH08oc7oQAdEe\nzfxz1FlUHPtCxitdULEPL18Uv2fGdJDygZaWxh8BW+Kdwgv45+DyzGzKA5TM\nTcnKrp/blYj8N9QXUUEhHwdjUDKITF9JHxvMNaMII/eVymocELWwGaR1PJDE\nFN7lZHMUabvTIkVdlLg9GK+Yg5Jjok4ocX0ScGd9CgDZ+O55N4TXOoVN0v6u\nEkqK5W5/Tv1cQiELmpwLgqf6sfsPfXE/RitPkoEMzOma8LfrvK22Ftdf3548\nUFzWQYt2IZAXd5AIGK6CnH7Yccmnng8ViNeXYXKqeaK7kzqn1EnbJN8ifziQ\nGgbj\r\n=1LV6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp8SH2OebWnZw8mbOab3IShkickdXZ9biXXBnD+UjFwAIhAPb1jmOkN2RB9qkrvvEbadRaNrR/GT+8/RRj2a62Sldt"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.19_1568267789124_0.20993964926287334"},"_hasShrinkwrap":false},"1.0.10-beta.20":{"name":"@flood/element-cli","version":"1.0.10-beta.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.20","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"08872e29820a77a9c63a0193fe8e635c5ddfa741","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.20","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-vpsCLi+EsL+JF0DJ448SdgDl2/mECiiTv6S5/M+EIHfacfC+YDUtrepS6OSnwRs9tbU4Zt7BzCsE+1gBCEM0BQ==","shasum":"2ba769d73085a6479ab998272f41c3c3f7a6e693","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.20.tgz","fileCount":9,"unpackedSize":1335710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeftBCRA9TVsSAnZWagAAOHoQAI45s6EoPPwwsD6UAy5s\nZRy44w3pYuo3z5ixBOnKx0leuVjJ9Vkj9uOg0PkyTR14IGYKBEqDvZgkd0KG\n5OvOGyXraitfzLrnNUpSYe4L5TLLTU2JvU6yuTlRkizNgtGXh7Wc0TN/55PP\nXsYLJhVvjmoqjedxLFaKx1tjKy2oZQvXzgeGPV4TT5+RPVPP4EJNw3gRNSkY\nlatOf8/wrBCve3TElyxbFG6Oot5KRku0q1ULZPl3BsGaGVLiQINY8iRC80Av\nntOFVUiYxjBZF9prRrcysRBSEiCsdIcHAhNqqLRLD6NSfJwFNOtRnp10ry1r\nAQIIFdkDdTlW8GBW804GT3lZf3S7nArhhjWrEke5lQQty0nv2oshMLAlnnTq\n6SMM0qcQ+oclDlyyrXST8RK3r+KtBJcszm5uvDKoY7A7yjYTULJHXNr105BE\noafyjmPmyYp1fNGVM0rhaKfXMnsPLIQVuXEMUoh2W+yBXSh5sPm3MdFvl68e\nRYD2WB4rUAlooBPtqDnmXNEMIH4Rwg3LxLxmpdYDQU1HmhnXLhhbCijc11ry\nrQ3fThiqNjs1FCB13uoYlSIOgy71jnGjL/abU9z498N2AqoTsBJBwEo7r8RX\nRPA4BK4uFmm14JtHUAunGRoY8TjxHrRuyzOokLNGCcLbL4cu1ieZKYudsvta\nMhi+\r\n=/lPL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3o62JZtx3fSLBpH8Sk44muFWfZBkqmAXlGeHGZ/GhiQIhAJcARSCNl5aMyl68EpIFdxid71bl7mKFPiINOTD6uxVN"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.20_1568275264609_0.4013044686842684"},"_hasShrinkwrap":false},"1.0.10-beta.21":{"name":"@flood/element-cli","version":"1.0.10-beta.21","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.21","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"f40d17e3fc561210521cd15aa748daee25aaeb2d","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.21","_nodeVersion":"12.10.0","_npmVersion":"lerna/3.16.4/node@v12.10.0+x64 (linux)","dist":{"integrity":"sha512-tA+UGbW63hD6UoPHa5pEA1WAPPfU64J0DxyUSDBGNWviMx2QAhMgCJ3IrABW8Vh5DOKCqFN76H5d0wI9lLBDMQ==","shasum":"468fc9100f0e062b4d957293f8b11739653603bb","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.21.tgz","fileCount":9,"unpackedSize":1335888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgfvmCRA9TVsSAnZWagAAIKQQAJMJBFfCizU2PYqVVAAO\nC4DnatQ9j4O9B4IC3Y/4gp1qeaAV70Z9LEswEViAe6U2JwwbqYiXYda6ho58\nCTIqzoZZ0Be0sb7yMsN8Re+OjO8U+qjOFfELXeJsmoA4QB9w7Xr9hrqR0DIB\n1UGyPjMvcSHhZYLWgvAWDCTWVGLauDAuKUzhrImtYAVOXs2DEzwmq3QNiT++\nT33iYVFgEIkxl9teOnkfkxMd4R7uq6LLnWbbTONU6NP75CrpCx8ZWGpSqwK0\nGzwArKG0N1qqiaSLyn/UtnF/yDuspBtzpFHSCr/iapV27CnZDdr9ZA7GEd0f\nGgui+AiJ1Qc7QfJKD31EdRc66/BkjR2ZZXozm6X8t01cHmVLHFtOy9Ztzajz\nztW26ylcj4Ynobo/G5oOhnIB5+lzuB8ty0zpv+i++VQBAx8kkBOE520YI7W3\n/dZ8YgCraTCtBL/KxSXm2PdqDdgociddknxalW8gqaEHfGcZPUx7ClqUV0Qk\n07pB41Hb32QeyiNEJ6t9H5K3RE3ZQdxu9duahwrS8bJgGX4vLzyWSMedHWLK\ncyRDORhDDJEng51m3K3iwkiMxwbAb841IMzSNWAE/JexQ9iZSa8ynxrkhnaX\nS9ohWFacCJy+zFQ//6Lyrbt1kYVX97+jJcbtaRz6FrBh2mxmd9rNARHkAwlb\neF/d\r\n=kHs+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1fwUyZ0tfs0kgeW11GQy8DBeJOaAyC8tZzdAwmxhzxQIgMsLrlCTvlws1V5JrGkK6L01nrR3iqBej7ajzjp7i0Gg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"lachie","email":"lachiec@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.21_1568799717867_0.870508783046998"},"_hasShrinkwrap":false},"1.0.10-beta.22":{"name":"@flood/element-cli","version":"1.0.10-beta.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -e path -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.22","import-local":"^3.0.2","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"9cb3733b9a978d5bfc54e404fa7b2c5abe3fb075","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.22","_nodeVersion":"12.12.0","_npmVersion":"lerna/3.16.4/node@v12.12.0+x64 (darwin)","_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"dist":{"integrity":"sha512-JTBXWUfL0OqCImqWFFxvLHZS+rUFTZo3nTKz1HRFRtsaRsNr/YbWfw3Z/K2A9jv7ZWPv8XW8rIADshq/tIKkeQ==","shasum":"787bc73bcd98cfa86c5d4b075da76d69b7f6d357","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.22.tgz","fileCount":10,"unpackedSize":1713112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDsK5CRA9TVsSAnZWagAAF6gP/A/3yK/QzI+2IYufF00p\nBjAC0QlS//pNd//XIm02HorCwBxIJnTM2rD348ZwInsLjO7gY7c7T9TpFteq\nbB5VsPM/dS8bqPAsRPwd7nNJ+4IAol/VzxQ8FFP1i793ACPmdc/C49Cb6Ol3\n3TZiGy2MY/YWyhe7a1l657GB6zaE0qtNq4eizJRUV3NNX3p+WDZwVrBSNdc+\nnRfnLA9PJDFsCiLOSmvJwwF24+UY8rdPc3mrfDBeWZSrJa8HuTeyhgT9K1j2\ns05Y/1vk5sta8Ghmw7p7hlwgTu2qCAsM522L2LcSazwivM3N3I8WyaiDQb2T\nESShIPDpdQCtAn9gFYosfLd7iNmKpiuOlGkNBVShgKHZq2w/M7klEGGDz1j0\nVpWRN0Dn6V8m1GlXbDYp2MGIYk/ZOH/kt0mblNUPPxs4Dgg7kERGmGxKexFS\nC5FyrBsVcuTbk3Jyherr+VqHbBKn37TuTurweh5TrFt3S4bFmAOoOJUtEy+V\ngBaEmujUbA0+YGsdcw5S+N5gx4sU0J56nQ94/698l8vvPdnZP2A0QSI0cd4w\nT7+gALh0hp7nc/d7E6c1ropQZ8Eq/gOYRIOhfS0IrE2zYYs1tW2XUl4UFzps\n/KC1Xg8FxFF8QWLauKcaroYCmLTe1xbKgrfrqIdvpB9PdjfBvPp61c7vneAn\nRnfA\r\n=bctS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDInpqVa+rhfBJgNrAmS2qGJm2g013/QdUY57fp08oddQIgOCbBftxLXEPh/O1KT4VM87qa6mvmud8g0WDVYFu63So="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.22_1578025657126_0.92394549902752"},"_hasShrinkwrap":false},"1.0.10-beta.29":{"name":"@flood/element-cli","version":"1.0.10-beta.29","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -e path -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.29","element-cli":"^1.0.10-beta.29","import-local":"^3.0.2","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"5b3ddbac9197a878d6660830b60454b204c4ccad","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.29","_nodeVersion":"12.12.0","_npmVersion":"lerna/3.20.2/node@v12.12.0+x64 (darwin)","dist":{"integrity":"sha512-JPGR4O20FGZhxmy6iC9Tldiyj3qhKONMFHTvjtQJ90UD3ubE9dNYeXsdmW1WZXGia5bPX1NxR6rS5gEdRQAEMQ==","shasum":"415acc921d1bbf63fe440d171e24a79605763748","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.29.tgz","fileCount":10,"unpackedSize":1714387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDuT0CRA9TVsSAnZWagAA5TIP/jSmJzGBmDWWQqp3Aa7w\nk0we83ijCGJWcWkPh0xTJ8TjZ0h+b3RY5/+SuMVYptQ6yqHNJyE0i+CLzErx\nnZTDu9Lr+T5FmuvjECUGG2KlAb2rf24VlV3ulMtX6SkEfUAXdB/xVLgrc+Iy\nLKk7/hbzs2DWh9lvqrEbXhkJFjHdYINGv6XSY/azzrrVTTgLrambezoY2aWO\nYXy6EoLqFBaJDk5muv4suvD1yWQKvgP3aq7Y6KcX4XeNuiOxqCs0luYFj3Dw\nxx7yydOeOYgRMphUUYyqWCul0rFZ6NLUNpSY4GkBbtbzSX2GKLHkfs3vrpHH\nxaBAGmMzTQSyX4xdCf9WIo2FlCHfYRhYxsk3xkA5W8ZHDoNsLAUPF3OU9ECH\nlaaFA/VjFiSe4vJERIWaBMeYj3wjI9pNxwa0WJ4W0ci6lmEgNhfc4t58skE1\nkOm/tD3AFzNWWUrCERmrhIZbBxakcN8ylUqGAanYCpwBrlichaoMskHQI9+m\nBKKixsyjdkrNmDFaaya5GVX3PubVwC77agmTJGfn0qss3vjPx8IDBmqJzzaH\ndUKsoXX4kyCZtD+sieVzTslK3/2evr7SeYEu3+RUgjcy0OA3jdHJmzaK0MKa\nOXG5d/nwrwFkXIEX5mmIhRlmkXUcEGA/e5XYNviSObYjIwQEi9Xe+WOH72MO\nh4yO\r\n=2DLb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDaO/qn3JCQA01kFhkWbgkHH8LlgLu515VLlDWcMOqaNAiEAqYb7rmlzJcM2vWyB2EPhe/FqVQ9JmWX3r8tgtrZl5lc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.29_1578034420045_0.82725990545868"},"_hasShrinkwrap":false},"1.0.10-beta.30":{"name":"@flood/element-cli","version":"1.0.10-beta.30","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element/api -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -e path -o dist ./index.ts","element":"ts-node -- ./index.ts","element:inspectb":"node --inspect-brk -r ts-node/register ./index.ts","element:inspect":"node --inspect -r ts-node/register ./index.ts"},"dependencies":{"@flood/element-api":"^1.0.10-beta.30","element-cli":"^1.0.10-beta.30","import-local":"^3.0.2","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","typescript":"^3.6.2","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"79f98e6816f5602bde40071a7254d70e2bf07fb5","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.30","_nodeVersion":"12.14.0","_npmVersion":"lerna/3.20.2/node@v12.14.0+x64 (linux)","dist":{"integrity":"sha512-0aGMhuQ2okMzbIis66bIOOiKRcPu1lYLTBoizH4DCRTwWNUbSOegCGD64Z+pWw0tjgyQ9bGmA9ZaqNzxjg8lkg==","shasum":"d3437b04c97ee00262e32e2fd949c7abbfd41e43","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.30.tgz","fileCount":9,"unpackedSize":1339079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEGtHCRA9TVsSAnZWagAAdMQP/iCb743Qcg8YTzOttMqh\nvdWaTUvxi44aNzLav9ac2nYX1DKo8KzPt66a/WZBTjc5XwVvkCUUElEHA8AY\nNlcxBAU2YxpwN9v/pGQlMCPpbMDFFWdWj+kz0bx9AIrnY6u72ZAZkCpEhqJj\nJQy4lFlfVqMMIy3VX2AHDOGhRus8RqpuPwFQo1do5b6VUI14E591duZ3VQI/\nG3rTZXi8Uy0msOIBM5kp8xGjCR02oJ7sych9a8RW7hFdpQA24AdOIcKsY41b\naX51gj4QhicEo5+cIbkiPoZy3Slc9IoUg1tHduuzPx/Ol34bZu6BpNDs21yF\nGuq5whmXtEShvjiA7Qrw7Ee8y8cCNsZ+Z8qLI2gSw+19i0uUX51p7siOoEQp\nNR7Y7PLN9iu7Qqw30K/pWFNs/TY3EtGAeERX3ky+vKoa2mcGsz84vpeR9Gza\npmgjzgddzjGID5Ypp0nZTT1yFkwDUricmBxYgkyAHCYsdUBs1VqZwSe9xUCP\npcU97ui7xhJKwU0ggK5ayrd34ZriDILsdhQ/59m2Vf6bcbjkXFwOrKejgCB3\neZbYcwVRaI1CoPxZBD9Dzg2uumsbun6SD25/gOUNniyeM0Up29G0is1DuDnF\nWSeWRbWu8FGCZ8zqDAGZ0nqp7k4fvYXfgWuuTcRHAL/W2J2WXKroQmKSbbjT\nyTF/\r\n=pP89\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKrcsyGk6wuXkYXI+I4GaPe9vnWn2gTXL0iquYshAFGQIgEnuAqFHjrHg4KRLpG4Ox02yBlnkcLIMkw7BMxLlf29g="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.30_1578134342671_0.5873759849925759"},"_hasShrinkwrap":false},"1.0.10-alpha.71":{"name":"@flood/element-cli","version":"1.0.10-alpha.71","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.71+5b8a69a","@flood/element-core":"^1.0.10-alpha.71+5b8a69a","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"5b8a69a4059114c666bb02d25aeec5d6cbeca2a2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.71","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-FFZDuyNsV5Fd7r+/MqT/DLYINoIf+78xVZ6n+bWNIvfGsV8y4qIHQoaFxynvduJBpVfxDDaUrFLQQko7gjgwsA==","shasum":"0529571a279dcae66ea672d4b2269818b683b5aa","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.71.tgz","fileCount":25,"unpackedSize":1348140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGDpXCRA9TVsSAnZWagAAeZwP/2mYedO06s7SE7Q84hix\naekj/5AI/wlVADWdcp/jrelnrhxQVBMweANTINsFQrV1oSYI0FAYrbT83MMG\nNbHlwKSqBNGoYIum9D5aEN+X50bt92NNG2snQ+Rgbttbq0IKqM+YSmELmc/M\n8cVENX3Ew9iMSCmXLSn7s/7IOdYmaUHpgLDmwTxf1Q5AHBaKEKs6UUdalU7O\nXkLHVRlPiaPkXijlsNUtgnV1FjYWZ1Ltqxbtph3wAcCMcm+jqU/lyNjC8lG8\ndt82GZDKPpeiHk1xAZqz7zqo5c8LGadUvuXTtlyeGJiV5v4+DOM63SrdSIn/\nRjp91UU8tk6/608Q6SqTJHcWaWohK3ixLin6HTbf0onyY3SWu2TE4ZjzI2xq\nl5GyvTUpUeElc82mh3dr0RTDsxi3R6SREQYdfD3Fw0k5/NA1wT3C7kyv1e3g\npadqURunsAKZrLXAMfgddWtmgJera9SYys2gfC9/gy7NDBuH4XoDAg/FVZQS\nOitz5DGpXJU67rlEQ8J/CuBO6R8b19sLXh/ZLphVTfryjrt3M9S3z2N+SZOa\nxr+0X6Nb/+Vb6+gnZXcLt4OsIj9azQVl+htVDfR4mhLrKlte/fLA0vT7uz5J\ngtKhOp0dIWjifZ8u5pCc7QKM/IKA6KGduTludza/HmhwIZ9H/mTSAjKdw/uO\nv70M\r\n=cxng\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ0GeepH2Q+SjNyqIpKcNvkMxPv8uOddhZ2Ne10DFfCAIhAK8QvMiWhN7dIBhw0AQxolgAa64J8Pmu5i/u0X/8f2m/"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.71_1578646102531_0.4422430827066026"},"_hasShrinkwrap":false},"1.0.10-alpha.72":{"name":"@flood/element-cli","version":"1.0.10-alpha.72","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.72+208a0f1","@flood/element-core":"^1.0.10-alpha.72+208a0f1","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"208a0f1e961ede7318745a25c362467657cf6262","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.72","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-WsnUB/tF3rYlQ3Zn3zyXT0yv53gb6M4OjIikN2tv3MHv2YN1Zwiv52gmGPiFZ9iKuyDeGLPB3paYdVwUX24LAg==","shasum":"b5250c8e069be9df5fb7a62783813204e504c514","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.72.tgz","fileCount":25,"unpackedSize":1347734,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGSGCCRA9TVsSAnZWagAA/t4P/i/11U06NIhMb8jrMoTj\nSZdFH2RPVkMSpPF51UcNxgSxGbjSHksKSGjOiSH4CZZNHUsAZ7aFvkUYiaPn\n37SGAZrPBGebZ9v85mk59Pvz/v1Xsa+He9pNrgQVVPQLVy3NdWTIedPJQe27\n7lNBr9zuXCQfvuHbe/xPkSLspaIn83bca9Pgd96/GLn+J0fAvknCV8/9utqW\nJMfBVp9RlgZT8q/TDvcqbWH02fmPS/ojbR6eCdqV+YdT8IzhDNqYZQ/qk9Cg\nW5zRfn3B0JTTxe/dE1jxb/Vzm38iXop4C4gZyM36FioHH88BS/m6ZEyzS0Nm\n86g8//CSc+7i9e2pBWm6EnWKsSdVSiiqcHA0TGT9wS7Gp1CPtuQLehMzW6nN\nFHHTTOnIJftYRW29U9oUNUpFv8Tu0tEnIQw+LDYAdH+CpOkwjMPSc9nyBQ6D\nQkyER+mUMi4xe+EpEC1BXIjdUVgMqvJOEE1Mt+kpTrH4S4tAzAbHylZS9uHF\neaRsl13tbB9AFhMU0b/ynSafMlRsjdyWEM4p9Jhyasm0yN5yNGC/hQfU9iMT\nrR9akRiM3zGFYRHZAqGEQ2URr76LTvMRoXunO8WaWBnQcRmnECSQw/Xneqfd\nhc/1OW+u+trMWsdLN05GUOWbmqDJzMlMhuuHuTBMv5NQ/o7dNPmX0ZOnOrsl\nNOIn\r\n=n+li\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFltgeeV8H0xGhpDawQM1UJ2YnsXxXbJRFnj/I5Hncv/AiEAvPrNG+yo9uxoAa0lMyoOSn0W5V9D6oN3gBW8nenXgAI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.72_1578705281895_0.3003183956286599"},"_hasShrinkwrap":false},"1.0.10-alpha.74":{"name":"@flood/element-cli","version":"1.0.10-alpha.74","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"./dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.74+b4cce0de","@flood/element-core":"^1.0.10-alpha.74+b4cce0de","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"b4cce0de9c0a585ffd10a66e7b1bd95180b75f21","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.74","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-92eJ7k0bxo5IstNfTfuUBjj7WaiTHpGNdpKA/MC/snKddSUEpLUjKY1SkfPMhEDihQ7KPvcalIa1qJaxYTiZUA==","shasum":"470cb57e541842ef2befd78e042838af3da7f698","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.74.tgz","fileCount":25,"unpackedSize":1347737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGSjRCRA9TVsSAnZWagAAaKoP/12pJGhklOx5M6wMfdAy\nuXTP6GAMmOM7XaXMXsxaZTMSUcOkSBYyRIUllBUfZLr00QOYvGA0o6/Hu/5G\n/ZuzX2w5v01/hcShEwSdjqipXW1qDa2guvLitRcvUUe5hSO4THyjy8I4I/9B\nYC1rel8XexxNfXXYG1MaRQJEgz4JH5APAkKrX4AzygtdLsMaH/XS0OKzIVWO\n7OOmpPFjJ9wtJD3KDCMkA6eRI4VmRNrNJ/2iBSYXRT70/pJV4BUwvhK9ShuH\nT5jzFdF9eQP0wZlCgo8VF0QA8wcZCzBwgIe5xdXg+eREfnM29wNFSXOrH7+2\nwV01z7TXQV2MOb8xKJ4PFONq9IyIAiNrXOHRnxydE4m/DEl1B7CSpueHVG3a\ngj3j+Kr+CBTB7GguKxTWUIgq/1qQUbQlNShuSCmMEnZRV6eL1G4SoduQQCbq\nxztMUivCIEro7sz6AxFe0DHXb9LFHD1r4tvjpkNs4aGOWjsuSJmzIoh4vYFb\nVZdN1quakyO68JOA6FPQuyQPzgFeJZyEEqepv/GvUKzc8/bH4O/jf9HeNMdV\nzpaoqCFRTIOnZfBpJ429HewD7iO9dy7wXSafnCYqgYBy8phcW5GcteUSBUsZ\nPOCcpJtJTU+3+n0A9rcDS16w+sYH0mpnSmFKVcZUMz7+qXMTHpcvebxJDbDt\n39Ou\r\n=1apV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3Tp6VwHEg1vu1w2fvmTndUkM5hSsiRWS6ec9jL3/8qAiEA+IJZ7Z8v51949yDuIEUTVk659I2ayvPshJV3/GRm9QY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.74_1578707152579_0.2970950153298557"},"_hasShrinkwrap":false},"1.0.10-alpha.76":{"name":"@flood/element-cli","version":"1.0.10-alpha.76","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.76+1666276","@flood/element-core":"^1.0.10-alpha.76+1666276","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"16662760660e5a01282e8cef6aee521493ba8a29","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.76","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-VKQGGujZOKo4FXcCpUxfqKwc6S84HSOlhSTUfKOyxbEv8IvwBODmZDYI1ZyfBGYqK9dExp82Euyi+tzes5v/yQ==","shasum":"139836b3bc4bc9248d64e311c9215b7ccc4e0348","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.76.tgz","fileCount":26,"unpackedSize":1352210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGTkjCRA9TVsSAnZWagAAztwP/3WiEFcqNgRe7ilr/d5B\nfS+Y/ZhjdqTtRsAdBIuJ/+pFWStS7goyXqqsMQ5IsRvmMog9JVZskWYLGJ/o\nwvVdOURZpt9RjX9fmkHO++F/0R5ttgpN/F1n4O78SPlWL6rcPvePAGwDdyg6\nC6ngztpvDUoWQ9voV85jPC1crkzvcrPmqCSm6ZeQaarRFiPfuOlHKIizBoxk\nuwBvl2o/HRrKAz9C8g+UOQNudK1lj77UDuyX1u4a4YZEFeOtn9DWB50Dc0Fg\nYOoHU0nuxNdWVnRmP9MVPftUX16YIYtDGaSPbJaYGtiGUr/aXzv79xN65mtl\n0LbMuqo0IB/RgdCB4zAPngkhbC80WjXH27zwLHUTW6PYmWgfinxB/YiHWodN\nHDPua0/nZPixFyOrhdLuJpgM+8JGpycwoO5t7gSiBkLUX/DEivsdYQgQ2cnB\nbtd8QrNE4iQa7K2hljj40xHS6HgSydBG5eIX9JEBYkmqdlwSDtxQAq0Egemr\nEoIitpX4SQDfu7akFNOhVzKkno13LOQJuNdml40BDpNwhGTG36tG6BNEdnk0\nXDW21ZgV4hrryTMYTZaSzptPvcCVdrgGox7484an4HvpZdzyT9wHrLZKkj4e\nNiNlmBAfjTdLni6YivDCMsbJGcpBF18KCbBF0TDh1RPV2mAFEknNCmcPvRIF\nh4yV\r\n=6n+2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHjooNcgXbU8Bdnav515IvuQ6tDALJy4LtbUZvUkp8G+AiAEhhQiXYykYWOB/oP+X/7ZuVKFF9RvpIVf7KsSfykAjA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.76_1578711330753_0.02258787673408702"},"_hasShrinkwrap":false},"1.0.10-alpha.77":{"name":"@flood/element-cli","version":"1.0.10-alpha.77","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.77+6769d11","@flood/element-core":"^1.0.10-alpha.77+6769d11","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"6769d111ad5aba621ea06cb29b85d012e7309921","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.77","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-WfI2Bh8EihTzz+9IpKGKhsipwcSo8+BhtKZTQMVslS0mnQns+Z9wHP3y+A/qcDsENks7YpOU+xUnEYU5+a3RXQ==","shasum":"8d97a891de9d1d8d161f0c3cd60fbc148eeb40ab","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.77.tgz","fileCount":26,"unpackedSize":1352210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGT7oCRA9TVsSAnZWagAARDYQAKNq64Ptrbx5XyfmtzqT\nRojE9wEUllO5Hf0QXqFbBdHfzJRYKeoGFsqWWkkPXlbatJynAZrHlC+/adpM\nqX3qthNEgq3cMAIB4KuKVg2ddhmiRoe1qrOQyj79AKeoUlgI4DXrUQvryPac\naDUCvpZpZqevswCxke8QZ+17lFYGmj08I7NjXdYwNkwPTEeWIZWFVtX2CX9C\nSZet1WC68Uu6dy6rX5RVheHY2xN8/I5tW8U8ekQdprCMResdXlKlF9jGHzsf\nWoWubmpNIJAiSWCrj3/WXOCSRQqC66O9JPYs8eM6NnHv4ce3eJicgHkv7Xsq\n1IuWGjSfey5ccqVXq9fKMn7B+m4ZsUtlqE61zCJLYb5BYfuu99GY82xPpxAr\nrEt7Y9HDBIWogaguI8d608EhbaHXzQGGooUQxnPP+ymnVEfLDXWrOBs/ekqg\nl6yYn9Ioc+ql/pRJuK+ZrbdPCmYF+wBSHYq2H3w69cO6JU+4i/S+XfFIBb4V\ngGwrO1oooBcnnxNjDqr9xQ30XWhKmybU6sv0NLQgvB635UE9odSxkR3QBr7I\n10Z7p+WdJxy5z09LCQZHoGd4yZq4lT43cuaiLzMCqdGWeJldsJMbh/mFUctW\nNpPgrF21iM6GkMS42ZdL5RXRHCjAQBr4NqXOYloeitseZ/VrvPWcUxOo/TXk\n8XrD\r\n=TnqR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHlObZCwUGGLqdtVM2S4aJQSl+5GY/X8pXR0osaPldDwIgCFpJ0huAcnamTt1BjTSguSczCFuZjn4ipWCWSSwBw5A="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.77_1578712808425_0.5174689921339037"},"_hasShrinkwrap":false},"1.0.10-beta.31":{"name":"@flood/element-cli","version":"1.0.10-beta.31","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.31","@flood/element-core":"^1.0.10-beta.31","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"b7b9cae15336602439035c1e6ddf483c07814fe3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.31","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-xJo31F1ZYHWxEaZ9IzltuwEt5zxWIzyNOF0GHZmTwJoVbLcohytnF8G0QoaeG+PVQbReaZz6CadBn59Nzv7eqQ==","shasum":"ab69128507eab518ca4917f09058ae31845a0334","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.31.tgz","fileCount":26,"unpackedSize":1352529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGUOvCRA9TVsSAnZWagAAIfwP/AnPEc9VhYaV6gomo04O\n6VSwDVR4P7a59LwhGt3G1VeijEmIzg5MetK//UF027DXi2EYpabnx4v0FLF3\nRgg6FC5aotBFkMA3jQXo6gotHfrUnWYNHeEAWoL1OXvDViiGRP6uJKwKX7JD\nM0bR9X3VJJNoN06avL5uMXhAxgEuwAtcrsr7Nxtl7IpQuBxk1Tc3ckL2pdpn\nadaQBC+GuMAeQCN87Ggt/NKWrCZCMYEno80MP8gqec9MXFJUl3Rwg3Om7IXj\nNVthQZ0zc9wt8til/0u6m1979AOhC3FxJ1gHi3YpGJfJ8QpBxAMg7FBlYGIC\n6Zp0wxXvk+k6vpT6+/cejl5qcWgVI9N95saFPuxFA1OoNT+vCzIZ2llb3Zja\n8Z65OITmxRC+68aQbnzVpyomiNxcO/Xje4oSv7CnPV81ECcNtoDS0VrauEAP\neCeEcW4ll0c2xU5Jiz+/PyD2TmBuqidmcQNSl4kZiWWgrpcsDql8utfT1w2C\noihd7f/ig7z7vOCQ2AtdRnTpFJjUHESTNUDdOwP950CCfKj6z1war5/plq3v\ns1Lr6T+Flk6WRc60/Ly9w10txO+RlGar1HimuCtepOxHkR57PkgYfYc0/jgF\naPM48RggTKCL+C8OmHRm0KPC7SG19ZA+Hye29jqgfSpkYqcR2sZ/jODxOcFn\nX/QK\r\n=mIqQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4lHu+bkB70qP9TZ5stq2S7L0S38LdBE4r4J+Y2a7APwIgQBq+4di5oiaptb0KDCi+xPqHwc0AdMm+38SlRU4vo88="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.31_1578714031095_0.007978729384121808"},"_hasShrinkwrap":false},"1.0.10-beta.32":{"name":"@flood/element-cli","version":"1.0.10-beta.32","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./index.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.32","@flood/element-core":"^1.0.10-beta.32","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"1b44f4f61e3bc07adfaacc5459381f04998e75bd","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.32","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-gGPDASH/c/QIV/AjZGUkEoCptc1Qop0X1rTfef3ChyHWnyZOeDAgXJqxmd5Meuy0p5J2z86Uodua/lOnUqus3A==","shasum":"d7e1a87758044de8cf10adec8cadb69e55ee067d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.32.tgz","fileCount":26,"unpackedSize":1352706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGUjLCRA9TVsSAnZWagAAjSAP/18cEl0+7zqnJvX3/URT\nCHzGEL5vJnatY9AQ5HIuxQ2WQOgLxAADRi5E4SAiutEQ1Od88YytW++Yj15O\nA+3f0s4rTx4bV0rBM3KRCebSvHvWHY1Tbk4fpo7e8FJhm7cmFbr7eo71BtJF\nG/K88rn8mkpbdvbgpzFB/Xf4mS9RiJ2hYVeh6J3jI+dRHPAPWL2SsTm2gd8c\nsCqdEHL8Z0+1Wloyu5jZXqTw1RCBtHXX+ukopcyPxtlzWviwQ243x9MmO5vj\nq7Wqh+k5Nv0Z8ZWRniaEm0U/UD1ncbqJavMtMEJnDkRRSvf8BIFjT1dksybA\nFlVumYCioHD8vZRM+hvSPs9E2kaRoZwf0Yq5u1/YCRcMIH0SMyYOTQRmuMNm\nwBBgwVwY56GXlMbpenv0X8egkJzEjEgb3FDXepITpuYX+K9p/InneAHbp9Xs\n+9h0fqVdJZT2oj/ROtt0o0hD2xiCn9TXZq3oI+GAvH588bk+QfI/cPzGwg7C\nZqPZNqsLAIdD4lq7IWVUvAFnpq1uJMf9z4Gmq8ljk/s1gw/5gtKmuiaXFthz\nCEz+1PsFWpFRE9j9ckOnEU4/JAq3SJaMn/xRx6B/M9JltCH//X5HBRzKM/NV\nYPwdKwLZIfc323j2Wu0ANnvK7vsgoprNI56jG0rf9T7xpxwu5B8yB8xJvYro\nZA4a\r\n=Stde\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBKeA/8qKCJmy/X1fDWqz1JN+OizbNqbfihdLAe3nceAiBAQVL3vs4RcOdd8HTO5pVNgpSMONdYhqAvkH19qQZxig=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.32_1578715338702_0.3478713264781945"},"_hasShrinkwrap":false},"1.0.10-beta.33":{"name":"@flood/element-cli","version":"1.0.10-beta.33","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/index.js"},"private":false,"scripts":{"build-tsc":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","build":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.33","@flood/element-core":"^1.0.10-beta.33","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"cfba462e8c6ef5b13780f630a78797059a825a61","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.33","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-TcVAD2cNUuJoOIcpX6yRxn5fXtoAavnc49oe9nTwPoRpO6kZoyXgKeEDf9BkhGw0xgKm7fARIoW+rQnn2whiNQ==","shasum":"d97dddcdb1950609d6c12cb179492fdd16a181f3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.33.tgz","fileCount":25,"unpackedSize":1360901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGU17CRA9TVsSAnZWagAAaasP/1NKWCOHUGgsM4wmGyfh\n0CSvAGvUSy1pvWt0l4+5eXreuqnkvz3L97avmhZaKO+QiASOYVaqWkHHixnl\nYgpt0L7/5iQt10Hl+ptruvRqfOp8Y65XCvZXP01ae2j9n2cKrEV6ecsvbLoi\n6Jvd04S8impzFSnDR+udFsnnEeTHwbQHgBClBmFu2+zju9Zsp0gWsv8INuXT\nekAgjGCegpBd1w53l0GokNBTanOE9YJ7fpQF63lkwSxSRd82HBmR89iIrwcj\nS44xUoqr4c254Zkaho++s54hp/GATYlJFXYnEZNFmcSpnF8WbGpXFkueNUIC\nA6dGtGXI+Urp1yy75iLpLpDxyasCV9BTQ9CvxNbGwWkQlofZEVeA5Gz+Yf/M\nxnwQDZcJ1qRlh69aheqI6esVtYLOkiqWWxGv0BB1pzLlvQXuZ5HTrpIlvcSs\nqWog/X5WrQP41FVogvZhcv/y+JSO3LhAWw2nQ9itPQQ8Vl5CLUtEF5phKqKb\n2q7NzdlO2CIb73lGEEAM9tHPuNHKfL6DsrpcU+B9bq4P4WBpy94caKL+MO+g\no6IO62fmcqfKs1jDbIGSigdvXJsnGN9S7gRljOmEPEQEP1R3A5rxXLBuGgkv\nDNwQZJH2oMz9+eh4j1YJ6AGt7aORnNXTTmoG26pyp6z7QESlSYdZGOjSChZA\nQrw8\r\n=ozP9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVHc1aJ4cRpnXJEm+gV4jpcOjcPEdEkn3qonBeI3ADDAIhAKLYKVOX0LPtBzxu18S+vUBJlptvlqvuOveUcAy6/Ylz"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.33_1578716538907_0.7581237060246095"},"_hasShrinkwrap":false},"1.0.10-beta.34":{"name":"@flood/element-cli","version":"1.0.10-beta.34","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.34","@flood/element-core":"^1.0.10-beta.34","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","in-publish":"^2.0.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0"},"gitHead":"f7168b938104d496eb0eb7a02938d8cfa162a4cb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.34","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-KfkOD/8/b4tJtDzDBMYghY9x5TA74bgna7BRDSrEo3sEAj8s46Ex+1dzfRSY7VR+wa7hWf25Vo2OFfYGQm5Dlw==","shasum":"d9b21256a70310cc2e8d3f9ce97b664a8c3bdc00","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.34.tgz","fileCount":39,"unpackedSize":351153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGWXVCRA9TVsSAnZWagAAiWEP/0132aBKsMrfoPbRyp0p\nFdN11RwsSPpf+tY1cc9Oe92vfGaP+lPHNOYnduuyvzYEK4k4TJZjnbomPqt3\n8baDS99G7VYgmUfGj89IbUU90hm89ODRcqepsv/yyGzkKYsFc++yIq8nEN3l\nXfIjxwhBQtZ7Bd1jAP0al1I4Px1/XqeEGVlrjJZ/5kF3os/5+DZvM0LoUTrS\n4rNE3uHyUbYqaSVYhiIhYr0MA20CdaTbD/Ip3K9Bi70dZcZqVXo/kx3zSBh3\n2ijRKKxTvIpB+Z0vWM6o1iTc7WHtw8GR/nKgAIF3INRGtpF9CiTcDEA1+hYf\npotR1UELt4TZphpzMKG03+Mgzj250e1pWwetTHqbqw6H56hF4KvvwyyfxyhK\nI8C80lz1ydNg/QOf9G7MnqBC5grfVvnV+N/M39rUn8SA/jw5X91apiAHcgr2\nkbfjd9hZKbHJG8yoyWm0gnZ+gDVujHOG1MXjNTcYmEo5NYuVn+tmF7QsBjWX\niuFO7xClAtjElrB+KnNBS/oda8j1wzAByi8S/9egvsZP/9aZKk2zlFKmwvwK\nRDmz8t5Tiu53dGVLXejZYqWOrwbiK8zTeQ0RSKpoUZ4ZFPwqYuQik97AwUUy\nHq9mgc5BAUepd2/wgoOfoTQCHfaW7srozbddLl3aTdhJfqCki/hPBOlt2xhf\nL6AW\r\n=rWr9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcaYyaaJ09gkPAgPIKC7EAUfo38HynSoQhtt/re51//wIgafIwox436Vh6SNRD4PraG1fGwpPtX+Onb7EL5SSdZ20="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.34_1578722773394_0.903965373343756"},"_hasShrinkwrap":false},"1.0.10-beta.35":{"name":"@flood/element-cli","version":"1.0.10-beta.35","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.35","@flood/element-core":"^1.0.10-beta.35","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"020679091c31e4f3958a31ee69fdd6fbca90ee8c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.35","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-uszE7ctV3NyXDnXQIlz6QasAUfmwur9jpTRFTx1BB9IUROYAn1KvNCSSjGS0SHlIWPHFUMaZzOLOK9GqYR4WpQ==","shasum":"612ec7a8f38b3f47c230404ebba950463df5a221","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.35.tgz","fileCount":39,"unpackedSize":351330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGWdHCRA9TVsSAnZWagAAfK0P/1z8xcKNV06+kOnVlbN5\nUuLd+VUo6CrERL89oJo5ptUI9aFsuULTj+ZsVNvFWSmrTbXEMi/JxUZNc6OQ\ndnEWTaXOrcllREiToZWSma/dD08hVGKZ/km0zBbGdYdYP7HdHFlrbHJgsBq3\nboGQSTM9+/6RpqBRGtMtzF92FV+4u/UPgN2NC5iDf+P6ZvCkjBYKnKEbGlGZ\nfpEIZ/d3MDOsw48TdHqpvF3ODLAv5mAHlSEqX7dr4Sv8vPXwh7m7V74a2gYj\nPNGDXh59XPr9cyHcb1yRD73NtvRa4FMoOgmDDt5EVgmvlzVoEK+6VF03AMIt\nsD9+u4TZPobRJM0SulA5Lp7mTdbrAZEbvvZwjTUV6gtgEtmP7YSpD6rEitVo\nx9aW7dHJLPJTjFJpotQmltPUdyAutiTBIok1QbkorsmMxPIwb9SHQmxQdKKy\nhladBDmmgJR8dvdk5uLjlwD8TrA+FlM950VXmiFoS9nNSJd4M2pLXPlvsO4Y\n+g5/OE2IViocWx4sCGuGYi9G9RTSRxxterj+cgC+CxRbp0HmWeoqu+yTc49Y\ne4iWXgrn+KAJ8qeUU0gPMz2DToqEliryls8OYSLowiP7D23vne7Rnx/g3set\nJjz453Nm3V4eirZdZVVklsbml4w795KEUP8yYyKa5rrkvQU+az1Jl8+XlOlr\ncifD\r\n=pQnM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICydkMJybnXGfmBuGgxqf8mcigzDW3IkULVe9bPEm+qnAiEAtKQjZId/tpJ9/XLmWmnErDMg5XfrVIT/UenHVRZj664="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.35_1578723143171_0.08335144764232316"},"_hasShrinkwrap":false},"1.0.10-beta.36":{"name":"@flood/element-cli","version":"1.0.10-beta.36","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.36","@flood/element-core":"^1.0.10-beta.36","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"989f378f6c0da8ef40c0e2611323fa8f6d74941d","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.36","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-OvQh19Mc15ta7Fwng6kERrZpW9ZYmOn0jucSqj/dqDIYPy65cTLe0Uk3MCR9AbLOKi251WUzFSVIWdd530WUXw==","shasum":"9f620a94a238a33de60efa8de414645ff901e17b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.36.tgz","fileCount":39,"unpackedSize":351535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGWy2CRA9TVsSAnZWagAARn0P/0hoc6jqIiPrtmZVITSY\nZgLC7eb20jtFN89nw1O2WAo36i98rBVWoh5083noEMKxBFvY9fXqM6yCZKIR\namhG7ri8XcGf0AJK0Eqm4AeUukWvN6vad/6tow7ZqGmS562v8DjnvP66Hkyv\n3bRkEKyJiwSaudtnl6zcjBEo5+NkPtGSXtlNuQYRCflD6JL95pf33v0yN7IO\nzmILO/7KlBlnhnkkxLIH3DI2nM5okWtvVnzYvJBTGFwg9G3qN+AlIa88tkyR\nhk7bOmC66wDqZdOg+EP6dD9ZBLwaOfBxCJUji8KhNT0rtSJoVmkWrXC/rYDd\nnTahE8uo/Wdy0rjuQo+1nlh6iDp/rpRvjrj/QE63qmhJulgO8uMtjFsQzYVO\nlVzr7Hn9gC8n4dUvzJ0oLv59LYnD6SO7y7yb8UpzAHS5+jWP/8XgABEVStX8\ntP3DS0Izk5RzTF75pHqOs1rZtRh2Sg2HynCcb9omD1GGoOatWsfo2VY2vlPk\nAqgrfh2n5hJBIcdrA3YxINyOeJTJyCrk+z/RNtOoVTcuoVzha1wpQUQ5Bwvs\nOxUaWygS54gqhDo6+pjyS4lPyDeDbkD92TNjEk3XODVmKfA0qu8kj3BwP6GW\nSmSpaA0lh58awqDVgOWvpATrK2FnQPKtW/C7UxzvOGGpQHhbsEl/UZ1UphIh\n78FP\r\n=zO4z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa6FuMvQkhlyJG6m0lsEJsKZP3N/cOUFlG+fXjyDoMggIhAKSfFoUWIRCBfsAFgpQhUVVtyObZxc6qYNlk45SANV/q"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.36_1578724534465_0.7974672845034863"},"_hasShrinkwrap":false},"1.0.10-beta.37":{"name":"@flood/element-cli","version":"1.0.10-beta.37","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.37","@flood/element-core":"^1.0.10-beta.37","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"104b1cb4ef4570c10d50a930ff0a3cc28010062e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.37","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-/9TggA+lZHIRsoJ1ygFXfMEF8AFhxVFET1cOmkWBOGePUE5JehrWGd0dmwJEKCNBHzqWIyr3TQxz1v/JVCON5A==","shasum":"fd1436b341332bd6c0c93e97f0a7f7eaa5b3b163","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.37.tgz","fileCount":39,"unpackedSize":352216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGXFRCRA9TVsSAnZWagAAn4wQAIvnKBrKcy+3pHvOowzQ\nRJRTx4dvYulyE8exTghNUbVbEPxYsfC0UIyE5vFuUuPQsGYMxYu0GMYYl0Fl\nx1bBCGHdYU2UEFf9f/Fvt2glUbC07JKgSR6IH6kIxp0Wq/79UWn0ktVgL3Em\nsxGVMhk8Xomnjp8eGzQEt7dlT0/WmqOgTFBm5QXuHgYA2XG/kd4t8+NYky0U\nqRYKhMoQUf3kJ5U4meIj4Ghm0cVn/SMya79AWVmIFR49tXEQYr92Q9OKzEb3\npSFPyEQu9T0zwnUAKhoUw5DW+V31R6NrxKYpNEUF9pQCVdUQ3BJDgolwWrZr\nzB1RS2TRG0yfU/ChNHEVlIcrSYdqbvRoRMhBYXXSCw5XRVlXslWZrCWVhXL6\n+BFAxQyBVeq8tzOdHUy3QlEWLrW5XyNzG99Lzvkc/bbtIUXOhf1vOsJgrbTC\n9NgwDY+hkc8Oo1V0ZrIGfrpXh2iqlZqmcUfohE7/1NHAdlvKB89RPajc3eHU\nfurI7AGv5yL9yhQvjWUzxf+IRgP2Ne/MrvmutOGscthpvyKb3I6xwKTtmzbq\nLOLUWSTo377dZaqT2uCihbp+FNs0Dcytg2cc1b5yap3QjjwDAZYm0yzNVrsC\nhU6Z+WPEuEb3eD0vmB1wV4UFXWYqrIVcBfiJbAwDzltXcXi0j6JrJe5glCm/\nXl4j\r\n=edCB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+4DEso5e1SQM/cCPUBitpHFz0j2jEzYljsv15EU+zYAiBZAy78Tv9VFBI2KDO2asvLjhCRS3dk03m2/WX6ZK8C0Q=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.37_1578725712913_0.5082340093254059"},"_hasShrinkwrap":false},"1.0.10-beta.38":{"name":"@flood/element-cli","version":"1.0.10-beta.38","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./index.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.38","@flood/element-core":"^1.0.10-beta.38","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/yargs":"^11.0.0","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"8eeaaf4fc3d6658a77508c435a635a00bba94225","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.38","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-PwycqGR0ZpmJfasxo/QOV74yrfAo1exA6W+GLbyFFYplYD9SfF49BiQIaa0TehkskSfXcL14sBhES205FPoOZw==","shasum":"ddfaecc762f2c51b5676ea77b2f14d84d7a80136","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.38.tgz","fileCount":39,"unpackedSize":352421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGXHXCRA9TVsSAnZWagAA9JUP/2ZGmpazFC528k7+X5eZ\n4JBbKff32IjDN+fGQ3GDvhWBYctWdmbOFQfMu/alEfq95Zw22Rqh17X6p19n\nzOpZAg1y0z2oU18W7aYNjybF6lFphSExvXIfVqd6mHiYjDC1Mc5QtQsY5RXu\nrC+FgCOJEXBQ4GPES1c8Gfx4nUTUZmKQDoD2DVrsMYxDwzqLgxw2R1MaHdM4\ncjsaRFN+RkvEM5+kERW8XU0dORjQzNB/byvmJD+JONkTG+RxyUSQICXRRcXM\njpFDZRu6kwILf6TlUy456NexJ0aGA+VkaxEJWdK3T1KtUUY4zpTOzj8SV59m\ntAzLpzwWQ3CbwvvfbOMEcwiOrtes60A4Ph/jCqHjPManrv164rLubYu1CKph\nJS71FMdkowdKvP4foQexAwRHAayt0h4DLXk514IVezWtL5XXyKQ+OY2vkb5D\nxvpPr78e05XVisYZIccOVztwGXNtklHlxdNZQS8w77ulBeoBpVmvneQgMRCD\n4bDq+LO1IfKwvHcshJHPACwA30rMSA8zCOUPN6ErXy/7wZjs0wpwFEIrkVDG\nWTScv3MrDeFnhdKQpuU+rOjQvCjPRl9UjKfH/Ozr15MreepV75BhWyvV+a1E\ng3CWeP5dbv4Cs9DU7MNfloaDF/YxwXupX45m63T3H+Y2eJqTcYU9lnGbOwb6\nkn+0\r\n=QErE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhvvEMi2qTYO0czmdxEkT7LZECV5tdl3SkLFsMwtP20gIgaCGcO98rdNqyqw6rH4QyHkwW9DfG/pFubpJCLumi3c4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.38_1578725847000_0.3920770100803539"},"_hasShrinkwrap":false},"1.0.10-beta.39":{"name":"@flood/element-cli","version":"1.0.10-beta.39","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.39","@flood/element-core":"^1.0.10-beta.39","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"264fb80903fbc8de7d54e3eeeb65c61207ea1040","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.39","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-bndna8owwNIAcrJA265QGFQxIZdBjn8EwWhd+1F2CjE5j1s7+ASlIVtSez0Z24QR89mznHM9MkmSoSD9BhKjdA==","shasum":"a11b69f4dbbf427f003f56aabd63d17f04d308f6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.39.tgz","fileCount":40,"unpackedSize":358550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGYOxCRA9TVsSAnZWagAA4HgP/Rea9vHorw7HubuieHu8\nbBwnEzOZx7oaGKBCIEF9U5gENwsNfib3FOB8uPOjjAXV0LOriW0K18jn4zmC\npEVnSrZ098SC7aUC+0knBAroY9RpYSrQR9nTojxK6dIGk6TBB8Rz/S+2OnZT\ncFPn4nfQHzY4fhWSvIjPFhPakbSXt321RUqSICGRTAiTvx2YXDLJIQ5xRzSg\ncLIoSFIomzMmacYuAGrfc15p0wyNL1rK7jK2wvplJlQ0FYfqciNIBoqQp2d6\nOF06r4WNIwSupP6YhBa+jHTJq7+k/G693l+Gbk+pmYufzUNCmT3HCtbvNHlt\nhAYr0aH9dPGUgwE02OYkWoX9lrFsaY5ONqePhYRrzEZeq9IyUWCBtMCYzSGC\nIDA6Rm4MlTffJeVl5d7HRm2rDd04/u2DGvKy+DVeijVOIK1+rd7sKLJl5/ye\nmvngkqtCLSqs6ZX1fwx9qV8BxeRUITL+/PT/4PWOgMO4nQ72gM5MqiVVbTG4\nwp/96uG0UEBCBkyrl0Lxaz34me47wZVKXZLfq1M34nC1hEQQcpwTL1ww7XPZ\nJK+Z+fwef7xXZxLNRf+TeA4YjDnn+O44E7aP0aYIqmuceEwPXQ9v4AQoT0B0\n0nj96L45hg20se9ZRgP2Rl5MRBtGVwi4BMyXX6oA32ZXCGZLzrBXLQh8lAvm\nMabE\r\n=ETS0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHO9dN85Gr+51MaclrP7ni2hITr0HQNGFMFNgp14OATMAiEApw/TbTulDuxM9mb5fvHhhMaQDgv8OusbdoJ+7/fjuI8="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.39_1578730416997_0.6341155962102658"},"_hasShrinkwrap":false},"1.0.10-beta.40":{"name":"@flood/element-cli","version":"1.0.10-beta.40","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.40","@flood/element-core":"^1.0.10-beta.40","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"47ad0921eadd22e5a1f0421d39e3aa50c7720bf3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.40","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-5nha7POIGlImAGGZZM+ckVyBQ/RTbLvgnBS/3aydxswcCLX2kazj9BUucgOVRccW2jJMCJwmq14fZAa9iKu5bA==","shasum":"2fb01f9a38a5000824ddea584e1a95db91723531","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.40.tgz","fileCount":40,"unpackedSize":358901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHnDfCRA9TVsSAnZWagAAHB0P/RdrTZn348h74ijlLZRO\nHY0mxFeY9yd9DR4tL7IVoi7dHLZHbwOvsM2LCwuTA2z+g9yHJa69ITBvyaDw\nLj1bo+uhBZVYk6rjjLLOo46WUA23TncksniVFGUJBDMbsZ8h3KV7FaDReQk6\ni1p7H0ABVINvO6Jr73QXI9ll27x/X+zPfbABLZf2bXIhF8uAW9ttDDS5gAOf\nbgeFw/GJnFFLeUQDsk8iG8SQOLDhRrSZJPNLhI7sEerDY7uIm8fhTmNFfIJm\nMYyTp8lV/sFJ9dKE4EBU3Rem1A+nrJa7qtg9zqjpgI0XyC6MvL/ifiQS5Njy\nmJZU0dEc3jEk3ZjVW7HPhv+iJhCtO2USjoU2fzm4tavKjxDJpKYET/fYJ/mQ\nP8PMHDWPvK7EW/T3yn64x/P7tkTCiGsiwDCuLJW/syjbAtrzpB+ID09ZtAQ7\nfmSkVAtZNX8kzkRMU4P3uEqGqAAheEAVsii8U4QqZ9V0A01vqyLFSdvZY6Hl\nXEfuTfNdS6adffWje2rXf1Vy63nVOjxdDFCHHrvRKRNI6Sr9vCHviU1F/YvY\nLTPrYJ4MiZ7nT+slSF/x8UPHf7souDbN9KLFXSMp2WwRlvMZyNOfvt02w2VX\nZpBY9g6CQ9HlGfereCf2u3YblxU7DB3Wh+YV/YKYgEup/LpWGNvdLi/cwvpn\ndA0l\r\n=qNW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGHrtg1Czcn15ADVotFQCbXbK2qUZdL72O5o462bcF0AiBaxEGFSrHgcNSyTnN37/z0YqgDq+mRcErSFjn5KLL7sg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.40_1579053279129_0.4311993500802631"},"_hasShrinkwrap":false},"1.0.10-beta.41":{"name":"@flood/element-cli","version":"1.0.10-beta.41","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.41","@flood/element-core":"^1.0.10-beta.41","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"00d1c7c53c78b4290cd79029d1c11432d29b068f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.41","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-AgbFDF2UdYkuDZK/VSdgI0CADUPEnKbgeNu3N1OHvXdhVgGUkq1wNZl4a47wSwF3f2jURjM+p2C/NYvFq792dw==","shasum":"ccae75c242bbba6cddf4e0d397b8f941c0969f6d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.41.tgz","fileCount":40,"unpackedSize":358424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHnRiCRA9TVsSAnZWagAAQfIP/0qR7zKUJtjW7syXuD48\na9xWxvowjac8NS8J0/q+aR+kmdoHzq1VlhM2RDSDkp4IFD3VMSjfo/VCntbR\n1RC8gMP99trS1OoShwJKTtCUGqnX5CcyKn/ZAftxJwzqHqG4zdV8PfO1j4m0\nig/mhS3VKcAwDtnbErRoqaCxgasTdKef48KjgMURa0ooCId09T9VunOQZyxs\npAaGyvk4CNqX3FE6P3ycOKUy2uAsdJh5hlj3hWroXdiiMXgoCN5IbPSb/U0y\nXzop6ibpx3JjT9INeZt5/chEYrVWgJgw6EgT9AeCGumS3LKOIeB2pSH81Tzg\navRghMvk9+qGVk6btCBjxIRlDPldmUf1Gy9fDgvP7xZKBLr7zfW90GHb4df+\nJqGDsUMzHRRgNP/0PDxqgtx5fdc3vPNiq2MSTEoDAN93HrabCWFunpx7ebXX\ncQW28IEkQuD2T9hZUUKWSDCF7/7xvP3d1LivoG8PRviSxN/vHMbeAxYySzLE\n71KiRmZpVv5XtTrcK4R+GH4Su5d/o2lmvu/3D5IVe6+gs8Zzv83p/wfRPUma\nPHVLgHKVWZDxirXipVsF5wNpKNqpQVmdhDB4Iek1sPD2WXZGxbIWpFTk1EvL\nawtovS9jZLfRVnDFPdCzY3+f+rsiv0M0c/FxT6QzgQLlZKedCdLuzQbasc5U\nylND\r\n=VRLQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvS4h4LiS88NyethONYDWTFP/VpAtRS/P31wE7AZt2+AIhAMwhHR75x7Blw8fxMS61NVqON+OIg0NUYPmsbpPbP0HT"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.41_1579054177636_0.5056124230503602"},"_hasShrinkwrap":false},"1.0.10-beta.42":{"name":"@flood/element-cli","version":"1.0.10-beta.42","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.42","@flood/element-core":"^1.0.10-beta.42","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"8d35c77c16ca8f591d0f8511bd5c2e864a1eae9a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.42","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-Gftm1G5u6mWCn0lMUC+UKt1S9ed+rg/rjtDdEhrz0WtopC0hY1AUt1P0E4LgMVbjcSea+WD4u5iYyruMyhvwXA==","shasum":"f0c8b9a9156649cd4e3def69a49247a5483f6d1a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.42.tgz","fileCount":40,"unpackedSize":359509,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeHt5GCRA9TVsSAnZWagAAYfQP/jxaYf9IcxlbRTZnnedg\nmTgPYMyFlCRdnNQejSzr2rdVEgxBHyf9zwEJ9TpVkYL85rSjDlKh6jNr3Ta2\nfMLfJlJGYajUab3hQq2cBu3mnG5rRRJ6n/Zfao8gJwPDCloo51PRUu0BJqbd\n1itW4ji5eEtswwbS/cpT/e4/PbuIM3pyUYA7ZZ7J7dnvfTro1RV9d67yog/n\nnzJ/Kr3qeZBxMYCoWJpqJo5l4ZSijwAiY5yWVGNBJ0+Aiv26ym26tzCmsXXR\nTTlu8yQWMqjGVNLMkWlFzY3bhlqdjpVFbQqNnV9LoBmjobGkXsKEQ2Glx2RG\nh0YbgJsRRaRVQi/1L3eljU8OZeo1E9zSeTJkcIL9VKeAJIHlyeYB9grA8EWi\nkCFmb73DgiCZK4bbJuyEWJ8g9sipOGq1PGHUF8CrHmhoduNDErhanTcBzAhT\nPChFOZNPIuyt+HYb6TUMA1dJ5jglgZhUg/ImO2VzBpEhpp1R1aP8a44NbXam\n3ah9bg0ukRr/bCM+WJ/R4MlSqpexnoBVHHUH4ryMgnR2V6mTvngkbvyds7pM\ncoByv89PWIfTk2fsosTMJxPPO7Li5hA2SfZu7SjFwel3KcDgQg9NoaKwj9uD\nFBtlBN/wc0kME8in6VVGHZiG/uHdzFE+m0H6fdDfeWGnLmzNlMKIkrbQK04X\nXarP\r\n=WlWm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqf9kJs3Nv8Vqw37cmU9H8as11NCCFWD/IkQfPi+XNygIgUF40NJKVdth0rOf0krWfzCNCTcuKFLLDM/cZBcUvdY4="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.42_1579081286498_0.23410149433934313"},"_hasShrinkwrap":false},"1.0.10-beta.43":{"name":"@flood/element-cli","version":"1.0.10-beta.43","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.43","@flood/element-core":"^1.0.10-beta.43","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"fd64d4988470dad734c36c5fea8d08eb3d727965","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.43","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-4LeIVU0ulnPUxbO78gttCxitUBsHrKZi5I4HdX0vUsR3KKi/xdNZBgvcCF0LE82NHojLy7j2SAlw3oqUi2jZCQ==","shasum":"3af0189c2f1f3f6ee6d48ee3fc5e0009684f500c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.43.tgz","fileCount":40,"unpackedSize":359691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeM2bOCRA9TVsSAnZWagAARkQP/35CUHYajFSYVMzwMfd7\nysgPC1O3JXOUrNxGuaThB42eJbii6c70/lKmdIzioenRg5F/HUnDlR+0i8Ac\nmWoYdMGonm713iQnojiZLPNiyyeFlZ5vairOVQo/5wCki+MMuVdS4Ni7E0u9\nRQss6E294cBIJaDzv8yGrPedfRhcv+1w0yvP+lAu5bwJRcnDtmmUjrPJpnla\nenlTcpVpLdtmn0Jd0JuXp9XWu5YLjseATHCI8NF7dOWeP0Ll72zW3kLc67/i\nYZ5bLNYHjBTjIBwgKHozCcHnFJKI1vLGbO1/hwJ4mhvJcYczZtfXm1UUt4Ca\nYhxYGxZ28J/vijdHxnjtYZxF4nWDI/CEJqDwTMR4b464ltB9nZ/9O/mrr0Ps\nVLEPtc9XQ3OA6PIAdT32lTVE7Ag4PHz9MnWN3Bcq0OntTbOjUsPnhWD2BJ/2\n2wHPOsHItY8NTdRwzJ2mpzxjeQ5aQ8mlI2lPAHW0gC1BDm9fRHRUdbyqICWI\nQ2PB7AP9FhoPLPHttp5jW5PjSocgDo5sQ9jhTEP9NHdmMaWhStnY8x8wbZzR\nPwp4Nd/sI9dPXHlxdpRTNeUdbAa7ibg9lQT7W5HoFTvQrRGHIaExEVpluzZx\nWeDce21eO9erTpds5XE/X42m5Jz/iROEEaNWVyKKQGnyolS8zBVS/LWsYK7O\nCtXB\r\n=Rvw8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGPl8qr0S3pkEiGe4iHHryKsR1ks9siNwstT5KFN8nXQIhAP6wFv2tiepnq+/uUCqPxGhVGezh1Fb0xxwBL5YfIrpx"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.43_1580426958055_0.8752747036940043"},"_hasShrinkwrap":false},"1.0.10-beta.44":{"name":"@flood/element-cli","version":"1.0.10-beta.44","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.44","@flood/element-core":"^1.0.10-beta.44","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"62137bc5f0236ad391718f8fd0fed1b83df0a69e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.44","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-RBWzukicrRvYP6SsdQY+rVffEjybkgQmOo8OLZeL5uzOKid0SyId6Z8Qn3DuAZSj08+x8P6M1lqs6TzZF+ZUWw==","shasum":"0e43a1068333aab6430d392a1215c5e2a1105aee","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.44.tgz","fileCount":40,"unpackedSize":359868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOfgrCRA9TVsSAnZWagAAkm0P/ArjXedOIWlj7qYMmy6t\n3aFapeXUfNARplBiSGfrqWkpAxIelbZQDHzXT+t1U7zcA7GYdq1kROwicVpV\n/TQrMcsQhmwf8sXO6eslsku/9QUqpNthiHr6uZbqdQAkw9mE3yhg6t+7dRob\n16fxByMRWQwEwCSFXD0f5KhN56yVVbKuQzDqVZBTwK37Bi7aprjjj7t9KTmu\nKGq4Mc2sDfQnmgPxKoFUhg7yKzDNTnSpyZ/CQwAJaLqJdb0ylGHNMweRny1P\nF/VPrO++v3TFrWbzYDb42Xyuwvq3NOPN9NBnrzOsV5L3KPkNtzZvgQZkUtYz\n+R3Eg6+Cjmsvy6m6BNmXKUDSfJteVanggfxIayIvFobx6Qp56lCR4aWK665D\npT9uD5/W5dkBaC7JrL1te6jsCwBkus2k2o+7ehim/K3yHr5coXYjndMvfrO0\noP9ITtvZ56aWY/azMq9YpTuw+I9xZr1svLyzktpz1gT0+1RGSS0jv0BTnAW6\nMcgOu/mZBvFBDip7/XkfShYhLF0oG6QwKuyJP9+u1X1mZH79nhDKXlKe7Gon\nIfuAmCiEVsRKxTa2M/02LDa374Jk8EMIS72aGT80ZGUigdbWFrR4EuAyswDC\nktAbI6zhC9s9ReXD8QJ27CFWBjaFEUxh8aNZsuOXMpqZFsD39aSDzhTN6UYz\nUMch\r\n=SSSt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv4MkUWzujeAdvzegRXy15EzpM6E2Iz/DMbEz/ANcojwIgEilqONzEgZM/51yzWGS1pHwOFDBHcX6+e+svBfQFHDE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.44_1580857387464_0.6342738590749177"},"_hasShrinkwrap":false},"1.0.10-beta.45":{"name":"@flood/element-cli","version":"1.0.10-beta.45","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.45","@flood/element-core":"^1.0.10-beta.45","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"43595139dbe942f9ca48e93a5b3e815857c2c6b6","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.45","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (linux)","dist":{"integrity":"sha512-K0cuzemDpSdpm1z9ik8yX0i7qbYbwQAqiJlZSizrcu93EYqFoMLo40M5WKUR0t/nc7aH+/BXKRL55EqdDGrQSw==","shasum":"7fc89a133f939bad450b4b391b841ea76db090e7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.45.tgz","fileCount":40,"unpackedSize":360045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOfjsCRA9TVsSAnZWagAAwNQP/1+N4N5jkIp1f9ZXoxi9\nqSg2NCLtv3J+po/nP5bYmipbqrRGoPKO7zLyYPJlpt9RWtpNbott2GrMbmy9\n9JewgbGXbInuvsGgTUgucNBizns978wqDd/GcniRQxW0D0stlCZFFRWCxlDf\nEG6yk6EAVj+4Jg27yWT9hJ7UsWbE7ovlI+NdgP/Cqt3eoaqLF9KCd9eH8CdY\nFHdv7B8xx1PFFs81401AcWcT6Va0w14EheqD4Sj18NAmcEmt1lORm0Qrj6ay\nlB0nH40o9S7kJ2R+LsOMv7dn0WEtAzFgs4+Qz851M1DV6Q1HPFMh9wr+FO1I\nP6irP0ulCZS4VcV08m6tt9fMMAwssBjAJ/mB5CX3BMStJS8HYa8lkqjk0NMH\nZVdNsZDfzlk7vSP7m6DsnQ+77AkH4YnTH2a8Lw2/ACNa+Mr963SE7eXysCV3\n9aiOceixxAZmEsUG1DDfRIgQuml1I+YhwVzC0GuLdyVr3BgOLaKcj+aAbINd\nX/5S7Z1PgWOJ4+UP8PAX/HazQZSk+pZYBL8zmbsRgtsivHytaPDSdPc9uQqt\n3wm/7qHfDtrpDw2cgXKUVE8kZuQknEti2W+EFLPr3bEhtUTdYiUZ7SwJWPSV\nuGvei5TuV2lSpR3Kmg7jt15/HSQlTUgZ3kROCioG1iVDLkkPSlM1SAWKR6iD\nJUsr\r\n=8f2f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+d5Xrvh8jC9gI4IGhlcb87vB1nZQdyp2dsq/QRhRiCAiEA1Bpg+sPfNKD1HoQv6drQRCtr8vZNfGARUsY0c7ElGnc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.45_1580857580388_0.7851706310818232"},"_hasShrinkwrap":false},"1.0.10-alpha.3":{"name":"@flood/element-cli","version":"1.0.10-alpha.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.3+e31a6ef","@flood/element-core":"^1.0.10-alpha.3+e31a6ef","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"e31a6ef170215a96e84a67d5315668049293dfea","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.3","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-SjjMBnmAOS4XmvYaDL88k7O5gNB4Z2dOshpCVwPnr9zsDchHcKzp91caE5KFxfzuCfGKfaVgmZ8C3kqJF1dXaQ==","shasum":"fb8deab60af3241ef44ffef65c17cb1cdbbd05de","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.3.tgz","fileCount":44,"unpackedSize":393689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXIUyCRA9TVsSAnZWagAArEMP/2Ia2T85JI+WXRv/LzDe\nCzjDZsjexCFLBxd3LRHa05uSEnLcgNNvnwXOX3HQy0HJUQJPVRHKUQt64B9z\nePjxIjfgMHKO2TmVe4RYIbYOnvE3lVjtp1r7Rjt6eOWrI4DKAvha5vPUYcDf\nH+SOeAgSdyzXD/jAdMXEacliwhrm/vssWy9EvhukRcE96VusjBtPVI21VqgT\nZgHx8InDzK4XYK4MfxQPGIMMLcj7/ZMUEpf4LVkAlNao2DLnczwmzGSD6b0q\n4fg80rlyxdEWTfEUnGOFdswrjhk5wcvLbf/zDpbnlGhQAvkI9iw1biPKYNQg\nHV82CKhyQm4S6SjoHgSIxdeHUiklVT1I1E4tLRWa3vre8sdFGJLZmqg6OVlP\npx8PIPKBs4DEbYcdn3Kama900NhhE6ghaBLDmgzI5ePWLo9I+6b2Cp9FtrwL\nyMVJvT77w+YKEkP4b0kRZhmcckOvnlaC0rhVnNsY0VcG/3Oj1NuzIYYbSXQr\ngsnQ0b5MAQqLv8Xrjr+sLdl7NZJEjuYFWtOTQep2xU64K6RGa6nhnUwEKGDE\nMKFBDW2uhNFVRAkW0WDmplwXl5HpU4PQ4UcnK1V2kEezHflxysG722QIv3s8\npYjRrPHI96Q0n867BwaKiWMaNXgOpILQ59F4MyhgkEG3YtRnMy/xMpFavYDD\nAhOe\r\n=52dL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHH6dAMA/GdVqsiPrcakBmLkmzFgutriY8zOz8A5MPypAiEAiAjiuQFYkaB/WJFf7ccFOtDBJzAx3fp8XdKYg43VZAs="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.3_1583121713926_0.6015743670702844"},"_hasShrinkwrap":false},"1.0.10-alpha.4":{"name":"@flood/element-cli","version":"1.0.10-alpha.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.4+5cd1be4","@flood/element-core":"^1.0.10-alpha.4+5cd1be4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"5cd1be43bddc3fba7c4ced4b27ff60af02a09685","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.4","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-5gY9tVFMvBma2Ku3oJMgMJUgeI+fmqonG2b+dbk9c1y2EVfZq72gX+6cCJ5uOcalV3oKaprbf//djY2AtigtWQ==","shasum":"0e68bfee34c67445b590ffc6b8abf708adafa86a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.4.tgz","fileCount":44,"unpackedSize":393689,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXIauCRA9TVsSAnZWagAAgN4P/1JMiy5t4tGuTJoaM+Du\nhLPGnrbCMCvmD1gtCRBCiAcg8bT+PNnLlHnNT7VnJa9SLy6YkreovXJ8Cl8a\nt4l0ymMOh3izH7I3xHO7Pslw3tqytr6Py79WKpOyyIEv3h4zu/vWUX61q26M\nXRnf/kvB0bbXMMAZcOFNH6WBEZfVr/vYC7m8u3xHLNUgBc00Z5CcGd6+QTS0\ntU/CrR9SWxbZyqKezsB6qfSiOwtpKYh5SCmnf3DYwuNi74h3UwUdrSP6g0De\nxiRjFDhscBWPUhOfWgReEu6KTdjEZOG/J2AZDrO3YMyHLXN6gwJJwOVC0Tc0\nZB90l1CoFnlL9GNVdKYfZmrqqQDbGxLqqsXeNBqsGHFoN4X2BpMRBWejBRRd\nomLqixwSKqX5d+XV99766U+2caqeZUPKUpZfRehoqbikdmIfTc15nNEBThmK\nwxbVTQSSq+E34ag8rZFf/I+wKPhxdVtB5sloUoS+s0cbYITiX4BmSziHRJZj\n9QMgZRuXq5D5YkMIwbgo4VEiNnXZ1x/+3jTE28RWgzYerrN9EQFzDvY0/O2a\nP0qHDO7tjSrxhnYYMl/iom+eZ4fjSnBVTQY8nQ4nXIAA4XV8zb6rRliNiDOR\nKmasVvBiysGhSKnxVHTebxkuDr8AZuZ0KrWOxn2Xb9cDFTMlfeU7G6sgNfba\n7LLf\r\n=6sVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHOGqYQ8y6x3LXYD4TOD/Saw0c5zrGbyaqmRZan1NR5AiEApD82+7RC9C+3+RVis+KMWGSFjl45kdN27+zZs9gz3JI="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.4_1583122093947_0.6900217725368323"},"_hasShrinkwrap":false},"1.0.10-beta.46":{"name":"@flood/element-cli","version":"1.0.10-beta.46","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.46","@flood/element-core":"^1.0.10-beta.46","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"9976625aa8a4695055bcc0b6e97914ec11757b05","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.46","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-0IF/9pQu5So+xYOyNTkEizKDnhs4e9u/cJkNQmvS68ScF/+vMeQO+Vmk8kmICiBzRnvHlpm5WiE8Qy1JrS7JJw==","shasum":"eafb853a43f12c24333c4c4b6f4e4cafcf926cbf","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.46.tgz","fileCount":44,"unpackedSize":393928,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXIe9CRA9TVsSAnZWagAAITcP/jymo4YX7Siy65XqKZCL\ng6sO3wzjneqYTSgByoAu06x4vNxlcu9ApxzRt0A9QzO20yBw68mqrIseKLUE\n03FYBjaNJtJ+6nskcfKJQLq+ngl+CVVI9YtWJXdscgzzCzNvu6vt/wZsDAQk\n3joFvwvYiC5VHJ3IzHSqh83x5oUW6UKsGa/BUYfL0SNcBSGUgf3pAdlqQEGJ\ni6hvvo34H61qvL5TD/VJlQ7w/zafX2d3nGb6MpKJ46avS0cyME/qRFrfrM5T\n2z08krCfJbEWL1m8uGrD5uXamSGqLvN4w3sCtW5jQJ6wabjdMDSGGoFJLmZ4\nqJedSMgKxyxdVvcCUwx5lSkvgUmO7ujbfoYqeuUFhbc53swmOJEASoH6p1u5\n5XhOUdQGH5mGYG91xNEPigCEbCv+LvxCnggBrYvKFGsaasVrXPXFlKMS6i2a\n+GNnjqUX5w8/HsZHka+jQraArz+Ia9phWV+tmuSBWEt2iLYETCh1H59Zcjre\nCF1O+f4GkUJzq7xAeazrNi56XOIXvI41xwXgockMvoyJ1ZZ/YHebFRENCb2A\nIL9IFdOe8G0kE0sxn0zBSiPNrZcGz6B1+q+Yxl2zmd/XIDB1LqKNwrSipqSM\nT8Z4m01SKd0MpeO/CBoD/awC/ZegLdrAa9+8E1C+aq4uJUst4DKufY8xJOxf\n2Be4\r\n=aBEE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgiYQ6RMCrfK7r2R4wBpqPq86eEQUqg3PDNJDjUCc1oAiEAw41vNBw/hrYpNRechJB2uR6xTvnxxE3Il9YLMzodCTA="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.46_1583122364781_0.5848788751658098"},"_hasShrinkwrap":false},"1.0.10-alpha.1":{"name":"@flood/element-cli","version":"1.0.10-alpha.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.1+2643eb4","@flood/element-core":"^1.0.10-alpha.1+2643eb4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"2643eb4a0e663056a3cb3ee7f074f7b09f7fd439","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.1","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-EvX5hwpJorbdS5mVHelzn4At8fMcy7r+GDYf7lSx5UREY4wqt7R13rwgWAowJMfIUTp6filuaKKosrB8wcZG5A==","shasum":"11f1348a9bdcc202b902160c4ddbc7a555b2ccb2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.1.tgz","fileCount":44,"unpackedSize":393952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXIvwCRA9TVsSAnZWagAAyAwP/0JSpVl2lfnxYeSv6XRl\nDs6ci/tramRXwaAZ9XF3Vxu3BMZcFWrc7EQhyKt+zFja6tAZ8Xg+MCH2Xn2x\nZUmiEXih4zUodvk4f8zTVRVwGr7ohQtZrpDFnpoCdg0Uj94iBQ+8oNsrBav/\nXJKgdpkqNufmPcULwTpNg00othEU260afPYhRjCboeUxpxBVnFkeyjoibjkI\nIx2MdKbHVSaNqwGhM8MmiDGvOUJekZzl7GpiC+qGRONs2HMiOg4GLecvB9NV\nKHaxhYQgdObW8LJG8iXVwzHBri8dPmNz3DYx4QPs3NyLpjrXwT9svoze2NC5\nMCWeFf8i3oUl/NL6FjVaIqO/wLWk6Gt61npdmQf27YkbhmYozVn08oq0uo33\nkPY5LsANLFDkc0cPeafk4BB1KHe68mnw9UKJjgaPnDyhtSIp3fYqfdX6JNEX\ngUOgyngoybSrJ656Ko0Z1fTm7PT+ws0uN44Bjm2zJHzqT2JtPMQzbHlqpviQ\n3HxiWl9qykr/hqXU2tAPvuH4edY7mzNqNL45ibmqzyLmu9G6mnRVprOS0oyj\nUBL7E5SlQLRWo8PBeNeRerbBrEsZDkldoGJp3D24+uTcqhENZboQtKrpzpVk\n7ZLd5FrHbu0JQACFWyawxJKyWU7YufNVf8Dn+jOQ0Kp5ITYbBrCMTQ2VYFKF\n1ZrF\r\n=Z7Vn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiGMyiWTv/4c2/nkY4gFs9kIKT9CqIBY8/pj1dTSZ87AiB9o6GrUaveFqPiwbp8M8dD5Vp2dQDwIuQD2C7zCwKd1w=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.1_1583123439910_0.43588629060647643"},"_hasShrinkwrap":false},"1.0.10-alpha.2":{"name":"@flood/element-cli","version":"1.0.10-alpha.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.2+09460c3c","@flood/element-core":"^1.0.10-alpha.2+09460c3c","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"09460c3ce50dbd52eb0b836c856c98aaaa2cd39c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-U8C9S6ck9xVUMZQ/woo9vbqLb5Y3P1TaJ8HDXh0TjGh15bJPlXHx7NgiYKZVaPxek3FhnGAhhgNfID4uctN4CQ==","shasum":"6b0626195fd67e2d5e967b83dcca4d19216c4c4e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.2.tgz","fileCount":44,"unpackedSize":394015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXJTWCRA9TVsSAnZWagAAf1EP/RGOCoRYuBMNV1GTEQo+\nHzApngJoJ80SUWm9Wr8U/EzRKPvPN2UeTJej1edfI33p81d+b9Y0IMNxhHl0\ngfPBynsJrcCOYJ6iVYqQLiSefXNxjShyU3DXe2dyIXAMDgV7mOY8fEo5RbCT\nVVVSZLe09Z7ISDEid8712AIZgt4L289lTidHCdfp1315+52seFKPLeG9IpZP\nnW3tFpulooJ3YFulh6b+aDzZCWpZyRK71LDOInGiqtrHCMRWya+ZH179X2mW\njyZNN/+sQXUq94TFbqouNCtdRINuGbGx5Q2KHA3zab3kq8k6PgjdxMPc4JVy\n4nk75wgh3YuBiQkUM4UditjN2qmlVBINAigd4x49xZRbeEzIlM/6+igDrAJf\n2B9MpKChvFLe2biTZ8q9TX5jp3L1Ut2RibEYGUiv/3X9+lH7HaAZ/LNGmUW4\nNvihCb+rPaX5qIamqr6f5/1Ol18+pZqQBrEB0R1HYYUuhl4IPHbFnCOt8Pqw\n26HIZLFEtPER/Iz0qOifWLWYWRtVdACxFhRL4tBvgJSTP3bNWZE4ZmySDNb4\n8y9VsHkGFpKQQDUIhywjpToDGtdKzLoqGchzLI05HIdVeLYKX3UAjMoyrFHX\nkEKD00aY+7dvqzS/9OBRrJ4MUwoty1y435qkjtiCCGPFGYYTG5YCj0gDrT/c\nET7B\r\n=iGUY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8LlXiwyj4s27Eyszdz8neaNpjBaVD/nBAuMy6z/sE3wIhAMQwFbC4nzZNCrE0PdFQooewe3ApXKYlw1W9QYsdtQUk"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.2_1583125717503_0.5590901146481806"},"_hasShrinkwrap":false},"1.0.10-beta.47":{"name":"@flood/element-cli","version":"1.0.10-beta.47","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.47","@flood/element-core":"^1.0.10-beta.47","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"d0838e537f4206d6b7a391e328cfb117d11ae366","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.47","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Go6YzmUiIoQTLlFFZR9NGjsclbVrK9uIwW2RwnWdBMmZHhf1smYfi9az6t/441nEGc/cu75+vfQqNwjbGXYZJA==","shasum":"73ca1aac7ce7457953dde12e9b3126ddd54e969b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.47.tgz","fileCount":44,"unpackedSize":394165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXJaFCRA9TVsSAnZWagAAaSUP/jS9lcDJJfmh0bn2FYsx\nm9EeYH8R7+vtCP4TAsy60vnKz8Onayj9QcdwWvRCN+PgBzYlTch5Sn7mAdPw\nfnt/Tu9ODqx7ptO3iXXmo5GW5D9HgZge1pT+Mu1/UKnLacja6s5EjYM3I6MN\nCeo8NSnTVfufXHwjtjo7zJ+rnFoolillBJCVNrLjnG9mB/5y5XOIN9bvhfuj\nZeaFpR0ZEzz8M+goMWo4dusnXlyEcIyglRKne5oi6L94M/+/6MPPI/t0T8Vs\nlMKeNrnYFEN2ASfsCRU0oXrgxjNkd6XWExA9DL4AiPIYCLxlgd0OxcmfQBvU\nqiVsg6lYgTkEla8bA117JUYzm1ndgmFxT0Jo5LjoEB8Y74tgdWzlZO1jMp4n\n4QulX49aJxMbp/VmllJ7CcQE2Wxc/91HRpbuWpifeMn+TR8eiz+dHnG/o9J1\nxZveS2UU1edNZHRSb/IBy1GP6MbZVDsd1uGJAe3b7FZpW6qYbOQ1MZPQSMxn\npGEB3f65FmRclAezY1a4lQ7wqFD0ZJUocyBFlbdVWqvdAQJInA679vpqG+uK\nC0K2eEOoZzf6MTrHcPXYbvO90dmQrX2F4v5S0yW0bmKhVXUo0vpn+jVBGfP+\nMKfs+cD1FIlHKSvmqYKYA1LFUx+gzRN/qHrou/5i8oZPqzjUemVsP6OHsoPw\nO729\r\n=/8qS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3wIYtodZXIVnR3Bv3fH55CnI8td5YTc9cFVQMJiV8RAiEAhyrEu1mXevhyN2GjnlZJWiaXRke15yvaUrMW+HPGTPY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.47_1583126148517_0.8032246524697773"},"_hasShrinkwrap":false},"1.0.10-alpha.6":{"name":"@flood/element-cli","version":"1.0.10-alpha.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.6+e306f449","@flood/element-core":"^1.0.10-alpha.6+e306f449","@flood/element-flood-runner":"^1.0.10-alpha.6+e306f449","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"e306f4497807607d6acda7bf7c3b13032d0f31ff","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.6","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-/C+X+fPSD0NZ9hlx+SxphN2dMYJh1gSrBasXjPx6mCWQb4NWZ0y2oN16+mTh3IrLlmRDyQIqSutaC2wT8rLZEQ==","shasum":"31b920704e0759977c5a0fd547404948b3b468af","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.6.tgz","fileCount":44,"unpackedSize":368082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXJ2CCRA9TVsSAnZWagAA8lkP/ikhPgJ7nzG4jX4Z/5/C\nheu309O6LIf07bb1M4C/zZvMd4t/1W2uIOCI0OMA3vAumZlfUx1jcboQzAf0\nCa0j9IeZDzR8X+MKhpgzFlWaPK8VCG7BLErDoz5pwkfuuFoBwb1luqzG3qA+\n0WykhgdUEDp4HzmZGGd8+A6sEN9b82xMINHcEdtDKkcgjUZN2EVWonmD4aso\nMnYaAVJFE39l2BmOL5amCNgBQNJW4SXOwaYBNr6TWXEOK5ENoLTCWWH1JNsc\naD1p3dkp76HKdQWlVH11rCHfb8U/zA0pzrE/cqNxlcy5/ydlSVBP8/zBM2pc\ndK1yBbE+Ij9he1YNMT5qho2f8Ifgw2/KoPLCqWmwV7/caErxo/x8Ee31iiji\nU2rnS6SCaF1ufk3nQzHzRXwhxkBH7iW3gxtDRUPKz8mlPqGmjvdkrrtFchv7\nss/6ZozZdfQxpaltNadlAax6N76gVT5tJo9vf7DveKXHPKCEbkQjerKyCJZN\npTigfESLu/r39+VRsYtOtBVKOA7icNX7elTIxHrzX189FgdPTXdg8Nw/Dkh6\nHf31E5N7XjfTczoSosrL2R1NXsUUZPc3SpG3UBZ8oRs3BDZhWFIdxjs0o0mJ\nUdgbhddAqYJybd8czhjxGMnkbpqhAdlT4jMKN7XZryAB9S1XmoKSJDBzN2gK\ngXW6\r\n=VhVu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHm2BgA0EiruqpBU18EK497Fj1/5rm5OQfaainN48rmtAiAIsoIanTnjchCsnT1rqOsPbtIH06OrpMFzxHiSYEIToQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.6_1583127937721_0.697985290324713"},"_hasShrinkwrap":false},"1.0.10-alpha.7":{"name":"@flood/element-cli","version":"1.0.10-alpha.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.7+fb5f0d34","@flood/element-core":"^1.0.10-alpha.7+fb5f0d34","@flood/element-flood-runner":"^1.0.10-alpha.7+fb5f0d34","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"fb5f0d3441e7a77250bc679bcbc3cfa0426c2fab","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.7","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-hX4f8ZH6Nn8q1/i2TxZ+rXbaXp3hCe+EmH7WNvg6gWKaiyLLHgYNGoyc0P5VRXOQyVoLhl255NMa8KrHgf7WNQ==","shasum":"be414de0914ab59f43e84a9aa2303650b8761a98","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.7.tgz","fileCount":44,"unpackedSize":368259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXJ2sCRA9TVsSAnZWagAA27MQAKQ+PZLE489dFkFGl+MS\nAlrgyI7V9ySlcrjfm/6l75CxY4Sme+zvmtvej8t41gOotSjruJ/UwPiZGg/y\nTHOHQFyDmATz7k3ffAPNzAfYD9xRCFvGldMhDsujRHzjdi53le53F+UWdqdo\nbGCf5V8BmuPC0oI4YqCaBDcmPEqB1d+L670GGDUJLPwz4RGy4WCj/A02SPVB\niK2IKsHuz/gs7SlhqkoG7HTbNJJf2vY+csWGWu0bT38fj20JZEtJBlvcfkHT\npx6g9DQ/mZtEzF0d9uyjPhXb1STfEF8YSKr0ytVoSRpuAW/V75nnK2Yy9Rfj\n6fiXUHZpDfjdTaJCrLf0p8+Ckj/9Y5I9WwL9TaHVCbHwgGwR9Wom2F88xQwN\nLthtgiyz7gYT25iukYJ2dpTuF2IZAPKgFOf7zIbrIVRJmOkrrn8nMNiPTfLG\nyKFo+UriuKxJ5YaD12Fo1o4pL3xGOuGl5GF2CXxZTLU3shc9m5+shOhHb6k7\nlc4zwdnkm6+GLw/nA4u0NDu0Gd0/aP5Tbe84SZVPdxVENgb+xD2UPnmWKKJP\nNB8gYpKsHFY3DRdQcGPjOvEd4jfE8510e0cBF9umWRV/7S9qUGHi6tDvlFmB\nhFmgsiIrByxWA/x9DQzn49QOiI5VYfI8Fi2dq6pjIwJ7n9CKHhXbhScmbKis\nJBHV\r\n=eHZf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxWCSjXZGeZJrLhbgtbe1rMwdQcWGp0IRiy0TW6lpG9AiEAzEWRw+TbLr2HZ2CXaFwfS8CzSqnEFFeBO1aDbSStpaA="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.7_1583127980120_0.1910456558978324"},"_hasShrinkwrap":false},"1.0.10-beta.48":{"name":"@flood/element-cli","version":"1.0.10-beta.48","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.48","@flood/element-core":"^1.0.10-beta.48","@flood/element-flood-runner":"^1.0.10-beta.48","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"c38dd1a91ad8b2c2266ae6bd7ee9d5156371902e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.48","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-CrQjBwILVkGbUJmVlRqigJDfJyfR/YyP3K51SO07Xm6D9po632qKNPGhOhyFjNyQwbeBr92dgYlgOxl3rsn/+Q==","shasum":"566bc48d0ae66579b3101e4a9623825e6faf176f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.48.tgz","fileCount":44,"unpackedSize":368610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXJ5yCRA9TVsSAnZWagAA1MwP/16h/N9r2NYwP9svPHq4\nsqmKf0SkqYtMBLxNPJ3StUas+4/hncdsiiiX+VrQJ5/IWnFeOzbwyyEu4hnK\niSYToAmjh3+vOYS0md81q38Nc9HGRuvqX5n9vR1Mwg+j2i0Csrdy6MWDF/Fr\nNkbZM3T5GV1EJklEdftwPLKeFFmtPRR+otBVYMHQQ+ZRQONRLgqPyG2yTbo6\nKDiKwW/RcIc1+V0AM+A0nsZKzEbsAnI8XU9rzIt7tQwrT6mJH9DgIgxmltF4\nPuwUTuQKzvMcNYktey7wvpc+QKhH3TsFxOQn45WMgoJQa2sCJYt2TZInJSfo\n7/sxmhNmc8h02onKRW5O1fM41Bv+P0ssQ6uwamkeM/3CvShUjmdF52E/w8t4\nlOcxXK4r7B75dxc6L4Fw9SOP7PPzJf005KhnmNgm28RSkX2jiBmxGBanfvMR\nsEwu3HrHMsPQIwdy3DsS0UKcvnAHDekf61PybSMIARCaNxFRBO4NNF53W3H7\nqufqqZt8Ntv76enHs/EZfL7cN9oyFbR2Kwv/Wwro0EqEFlr6DKxjkXoVFvkk\nyBWwiv+5QcDTfRsEITdUvlnGnDeaDqVUlArSeC0UveLLAz95eDP/LQQjvMKq\nxbv8AaVXzROOaJs02eK3fLCiPMoRGDJDQEdw+lQdVmwRlYCqd+QNUUhDdNTD\naDe5\r\n=CDXA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5peuGkkQdnds5JJ9Mw/0YJfUEN20kfAXXT6UujPl06wIgfr5aQRTu26sLgrQFbskeipb8fzLx/A+9eo76mhCD9Pc="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.48_1583128178187_0.6693241351758805"},"_hasShrinkwrap":false},"1.0.10-alpha.9":{"name":"@flood/element-cli","version":"1.0.10-alpha.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.9+54b35b18","@flood/element-core":"^1.0.10-alpha.9+54b35b18","@flood/element-flood-runner":"^1.0.10-alpha.9+54b35b18","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"54b35b18771964ab0220e743233c23f86adfa3f5","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.9","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-ltyman//EH9yygOxrlOOk4VXFMFkzVcQGUqSIKXFV17cKgT2oBSkV/a4Dni6ItzDnD1s+rinVquxbhfD6OfGZA==","shasum":"0da4272b017f802f01196b94d1bd2acf4d520a63","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.9.tgz","fileCount":44,"unpackedSize":368646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXKIQCRA9TVsSAnZWagAAFcIP/iXXTPWt7mZpWCy7wWxD\nPraSt4gpy699TWwdOlJcOEM0+pJ18rYYsTwUo74y2NqI0EhC15Qa2BPAuYL5\nFtsxXkvpDiDIlF6w709Y9sEZf2BSF1FFySFSRkMgdvF0qvmOtNiLjrIkm2Le\nvxGACzpGZCNYQIu8AXKBEToGnlKo1U0ejAJCt2gEvVtLyOCSsOrVPYJTPs4l\nXx61PCF9jtf+m9pbgr2LuuLMAt4uBA3lT5sz7FnzmPA2TY6qY9iPh0MrrHuJ\n+UiGD//reggpNYfjwcSj8Xayta1n6t+UwCmLYqOvBRXQndmB/dA3GfY3LdN2\nNAUi1ifwGDD8zmbI4J1HX1rrx/f4AyedsOhb2NNCsgBdZSb3I89JxoOCa5+2\nY2HgNX5SNeiofQwLwSdNHCZ1L6uDR9eu52XeAD8B2Fnie/Uahe++zhtB6PeD\nJA11/mbTxvcYaY+HQPZQaH52JWE/sZo+q1N4MME0E/UkpbJjmNy//roLhm/J\nnSvt2D+M9kpSWqAWvv8PQjQNlZGw3FAOTCkzfW0KkqaIQee0ediA3VnTK3rS\nYAofRVh1lZolAYA4Wsn0st8Mdh/NeR26jfZwgnIY4t7eyIewy2DIJMues46T\nYrnHp0SVWZFFzQnpBxcw5Ci0vPWgJsYmIweKuyAqUPQXwUWfRwXU1cDsOuC7\nJaRY\r\n=4laS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuS1fXQZXsm3/aixxv8865kpkpfdUmruoWCp5DqgFohgIgF3JoR2LvW49Iy30ePM1ni59Y1iAyA0hFn1Ew2/N/M6A="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.9_1583129103665_0.5538594399201817"},"_hasShrinkwrap":false},"1.0.10-beta.49":{"name":"@flood/element-cli","version":"1.0.10-beta.49","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","xbuild":"yarn ncc build -e @flood/element -e @flood/element-core -e @flood/element-compiler -e @flood/element-api -e yargs -e yeoman-generator -e yeoman-environment -e typescript -o dist ./bin/element.ts","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.49","@flood/element-core":"^1.0.10-beta.49","@flood/element-flood-runner":"^1.0.10-beta.49","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^11.0.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^11.0.0","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"60c1489f678d2bf6b657c2004cc094e78199c9fd","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.49","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-X7EeBOMLfUFQY7fOANcR3aQ+7bns+nmFsu6We6WneVL+iV2NTyRs9dVM8vJncOP3zJqz0taf2JLsBHffchHYVw==","shasum":"07141b8152dd70562fb1620a009b988ae3d078ff","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.49.tgz","fileCount":44,"unpackedSize":368787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXKNGCRA9TVsSAnZWagAAd7oP/2zAMxf0yeodvO6u4m+F\nrf6QDTiZ6BIeMG8bXjkQMpVJVi6frs0RR5RACmarlhzUQ+HPyns5f7QHVOQw\nmO0uy6Km8ldIZWFUj67R2TCCEoFzeZf+qUoSZ1Y8iBZ+OpPwFQeVkG9ZpBaW\nxZwcf94ZenjrNxeHF/G2hXVkzkKYlAasVkn2RwowDPMMUo2J+DuVbhyv2pYC\n1z04P0K++3zyFsv0wDkhTSFZ5SHcsfsL8dk3nwNbxUoMg3hbTTX1+yzaKYPg\nS1BQFCgG6V2A74dcX8DDnNf71ChD/2TDoVjt4L232MxLYs4rcgTW0FSP5fuU\nrs+VOALlz1rTx4aOY/CGPpNzgPIDJHiz2D0Z2nmj9QB4Er0yGfBVr33zRCT6\nRaAxc8sYbwGQWeje8e9lp/NP3ap0onTcWklGqRadNmbvKyGWPEmns9M1ZlKO\nzQSxCeBxZMIgOkLvnOVJbHqZ9CG8+YVO/O+BR8BG7thM8bjInndxWlnudB78\nQd2LG+qN2MMu1dwxmiIhxh0/bWBSv3hunzUMQBAl1yA3B2hpwE5s0KRnUeZ5\nnAjI+EBexpIEAUcqkxQRfyY2Vlr8X5aFaNpvPOvPDsOBLm8h2PV5t5q+7N17\nptppMgUFw/npHWMKzMCg56WvXtuKIYjLkAi36us+y2/z7173G/m1BaAWt47j\nmslU\r\n=bgB0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBxYd7IivIS0+nhQegxB2nOZwyENJDEAcEBs54Iox0eAiAK7e6PEKN9gZSsQWvbY5v+LLmUhwBMbeEFfJawfJbbqw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.49_1583129414166_0.9285907490499243"},"_hasShrinkwrap":false},"1.0.10-beta.50":{"name":"@flood/element-cli","version":"1.0.10-beta.50","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.50","@flood/element-api":"^1.0.10-beta.50","@flood/element-core":"^1.0.10-beta.50","@flood/element-flood-runner":"^1.0.10-beta.50","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"474980d133f3a2e4c5c844845f92a93bd853eb37","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.50","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-RwEBIiTjiUYlDAnCpYMPJbfNe+uvtPhCLTVKpXHGiTAUomwzVGdXp3yN7HkCrXpYlq48/keNKioWiOe0wAXF3Q==","shasum":"c7e7a8cae6e99029472554b24f2274712f6e9b4f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.50.tgz","fileCount":44,"unpackedSize":368810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXKlQCRA9TVsSAnZWagAAwkUP/jeouTyjreVxvuTNBMyN\nh0uHX0GatQJQziIWWN6lhcIWi/nE+ponvDr79g0/Yd+wN2Wzzrq+2ZQlk8Vl\n+CPuTTYzIM63X2zcH2fgEsQLsltGBk7/CsL/7dMhiO6BClJuNdbHdOivCHs7\n/fGZMi7joebbx2pJ1JitPyX9fhOzESWmiZ7ZoZh42bSIF/V7mk+ItvQ448vX\n7lJzw5nVkp9xU4tLlORpe9Fax9dcUnK6y2ohOXRttSl1Aj5b9wRMiga9XvXG\nk5/vsOULX/SJwioiTMO1DrhIctAY1KfZ3ijlK4A/84AUd4625efFakE3/AhR\nikeWifyabvNrHEQkaZKNigmx7aWb3HbYHwhLt7oncnoHOSdqg0ipDsdQC03v\nwx8d4R2oYR20JowkYbTlIzwpYDY5/XsztGPjleeKYBbh5JUe5BTI6A6jMhpw\nzTE4trzadnzWCApvupA9Ej26Th8g0XtbasESMBMn5U77/qXm0pur7f2by6AW\nbMaW/opbxUbuex4FnsPMNa4WTGhHqPUTKWieht3+rC2Ki7DvSJbjo+V+Jixf\nffJltxsRc2uRVD4TGfrHiU9+A84MqLFCvylAWadL+OAFtpWusKSqAZ1WTqhb\n1PYXDk4WA9joWehJ9/6smYC7svKIRK7zXwYmtBVxonpOAU5DGJD/eXQXSQMb\n+w0M\r\n=nC3f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1NwymCc+JdC3l/dxXC+ewDgZfai40vDcJ8YWy8L2HkAiBM9tF3PrZhTobgTi1HniMtzLJRRHvfpn1IJcxVEFUC+A=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.50_1583130960043_0.5809815641995559"},"_hasShrinkwrap":false},"1.0.10-beta.51":{"name":"@flood/element-cli","version":"1.0.10-beta.51","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.51","@flood/element-api":"^1.0.10-beta.51","@flood/element-core":"^1.0.10-beta.51","@flood/element-flood-runner":"^1.0.10-beta.51","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"f0dc71119b1664cf2900c71751a930d8af92991a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.51","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-dXtrp07yI+AUnChMyJx3I5YGnw7JlVmCJKI3GNkXmnbEuV2+QJu0hnYOkCssBoPLs6DuyB9ackWCFSCKoMVyuQ==","shasum":"872f8bac274049502e795e05014320d2eb10c4b2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.51.tgz","fileCount":44,"unpackedSize":368987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXK5QCRA9TVsSAnZWagAAyUoP/if8/GuJscYfvnHBAESl\n0juud8/mOV07iRoNREKgrOOJwIXB5XWFian0n4Tq6UgQ1jBJ0B8J7A6+t2Y7\nCCv9iwa7fNTdmHpR+vV9Bj/HyG6x5N3i5i4oagAmOTnad9jaIT5w+htG4QHO\njO4z0so/i9VeX8c0/ecDXKGr7BS0WROCGVk89/lk/tCGdEnX9g79/3isBNlI\nH1Txf9SlKKlUfDf2PglV30fks1VE89o/9NCCW3wliLfLHI8HrtPj1vkvA+b+\nZNsB+V+98oqNlaNQketeLo9nXfJ9pjWBw9619uT6kSX/EuEjcc0TohuObLlJ\nocBNpdQf/q+dQFOIOy5sjg8CJM9KYeXktZp34ktheqxNuG9nJVZy85QvY8fD\nWVICqcdwggQsCFcfweMLNEHZAQpZasGDZjk04RZ+HSG1cJqRwCPTU3oyAxfz\nolqd7uELpKhwvMa7LMszNmpvRPmSB6S6yluhJGnUvHgu0m8/Yaomu8goplBG\nMSlD4haEzlJzxvJyJEb5IChtMwEwDM98NjRyJVhuhwm6jzcJ54GPx8+D0fEO\noYiLEwUETzcvBTEcVTfWm6AqrvSLosP+M5SudUI6eL/7kQcdJrEHoeXaYl9Z\nLnZTItinssrr0xfnqxsg+DIiU8ICFRbIzBSgZ5/UlVCwOfIY7UGqD3905Phi\noz4P\r\n=A/NI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+XuMRiawAZ1iPCzqQSvggBb7kJJzZnD925InWLjxnRAiA+zImICgGMbaS+2Rj0YxF3pFsFuDmx7bQctWhWvxxnXw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.51_1583132240294_0.9958252442787712"},"_hasShrinkwrap":false},"1.0.10-beta.52":{"name":"@flood/element-cli","version":"1.0.10-beta.52","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.52","@flood/element-api":"^1.0.10-beta.52","@flood/element-core":"^1.0.10-beta.52","@flood/element-flood-runner":"^1.0.10-beta.52","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"3c2eae05d59293f775621f886ed199bb9870d664","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.52","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-XNML1dvROTaBPGElTLSP4InqaQgmzALcRMa+Li6kSU5/6SBjMeTvho0IixWUCm2YGRP2wGdMABDfFM1dgE+Chw==","shasum":"b66517d28d12d538c30f90b1fbde6cc86f465b6f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.52.tgz","fileCount":44,"unpackedSize":369337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYIWoCRA9TVsSAnZWagAAxFQP/jXCfQCNM9V6ia0zJx6G\ntc+2EsNQbXVg7VHrZjdUAfTSepngIBk+CC7mRreZsRpMu6P+NFF0xRs0KRqF\nY6NrPnPielmzpOZ/jGN0GunS9xS1SK/ezVMoJnINJt94mGta7YlZssbfRjKo\nljtyyTldUUmtst6h+y08ubrYQ6MVT97yFl6P6PZSNNzrumh1vSi7e0xHqun+\nSxupdJnxelE5lph4IR7z67+Ficay91LOxfw09qjJSYXuXgNcQ4gxl4DuB7i+\nyeLGssnDc2jpBlorQ4Ngc9st+hPOGeKFxdGKba6XcbjMWCzrnPvctojn124F\nlZ9ytoW5W30NkGNwzt8rvtmaM48iw2nGmobBdawJhm3glDIpY4rGGHMaVB2X\n9iSQTtG0P0zCNpREtEqQ+LfxXel9IhMfWRTv0M8LA/QKbS2+3PtG5b3N712u\nr+jtoK0+9am3o2bNRvjyhyLpZFBJ9PQiu4SinnCBTjLYpkUshgDu8WKjn4kI\n2diT1gDpCYaulRrBQvgA4rqOgb1K48gvrFLcDFUlqqOPFhL0zDAoUzmJikL3\nIwxvoZv8qKkLOlS81y2f840GQmykwKTtlF0uawf4+uL9MJjEmgm06WIPBBsW\n/MdccBuSWf5fAXPv8jz+cN4Ry5iT+vHjln8qitTdamq7TppScTo/WJ21KLPH\n1mPy\r\n=auOG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrIo8pRRceYEDzhpBS9+BCn7AvkQOxEOtpy7r8+hMnyAiEAmQEKdcMVjU23D1uhvsKVUadQeALPlKzT8yRseCNRnao="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.52_1583383976032_0.1681971921687131"},"_hasShrinkwrap":false},"1.0.10-alpha.0":{"name":"@flood/element-cli","version":"1.0.10-alpha.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-alpha.0+3b5866bb","@flood/element-api":"^1.0.10-alpha.0+3b5866bb","@flood/element-core":"^1.0.10-alpha.0+3b5866bb","@flood/element-flood-runner":"^1.0.10-alpha.0+3b5866bb","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"3b5866bb9ef9071cd31b652ff5fe1be147f75af2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-alpha.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-luVRyjUz4GiaGYR9H0n/lNj0TT3dqTyIhdV+WDmxyodG9WGt/ZrLp37i+d+E62pSoFr5yZbnK/4VRf3BMtM5hA==","shasum":"496ca735baa678d817ef717b4915cfd55d6e56fd","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-alpha.0.tgz","fileCount":44,"unpackedSize":369382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebsFSCRA9TVsSAnZWagAAWWwQAIv+Z5MfSlLY1gq3lyih\nlQWxvTMNpT2SlP0BNzPSpa0rtJFtUAM0KO0UhGS46F//Aj+w4O08F8SITaqQ\nZE7srSvfaHyK4J9S1be72qbOd49YLoeVhcUAbVHVf8xsKiCawfKol9OuZi3I\nAaUs9j7jt0QvjsyF5aycptsjNICrX3sHiqztJt5RGv4npL9kjs+9i84EdlYS\nt3+iRVbSv61/aJhgnFnN4+RlRjeVModi9b/GQI6em35imlR0GRx6yKCBB22x\nWUCOpgLMeFgPjru9HT4uyHtWX9EvuEMe94Y/pC/lcxcQ2Dzs9O/b4yh4HW1H\nFIH9x8W973EddqpzPBX12nf79OZrxBkEPMOBLnFECBLkAlraD4SZ/EIa91KW\nDdSevUI9R03nSkYeHs6nQWMmRfvcdSGx6vUUJ19z+Ip9hEih65qcsyqt24xf\nycLiKYMl0EUqtOgpR64gfpQF3vrNZqfJj2qrJSfBrakFeNBYCJRrFUfHDwY3\nx5l8BwDj6GSKhPMhaCbzxIam9bZqlQh2t4w3reO6zhlsWoh/s3YEvBk8fQLt\nYJRAh6OEJY8YM7Eox+ciAhjzL1d7vrS/rj+jDUMByEBDLVfnRhkXpTeCaRik\nZ6YMlxhOAcc6MUsFpc3ww5g+RBfQc6LsgZ6/MkmjQlkHBoRr+Z4SLiEt/nsS\nJxga\r\n=ZNRK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwDI39UOmZ7OdJnmDuiBTw2Z7577lB1u/U+FZIX0aP7AIgGLgEw4XAu8OnKvthDmmAx2DMCG453aNZM5aZD687IkA="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-alpha.0_1584316754422_0.2742692888032736"},"_hasShrinkwrap":false},"1.0.10-beta.53":{"name":"@flood/element-cli","version":"1.0.10-beta.53","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.53","@flood/element-api":"^1.0.10-beta.53","@flood/element-core":"^1.0.10-beta.53","@flood/element-flood-runner":"^1.0.10-beta.53","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"1cf0939ce550aaefd399d018e63a25d22b503710","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.53","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-k0uB+kQbsCWuN22Rl4H/ckE3tPdeYdkOY2bdFTatzHg9Xg2gm+RAIHhsvz3GZnjJnq0pj71eSLKS5Aju/SAUjQ==","shasum":"98221825b62b1cd06efe2f31bd51103bdaf56105","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.53.tgz","fileCount":44,"unpackedSize":369514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee3INCRA9TVsSAnZWagAAUBwP/2DTS7Fta6mq72CUI1xd\nHf0qVufmPr5Xwc7WpOSTqQvJk3RWhIe1THQsaO5yyCNXThDwtcO1YTvpqLGi\nz4NOgwqsPfYhanIQ7mUXGMtrE5VWNFUA1M2gmY5xS6TdlSF8zUS/N/imzW9T\nqDU+j3FJcpF9tHS6JdtVlop1N5/dbpZX0Xp2cvh6WI4TLI35eW3Y9oT4Y3sH\n0L4hgqI4DJgclaOZR2+jwJsnKnx1/NOfzpTwuCVob+bpVfFOKMJeLPU6GNwP\nYcvOSXoAmhXT4zEVcNPdsqOx6Wkq91n3G7beAKmIQiYqGZkGjTUmJjrB4yLR\nJuHnfx/fvCqA83UtY+miyA8hiJidWvt6iftSVNO+1ntZrWG04FwUve7uIxRr\nLZiBc0ikA/q70zXxg0Nc2rfPOognSE8FujrbCLAlCQCjtlPO8RKkuMMUhFK+\n3rwyp3Ci2EFM5Ba/yOGniHLe2Nzk8+BhGz6tvVwPU9Z9Fm1GwVp1Bul//TIK\nm+WiWMdj9LuDRHDYmN+pbWmD4tC55P1lh7tfpMHu987Ld69XBPppzjzRuZsA\nw75YREOdNrhh8d0cbXF9YoTQm3Egr81QAmYHI9KQwZd5pas04NxbTr6mqycr\nOL31N2AgLQOWEdsgFbMWwYd7pa7nkxvT1GqnFyJc9CFdNXn87wga5stw5ijA\nSUjK\r\n=RHwW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwpVreLawq7COl3fD+k+cU6FaRQ+z96JyYqOac76n6XAIgNDoFEO2JGRvqFUJEBZM9fqugtPJy2oe9H7cuVmp0DXo="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.53_1585148428860_0.6295631976144995"},"_hasShrinkwrap":false},"1.0.10-beta.54":{"name":"@flood/element-cli","version":"1.0.10-beta.54","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.54","@flood/element-api":"^1.0.10-beta.54","@flood/element-core":"^1.0.10-beta.54","@flood/element-flood-runner":"^1.0.10-beta.54","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"a65544e7f2e427b86725f7fcd7c6f69d57509aab","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.54","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-2nIf6wCUkfz0m1bgOnF/AKdfdznfMuBIxQbY2cOKNE0JqTR1tJuiXkdzOo0W0etIllP7al+yDxSsuLxdeVPl8A==","shasum":"330b94a85cb4a6fc5b9f99668d072e5f3d6f4479","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.54.tgz","fileCount":44,"unpackedSize":369691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5P+CRA9TVsSAnZWagAAPBQP/jYh7BMKtn0D7yDB/usu\nondze/POt1TbVgNo/+9zoIwPbDcqpI0HrcaDSn1x4OHTgUHKZKYW3HVa3wcb\nSaragxPgGsOMrfBdjnMHgCE8NzjO0WTMM5SpeaoREv0ssE1ONa5qVUWSERWJ\ngFLlEDYPCY9DRh2da/rzKXQnU+y8JaJDWyR2mYgN+/Jcl9KAy/Yzi8CNJbTP\naxP/siBCGRLIdwwIOYYORcE+lodGezLHegS7z683R/FTriYFDCY5C86NHwAU\nR9WeK/XhQNrkyYSwzU16cW0VkYlPX+ITSnvrg6be563ZtewaByc26epgcu80\n0yh7IEli9ANHeoyeYvhW2FQkSldG90pO8ChZwdDdkvzM9weSYy7r4BYJj4Td\nTmc/+Dd/mluNWE2oPxPxkJw1ZtSS9NAGab830yq2iba8mZQrgaNROMLb8333\ng2g0LZ49R+DqB+g4JF2MZO3Fts5AMlfnQLZXZE8AP7ai6MD44dWoWASdXVkx\n8Yye8UtLjvR+uUmGKlM6Mji8H2WystFViELJXfRzGjU4MAjpUiUlfRkthC96\noCq+Oel+gSnGeDfN29Ah3eFMig1jEKHFbscAhva/L3GcYWw1Lh3vTMWuCPpQ\nzyeAP+T3gZR40nLxk2Et8VgH8vnzoMPHI6VVfo31TU42RIfUv6Au0ucB/e4N\n/I6r\r\n=YKcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtzuuUw0+baqEnBtTRD63mevKiDR2ZUGYgngW+aYwtoAiBQItUEM9dJc5fH/+AcRnzccCv9/yQxX7oDhELlNBGYcw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.54_1585157118460_0.2864179565840521"},"_hasShrinkwrap":false},"1.0.10-beta.55":{"name":"@flood/element-cli","version":"1.0.10-beta.55","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"private":false,"scripts":{"build":"tsc","build:watch":"tsc --watch","prepublish":"in-publish && yarn build || not-in-publish","prepublishOnly":"echo 'prepublishOnly'","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.55","@flood/element-api":"^1.0.10-beta.55","@flood/element-core":"^1.0.10-beta.55","@flood/element-flood-runner":"^1.0.10-beta.55","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4","in-publish":"^2.0.0"},"gitHead":"4293d4e841606893921bfaba03a25994999787ff","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.55","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-rjp9YWwczUT14RAwZWDMsRc6EiTkSfHaQ5ur/yX5XN67J3pMIVqXjswTvdQ2mLb3dNASX1FTU0e7hUU37Uk0xw==","shasum":"ccbb88e2bb894a02326a3a1a9be07b8e981b1b04","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.55.tgz","fileCount":44,"unpackedSize":369868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5SeCRA9TVsSAnZWagAADMgP+gJeObmaXQRNT22wKW9u\nnk/RNSfsIYRxhi5X7K/zYeT3TklO+xwmTDaT1rn3HfbOf9/pnNpeN+GWLU2T\n7DzvMAV6kG8P2p/ROENnKdPqjS4poW+4lz05SdRo9zXwN6jsrzC3it8FaMI8\nqh32CTzpdADwKh2YoaL9OPXWS2eAPjGxsucuzfA/KmmhqLmtCYTmdSBinNh8\nT86XNgQIEhIvg0o6cQZrsNcL/BqRvRzNgeFP4oEGhEx+qWLXYATRl+cKj3JP\n4PFVwiye8HrnH+Kn8cKOnEH4hkXzbQTBSAi44Ee5cqhNanNd8e4xOdsM7c7K\nYn9arOs21USGJ71pq8jAYUQIR806BMGAIwH0Z0Cp3xvqCg2E5TrqeL7IrOqN\n09OKIZCpMQgNDhcgMN19uhWB0I1xAWU5fLMzqyjF0scP6tICGC2h9hd03adG\n1aZ+OLInYNyQiNLBRC88IwfchokNX/wWr4dMTqurByqfwjueg7DZagK611sY\nwN/GbdfqAQMLTKYQxR0c0CMIapkKXnn5lr44Ks+pOp5TigVbrdJIpM4/AFHm\n1j1b++YPnIG5C3z4z7+cMfAG7YUDlsV6S3d9qZOOParM3DvbrDyQ+9Q1rHGl\n2UoPNdbHexh1sINM03tgYScoXEdNOO4ciIgRXK5/ma+6273mXf9/tc3doi3O\nhxim\r\n=0vRx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWRzqo57TskYd+TZIJNJx1YMur3w/7GszzhPnEQgrnOAIgAxzp+Bq6CwLfO6u0nMqI+4LXmihVi9L8i23BbGIrMOU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.55_1585157277813_0.461392736877978"},"_hasShrinkwrap":false},"1.0.10-beta.57":{"name":"@flood/element-cli","version":"1.0.10-beta.57","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.57","@flood/element-api":"^1.0.10-beta.57","@flood/element-core":"^1.0.10-beta.57","@flood/element-flood-runner":"^1.0.10-beta.57","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e7b33b392f040166daf6795e8e2a317e5fc7bf44","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.57","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-PmniMN1btkV0XTT9/MA6IiJFJAUNUQRlkwX6R7n8dbl7DMAobeQMvg27UvsAadV9J6L76EUS998m1HtkH8Ao5g==","shasum":"f81c9ad4629a77532060509d6e45c89573aa8eb5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.57.tgz","fileCount":48,"unpackedSize":2640174,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefPC4CRA9TVsSAnZWagAAQcUQAKAwLJeohStOAw6kIcUj\nCppvQWghJ8cd5zIq1ZQH0LVLNRmbdNDemg1t5cT+3hZ6YJ4aEWsCqVy4thC3\n/BYDEljW2lJ3frBxsTAbjiUyxell103p7YKgrACSaXjTITHPhOTMSkg7nLtV\nBi8RU9aPFql+TCbjlSF6b4GgGPx/fkQu7ofWjXqtVfdOH1TOU7/3ca+EurMt\nA9r2XqfkBUM8DfcYXIUEmpWGkvAvtWrr3D3lru4k/zMiwjHp4XMXrjN6V3iA\nSlD9EqMA/nwMJMAfk/kV9fZGuFUgKVcYLC7dr7Kisv3vfmFB3TBncXCy7R6W\nA8yXYlYU6WN7SOD4GtVubAJ+yeHS+XBzwxgGeD9Kl9K67Eo0pSsV3V4zOeEG\n8wdit6QlINlmCW6Q2Yh9UWVI9cKh5Jdp0pBGL75O4Pbi7tfOQwwC/Of/lY8D\nCPHbtmQP401HukafDNh58JXAcJS7W3aIoVAxrBY3Bq75EEsvrC+Nk/Fi57hE\nxjRvg95amDarXLl3GlFzet1bdmMvl0KmsfBnhWJeaD7skGcRCdIwbGTD2byH\nL6FUmbM12wIONWWo7uAX58B3U6SHkYPJzuPfW+zkbYKrmS9WHJ8I0mj+DPCM\nSpOeOvEo2wMFjw+jkidHxO4ULe3qbYqaBQsEkHNBUpI48vsIoziHCJ+WWJPb\nXr4Z\r\n=3YMt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrK8ROv2NcMqFIOLE2tZXxvyOv2i/ndmXn7daZ8ZJYcAiEA4QA3XR+snxXZvDW5cEZOYICIItej7qbQML252SVuAcs="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.57_1585246392399_0.6865880076391124"},"_hasShrinkwrap":false},"1.0.10-beta.58":{"name":"@flood/element-cli","version":"1.0.10-beta.58","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.58","@flood/element-api":"^1.0.10-beta.58","@flood/element-core":"^1.0.10-beta.58","@flood/element-flood-runner":"^1.0.10-beta.58","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"074d93b5b34444743d83f31795d3b5292a93bd8b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.58","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Lx4UK9Zgp6d88xanEXSK808aODLnzcfq9j7fumgPKZdCOiqRB6M4y/Agw8Knvx7p5S9DXo601DXhWEbarYYTFw==","shasum":"0347fd6f5c5463dae7eab3b2534c109804749714","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.58.tgz","fileCount":48,"unpackedSize":2640462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefPywCRA9TVsSAnZWagAAj7cQAJ+4LQlKfzsS+i7ktA4y\n6iW2DZSpbv6AVt+p/eaimLKWFuaLAnGcOkLxCU4SLscLlwU0Pn/lXR43hntu\nzZatYZeUBrhQTHDudT6wiXz3imdpFu5MKqy6qp0NdD7KDKrOzyG7BFAVQoD+\nKw1uPIInkvGtDG1ME0qKA0YTfX3IclFfXGCpwUgd7nt9sYcGsf0hh52Qbeq2\nSn7shwgVYFglzaXMATSrj4RcttH0suKTSEID6v3pzHVeMUPZHoDtS9pVOHj8\n6zM7QgQgGYqA1HUjV6oe970ySwMsls5H38XJgUGA7U7MWISnGkxM6YXzWqeE\ngnHAGBcruFF+VQgCEyzQ6tNHatG+IrEpf6O3y/djVzXUwcfz/4SVDPGz55Pk\nWewnATgbe9bUWEfuY1hDLu1pe09uH0YgnjcX+VEJaGVHb1mIARdALLf4Bb8v\nwYnrC30zIPfbs0i5CQ7wx4iQU7C7OSROa/BjaCMFBfwwmqEPIctIMUlY4Rlv\nhmBFVCrZn1dr6ErLp4bheVwPCvtUPwjBGrNsSNex7thgM9s6lYyt+hqjIkih\nDbq2WePiHMFLV6cJn6ZycAszQc6b2pjZHYU1L9nM++P0gARp4Dsd5vpqk7T6\naqGdNs4JbE30yPB0q0OeoWSsILl8446j0r5k/eJdAupcg5q0qSod6l4yOfy7\ni4UE\r\n=uyzr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCN6km3Yxiq4lA/RX52WYiGEtFsJKJ+duHC3kA0Yx2y0wIgR3+Uow7fZw6Z0f3NguttmHUSQYqNHzGvad/zLnVoqhE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.58_1585249456309_0.2594687673117828"},"_hasShrinkwrap":false},"1.0.10-beta.59":{"name":"@flood/element-cli","version":"1.0.10-beta.59","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.59","@flood/element-api":"^1.0.10-beta.59","@flood/element-core":"^1.0.10-beta.59","@flood/element-flood-runner":"^1.0.10-beta.59","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"97e86d272adfbd2e6be40f2665a6d294c22e53f3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.59","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-cbMsnNJPhglqztU0oMoSXn1L63VvI+W2DN9APJLgVg5VcuggnHnJfWFFGwfeZMerRynbQxy0NAcE0ki8ZHPOxA==","shasum":"f27c993de7b5d6f00ae31f59a92e8961c1b98ec7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.59.tgz","fileCount":48,"unpackedSize":2640631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefk1XCRA9TVsSAnZWagAAzh0P+QGVXhIPrUc0+kCdXn5V\nXfZ/5byChOvSuFxTm7526PJTEBYzIf1zzoJhr8jjGTN2sBTVw7lVxIVcEW6o\n+3j0zNL2rapUmDhD+T6ep4BFw22e0ODKpFYzAdeJPIQNVF5oUX0UMsMC1ySP\nYS1L0G5kZ7l+tNKf0UiFNNkyMXuJKWfSTU9QfSQcNPymHRw0Xrco+Oae/lkU\nIH6M2ERBV5bbv0jKMEA/7DW/M4lze/TBb78weEOINT4CgTtr2yTCpv+pjHBu\nB+cOaSXIRMIUWz0svGOSI6Mj5hMw/5qkbg0jbLw+wMcGjieQyP8zTqbIBdG3\n++Yb1adwGEwgRFFE0YWP2NtJJPz/UzbLVrXwBsMv31BBpwb6SKGzBsySl2oY\nCihPgAA1U+tGTWSwejoNUM91p9VbIeyYAELPNPlY+2F7r1qEj8R04JOqr0Hh\nQtkIIv9e+DatCADXlh8iTwldShQIiEPQRDUqL8nIwmKak35DsLJw/DX3DrmK\njifS5ZqU8MhSr8p+L/I4XSotl85GXYYTkNvmpijWIX+aJomcMYtwyzf5ZZup\nGyiCpFGTAQvpF6nnKm4nAI+uwrZfBRAR3xM+QpcidUl1tYMPwijyiaZvASv/\ni63j9rfXq7FeNcRgUYI6kKsiLCbq4k4ezuS0QcwBtjLIYkdVfYZW+dhpsPPN\ngncV\r\n=NIRy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvzgozCVFUR7Wz2TovyfHT/kVGZC+D+yvJSgUUinDYpAiAgFsN4BIIqtCpgZ4PnZDl95OG+cy8Io0JclN6rYBacbg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.59_1585335639023_0.08942321534231223"},"_hasShrinkwrap":false},"1.0.10-beta.60":{"name":"@flood/element-cli","version":"1.0.10-beta.60","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.60","@flood/element-api":"^1.0.10-beta.60","@flood/element-core":"^1.0.10-beta.60","@flood/element-flood-runner":"^1.0.10-beta.60","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"3d6cf695103542bcea0a75916385e51d56c39224","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.60","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-rTny96fhlUsh0ty63AR85kL5EPazMkKIDcQwgG4XnSrvkrVHhmtIQD29tJoRZyh23YmJEuNTSaKq46SlbcRS7w==","shasum":"68dee1ebb7b15c5fc0348d86d64a3a2ba5a43e0f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.60.tgz","fileCount":48,"unpackedSize":2640808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefk4pCRA9TVsSAnZWagAA5GAQAIVn97swTfSKa56mQ0bY\nfjsaZSxMW9V3LYPpZuV6onL3BdZu7Gc56P3CPdDj1jCUhrTVzdN2x/GeYQNS\nfqNK/Hzm8pixzam2+Jfub4lqgvYli8Q7jIqwICUjSB5UohmFFH2m+UzqHW66\ngg9imzWx4F6Ge4dLqAIsRaxwFxpdoteF8Bsgzf40aEIwGX25KTyB0FfVIdB6\ndgtAM44Fph9osD/Px6vifMzlwSBmW0U2Mi2ZRgkVDXUG6K8k9A+VKuP47Wru\niJ/kmV6PAZ0SuUBPXrp/k4LpQRJf44cPBNeA+1daWomWCiOPy0BsMfvKAALd\niKALP2nNfAcufVj4Vm/+vJykREM3QSWeq4V0SaaiY9W1KRYVObnrHgmd210D\nDW1321VzdJKg/gUjKIHCh8j7zwTcna0jj2j9xI2znxOiC363plzxNEfi01ms\niX2+2NASkaymiWhIdavzLOF6q0SC78l+WozGfaVB9uEVchIUV59I0rEvnRiu\nWjPr9yNusJYRCZ1nxggQBNKfUL/uz/k/70922undVZgF49MJgNkvu8vzLiiq\nXrc5RTLpO9RLqW/Xdx40I9Cl0XZm7tTt+6oUf8GwV5nNIBLk0U4j7ttXFTQ5\nYMqemGYA9Kau+wMJNCGkpb9q2F/LDpHcf5o3XehY4LoveYq8LnDkp/Cx35ma\nWrTj\r\n=RFY5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBOzWPluI1IzEo4wj5m4U+PT2yWeqwiJYuvEj6sqXpwgAiEAlTZJ22u/Qvse2kdQJKatouV+FJPal+jJxbUpuqSSi38="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.60_1585335849014_0.8017454253402008"},"_hasShrinkwrap":false},"1.0.10-beta.61":{"name":"@flood/element-cli","version":"1.0.10-beta.61","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.61","@flood/element-api":"^1.0.10-beta.61","@flood/element-core":"^1.0.10-beta.61","@flood/element-flood-runner":"^1.0.10-beta.61","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"aa2936ef6e93776f0eff4ec007949ee8a808537f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.61","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-EZxd6/fJ0FLrPdZQcXpVREMintWK4iXSydOiYP9zGQpFtquJ7rOPGZoWDZrYbBdwBAEF30z+aIeMp7JF2aP3mw==","shasum":"f3cac189f28a68db504c971f8aedb0f92129bac4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.61.tgz","fileCount":48,"unpackedSize":2640985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefk76CRA9TVsSAnZWagAAaP4P+QEVfAQxBXrWoNq6eUgB\nwa7G4y1N1Ry3ddyvLeDM1wWecaE0DFMLPx5guN8JYatX5+NBY5SyUactUvOQ\nqkdsBAJblYSx7A+z4liPjR1dkYBBMkBFaaEyAW4UsbDe+taI1gjKY0UBoXiR\nGeI77ay5Xsc9cwA9cely5h6ItwdXkyz3Aya5qIBAcB1BupWaBJQbhtN8768J\nGvUD0u/nCuOUCSZTLUWUw1SVFAf2TuGhjel5Pdim1XnY5jj8zgqfcSudmfJn\nfdzghvdc8wjKoPU+XSZpTdTjyobBTwGb4HNgfcqdVu8ahCjhfmOQCls7VfKJ\n9kFY+lpQitVp5xo4Hs6VJAN/19nW5Flf1vX6VtNLF/0sh6iLw+PvbY0/iPsS\nY4cWTPlR5RLipm1MIVdtZKdnNeosNT5aFAa59S79w7qhAMVPYh2b25UI55Y1\n0/KSyey3HeEpUIQmtP7uXERnFHh+GpZTyhM6KMCwm4KsDxJtLR4VOHDKkEnB\nRwH6N3JJaL0P5eFUxz4wiv7i2VwKoYvBvRxiEBPa+K3ZPfXI48eTTD32m4vm\nPU9c9VvPfMg60ceqlJvrYID0JsJCEi2Ogr2XOt/o4CTPJilZge7IrSTxKpUe\nnc9zOZKpw0egEex3ODtaU2k5EZuavglHvRwZ10Bc0xh3PgPcUYmoiQ3qDfVS\n+BVS\r\n=wNY3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJn7gAzu0QYlYv8eXKhdx/N8a9O8cGdIAVGBXqj4xBSAIhAODvCbm/co/nyNdnnCJ6iCFCDgWneFOVBtUV3YRphYx0"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.61_1585336057567_0.46677550788842526"},"_hasShrinkwrap":false},"1.0.10-beta.62":{"name":"@flood/element-cli","version":"1.0.10-beta.62","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.62","@flood/element-api":"^1.0.10-beta.62","@flood/element-core":"^1.0.10-beta.62","@flood/element-flood-runner":"^1.0.10-beta.62","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"226be35db314f9d90e9b7d096525ea1278c87c54","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.62","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-nSrLFcUA4cMVVCTnFPR18nThWasTdwiE4m4GiwqXNpC5QIAmI55gBN+3vSUbw5q7FFGZuqjXU5l8B8MLoyzfAg==","shasum":"960b8eee2a828ff3ae9eae443ebc8cc1876e6e53","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.62.tgz","fileCount":48,"unpackedSize":2641162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeflOqCRA9TVsSAnZWagAAsMYP/2WISmwpsKJ/0oHoN6el\nV2llRXClD/ysQqKV39WN0IV3zeoiR/dMTZS2UOmAfznTODRDiVgplB44hjyx\noCJR6w53AD3pIlAv1q+MfhdtClfD447i53VV29D87JDdCdiy62+ZnsuQkOuU\nXcVQYfxqnE2YtsLEFti8uTqFcMjCHgi9KlVrzQ8EieO70lSjKhkjuQKU0i5x\nUtqB0tErdL3tklnkoc3PktKc9Ypcx10gaOEK1h0Z+YXNRq2v6mm/EwfhhnYJ\n77P7tBhNz69nKZLW5MP8PasS1OibD44s8n67BYKYCCUZHtBfvk+yZNiw+Lgf\ndmrW3duEtvvm3mONv4O5rc2LElCHbtMxcrqxX6R/MFOSG9/KeyLzhWujpOWs\n/xFF1PkYQt/jgRl9WMMZIytcyYs4rU8F9qztdr7rl1B2LFsddeK0OXOnkZUX\n/RAdj2n3sr8Iwfz/7HeMDJxPP9uJMB7Yh9b8SXrd4c/vOc7k4wDSLADdQO1K\nJEOOC8Z4ToAiKEKm1JW2jOHS0WjUEEfhY0LeQH4FuH3WI8RfxwIpsBARk8gr\nagxJ9/xxowZ8QzBW1q0kMTX5s5bW/+V/GaK4lvw+9xhYHy2JbdvXxjDxo0gY\nWyr+I/D9rxanEvrwePDAe+/vVtDqTSujNCoePnTfeQhVLWAZWrjljiIdkZdA\nar0x\r\n=IfMu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFt6Oz8p03UslrOrRJt/zfsgbqa1xtUD0oP/A1NzjrRUAiA+NiVfm52ovC8fwfI4uYcIDqe9YojR+00BQCqIjtyH3Q=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.62_1585337257568_0.15014964562694955"},"_hasShrinkwrap":false},"1.0.10":{"name":"@flood/element-cli","version":"1.0.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10","@flood/element-api":"^1.0.10","@flood/element-core":"^1.0.10","@flood/element-flood-runner":"^1.0.10","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"792e4a40964f1b5d6afe4444c6cd9db178eeb3b2","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10","_nodeVersion":"12.12.0","_npmVersion":"lerna/3.20.2/node@v12.12.0+x64 (darwin)","dist":{"integrity":"sha512-OQLRr1qc/jJCugc3a4+/H3xg3eox+1jyC+dkaQUu3r1nUM6SpNnUe9Oo9B0QUgSbRYqBsPIcr74w6m0CPq3Frw==","shasum":"82feacd87aa0d1cd8126501438db9909e2c72936","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10.tgz","fileCount":44,"unpackedSize":372502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefmdTCRA9TVsSAnZWagAANP0P/16MGIhKs2IFevGS7CCt\nShPvowByHmYrZxUGM7CFtYIfQQ/Vz2ZSdUYEGB5nae+R2oPg+hd3ZV9Kzhkw\nOd3rW0NBYd7Em+i56W/dHTYfX8CIhsT5Uicz4J7egjSkn1EKE/hJkLIrx1Uh\nsAvLpnojsp7ZKTqiBOysiSe5kPkyPz41qT1yudGQf68xs03FYKy02Jb83oes\njMSMxcu27+9+ZBHctWdxnqlLRsbG1KTyjaS/VcOjzllFqDTD72+GPEf4dJKp\nCgs++K+mxCXpGS8AWACn8TsMnXNafFMh+zEFJbQe00CfP+BIudXxZ6UDOELE\nXonMyHeDGbkNKRZtF24/E+tSOejIzecVLcVeHuA4C+WGHuX7FJt3YEXNOzZm\nMvRr6ZYTZ52VWi/f+/7ypAJuvsY4helFZUnENb3lLAnvXo1nJxPpDtn8U9Ix\n03h5oJKDYA4Q5DlqaEU8W2PX+EtGztAU9IVn6UXmWo74vpH+HkmS0LVbBMCM\nbWwhIPLuls+4fCTRPLk+IngAmWdjMPwhye89p741BPYs/hF0p1e7lR1DKaG7\nbIRlskZL6ZlJTWj6APHQB4mNTR3YhRiLdsbafXni7gV9EQb64saTcKpgR79i\nr4jj1P+9V9kV7OnWIj75n/Nub2/t0KCmCSe9M+QH5IOrWJa3s5Tp+TgMeAv/\nmS7j\r\n=hqXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEielW3TOq5/6CXL0EBexhFticxGRR9X21KQuPEUKR1NAiEAqviyawXqJMu/XAI6ljv1YcM3a/9KMyGJs8MJScL5GJw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10_1585342291276_0.708415225197893"},"_hasShrinkwrap":false},"1.0.10-beta.63":{"name":"@flood/element-cli","version":"1.0.10-beta.63","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.10-beta.63","@flood/element-api":"^1.0.10-beta.63","@flood/element-core":"^1.0.10-beta.63","@flood/element-flood-runner":"^1.0.10-beta.63","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"8a0b3320dafbef880eeafb6ab916196c0cbbc8bb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.10-beta.63","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-SWzE/R9d2sv1dtIymhNcJoknOQowy9H1ASW71K5cmf0PfrsGcBgin9Lis82CEbnyliAGJ1Jb5tu0ID1AQ7E6mA==","shasum":"cffd74dd738f9e66bf0e9bf7dc5712e30aeee425","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.10-beta.63.tgz","fileCount":48,"unpackedSize":2641347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehBI/CRA9TVsSAnZWagAAt1kP/0JeyMHsIqveEP/212HN\nYY38vlRXKrd3qrov2Theqvjb6qELuGHyWYBhqd6CIHu3x75vYareUerHGQ0F\nJ8mRnU7Hmgvvz5Dj8YDNgegWkWaVcjpK0BPGwcqClTS0uup68mMXp7blzYeC\nL7GyHZ2CrYmMWDUTVsbWqL1jMh1XprFbokhp6D+7KQmtFrsTRjwN3N5v6YxM\nPKyJVav5jkYhY5wNmUPhief9PmB8kgVrMSXtepVWKLCncr288a+ay8YpjNYg\nanXzCUGTRQsNJ/p4JbluHE5SSyBGS8hwqw4iwY3QSaJkSki529mJUvlWFaco\nyeRiSokGlveG49rAURSk9OCR/iN9Iv1tgPe9wXAk/cpdLApcHGQAjqPEidKM\nHbN7k0abaU2orvWfqOSeO6wBgHegAqcajjZMTekjbtxwTSg+QEc5MRyzBHSw\n/772RvASWkuw1ONj9055zdbszbziaeT9UDfa8HBxpWwLDHLBrz6GQUgnIUIq\nTdUFAYnyG/5g4vMEM9Nl+q4cnBKf3E97BxEdgDL0zVuuoxAEJvsDyefIurE5\nUW2sZ+49dg7tNMTV76UTRVFdgQdsJPtT75fVZcqmj2vii9IgbCQbOiyXTVqU\n3YPQSL2/KDl+PoPaCbxowRHy4SOoxRRBHGSfUB66kBWtHtVeKSfVn7wHnyhS\niuiF\r\n=tfba\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoNUmHEgKnT4AEFMc0z5YmQVmsr1umg8QamXmFzOXhPAIgCvlCd9w27cvo7gcPwBvbqnWUCUh+5eS7+2ZG/Vgz9Bw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.10-beta.63_1585713727515_0.2715647152312868"},"_hasShrinkwrap":false},"1.0.11-alpha.1":{"name":"@flood/element-cli","version":"1.0.11-alpha.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.1","@flood/element-api":"^1.0.11-alpha.1","@flood/element-core":"^1.0.11-alpha.1","@flood/element-flood-runner":"^1.0.11-alpha.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ca3d5f7876b7e35038c0d020a13d979eb2747256","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.1","_nodeVersion":"12.12.0","_npmVersion":"lerna/3.20.2/node@v12.12.0+x64 (darwin)","dist":{"integrity":"sha512-8kqK1wpk0cLa2Rh+QdSa379F5lP3sQpMzGZnYy0BDiZ4dt84P5iHxMkszDxo3OlIMrkKs8v+3kjFEloCVFe3zA==","shasum":"39f47e614ade01dac7a29fddcfe3148526282a1d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.1.tgz","fileCount":44,"unpackedSize":379322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehBnUCRA9TVsSAnZWagAAKL0QAJDHUEHyQsBuDYzd8L7u\nhNeUU4MAxtN9FhOVYq5ucmqYEFO3MkAgr2BGGPdorZvXGSPpbPNTiRsIz2+h\nNNCTlBYfroq/jeTLibuloYfa6hVYfggDV7is6Remk4LOXrp9QZljt2KTDUtA\nBs28dBDRAomqiST6c/dCba94SkJho8+fsYUCVd7GbCDpqW78reZ91UluxlvY\nMvdOCT1hTGReAMKm/4UBrxp+hU7R5NfTuhSmpBaQR8Gx2quhA0YuEoupFoRS\nAfoIrsX3td/kKvXdFKlk+6m4ekzp4NtjkWhxDp+2OyK/Rw6hcntldDZSyuUA\n7rS/H2ALsVoyDir9k5bweKPQ7FEZ9yFa3iGbEjblhUZBdqghvQ2vWzf4GPzI\nXX1lwMo6u01nQJeB54qg3j2bjGn3D1j4GMAj69WgTLs5ccmv8aiTKFI9bDE9\nx3t4evzToRcNDgMMVWiiUX8UKLwr4WsOZEh9pl4cPCnxdJg5/MEbhtMzyqFC\nV7hiegOvvmBVb0+KpkIIiii5qMqOoGaPTrMmeI0q1763aWnz3fq+No3CmRxE\njotGTD66+fh+01govF2rv6i9s+F+urkkr0wam3Gsh7mSBGGEIpqFK5juTASP\nb2+eA1wAvLdJ9Q559auvLzFNJ6SaJdFKIFi40bYf56UONVEsEmd9bB5y4GxE\nkCWT\r\n=y1IG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHLYllwb7GIdPGa2/u0ML6PU+BqnNKSa7ZpsfJq9IP2VAiBEv7uliV+ThVUesoB2ApdR9/hL7CIK+CQeEdWaSg1axg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.1_1585715667619_0.41701573062089903"},"_hasShrinkwrap":false},"1.0.11-alpha.2":{"name":"@flood/element-cli","version":"1.0.11-alpha.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.2","@flood/element-api":"^1.0.11-alpha.2","@flood/element-core":"^1.0.11-alpha.2","@flood/element-flood-runner":"^1.0.11-alpha.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"83df4dd7d6ad3c08366131d76158ffb2de50d667","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-8NvOYI2PIH12z2OO9VZHZhBm4dSqg8llbfMd8oZ21Ts5YVfbjUnSa8soUmi7x08s4LFoqMq4B71cN0XM1JfWuA==","shasum":"e9f3e75a523c6b777758afb6d62411c2e4d28d7e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.2.tgz","fileCount":48,"unpackedSize":2642039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehBsNCRA9TVsSAnZWagAAhNUP/3mtqM7L2SyAVjz2cGOx\np8eQGKlNW3H7hTuV2ZlEvUelVduNLPuck4YcAdNtwUUZeGyxNQyaWp6c3wKy\n9nFqCiP4PFqlpIt4avBqNqhoRZRMWTVkHFYnmkvIj+/QvNmY1zWL1eAmpl6E\n58sxZlfm6zep87pMooefaXihzKdLHWU6glg777oA+F25VmswflohjozPARz6\nQPFFEpj76UKGp9sZs+U4VW3kR96uRLXT5JIg8sz2vzXegRjjysGuif8kKevf\n+Y1sIYc8Pe6pVXL0+rySfmTnHApP4IRzzDALQGBjhwV2hr69LWUQWWQ1QMP6\nO4NkM9svzkm7BN28Ww9N+IEsrw3WRHSWwETIAj7TkaJU2Y0t3XHVVuMXVODz\nYEkcWTmyBgZZFoVkVZtTm+fyCREScxCikgWlsC1uqTBLvrZgdCGqdjLapo0Z\nPffSV7YOlOHLRpxFMF7VzuXAaj8MtjQU6vn+eW0ik7zGlZB0s+DFwC1V/mWE\niS5QeTIgAjeoRJ4NsYIgjr2RvxNFjw7CFv+ZqHzCoUn0EfgamvHwvbeB2UDt\nl2nLsMHN+igPKgYYmGfsDf7iVRFLR6e7O9qM/CydXqYUh8hhajUE3APgsPaE\nezQk22Xt4a+3ZIBwUQv/8SVuJQUh+m8iXjX/Kc6PQXh5/lqOYV7lveBzAA6f\nU+OG\r\n=68XI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSqjeAd60XBIPe/j0d59yy7ZvW7riy43OLb63b25m3gAIhAJECMYnzqA4QvijMOOjwfcO43ewqwQqCdSVQD9WMrErd"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.2_1585715980596_0.8568898419240509"},"_hasShrinkwrap":false},"1.0.11-alpha.3":{"name":"@flood/element-cli","version":"1.0.11-alpha.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.3+a065679b","@flood/element-api":"^1.0.11-alpha.3+a065679b","@flood/element-core":"^1.0.11-alpha.3+a065679b","@flood/element-flood-runner":"^1.0.11-alpha.3+a065679b","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a065679b61e8f69a67f302f7e9c62ab56fc74e87","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.3","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-62WxqgOFaHtnb/Wc6ViYAY+wl7dHJvyeJwILxiqzIrBYAAlnZoo5pRHuecR00+HTA+Ps32UTY2RfSEallPcqGg==","shasum":"6b1e1acfd0a4e7cca1ab2b3abb4f74fc61a1958d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.3.tgz","fileCount":48,"unpackedSize":2642076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMY1CRA9TVsSAnZWagAAHSIP/j5hPinYW9aZ5+svGs/z\nd8zo+iY65CGtjceT2RlFDtemufdBuozuI0pzl78uF2ZsbuuJl+XB6mssmoxv\nYI7KFgyg9xvRvVSv1mRGN1ljvwvQu2bb+jAgl1RKgET3+KcO7hd7aHVoHdkr\nsJcc7jsMS6meSIVErWRZMvif2Anw24XySOfUACrGn5dbpFuKVoEPJ5dUS208\nsUhVEjWoKuodHDVFUM++TuxCyoTq5PMlxeNBqxJckNPYEHMMYPA/7pXycbPf\npGnI5xNWUiDEonjVXhKC8BfODjL3SkM4+iUvNOdtWy+/qd1sANPKfE/LBzUl\nha9/twWoiRo56Ca3yDwGYtlZxq+3TFXAaWONtr8m23hHPbo7ai7ImUdh1wmT\nfbiGSnmTycWVpQc9XSu+GxeWrSAiWnWBllhBP2jyKonmnuKuZ6PJB8q1O/9j\nBlWjwv+5C2X2JfpaV2vcooOgQ8V67PG3LIo6VSdJEfEVWgyuFY4I+pxI+Ovb\nQj5q/Qe2u1I1YVawqgJL6Pez3Z6bzM24EvS7KRSscjIADbjUU5sgJwBvEwZb\ni4vIFosfHBGoORt9gA+d1/LlkeYTZhJNcO17OTzZUk00qmL0REXDLH9dPXKg\nSFcaGQ2WU54dWiw8ibr4mbgGeQmyNYHSk6JhUb8pYv8YNtMbZOyTIEqLgVGV\n07Rl\r\n=dyvI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt0pyQwmp/Ny2bqwt5RCNgzP/bSzi/jNjWwmlZva5WyQIhANEy5nguY8RBSt8LbWxrGiQXU9J98HHnUtmoMOnesCHB"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.3_1585759796752_0.5064953974175888"},"_hasShrinkwrap":false},"1.0.11-alpha.4":{"name":"@flood/element-cli","version":"1.0.11-alpha.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.4+f9c380d4","@flood/element-api":"^1.0.11-alpha.4+f9c380d4","@flood/element-core":"^1.0.11-alpha.4+f9c380d4","@flood/element-flood-runner":"^1.0.11-alpha.4+f9c380d4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f9c380d4502ff8bf3ef53573691141524053b673","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.4","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-aWR29C3YmgsCTjiG6LQF5rXeJ8G7Vsa6aqW75B4zZvGfh4VGWH4njLmkid8IHXmjfQfYZoHwPxfav8wy9PXvew==","shasum":"31fa6546cdf6a44c6a9e12e5cdd5d4dc6f805511","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.4.tgz","fileCount":48,"unpackedSize":2642076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMZ8CRA9TVsSAnZWagAAfsMP/Rfw3sfPibFAKo3Uje1G\ny64YHvMo/FLwFeTxB6pzyziyVDgDB6yrxJ7V0brZCLQRl/pYV/uSFxve84Y+\nskBOs9cvnKl/2lJ1IFXakxbP2nbRFLKLb3XGN5SzzIokFfuqaJGtQQD+spND\npN3eyJ/twKM1KB0Pp4BbHzMNTSUUTXZkG5aSLer5th3OT1KxOlNCoLqElyuU\nJhMPMXDf2i1KyAep+5YV1OoRYBPT10MDdIXJeCMLCtOa3wwK9GI4KJDoUKah\ncFAnhM1XWoJJgNkSwXQjgSqAYHfkH4lo2u6kakFu1Ax5536r7Nc4p+udYrNc\nddrN/Hr8ylfJQ0eNbhygklvo86pWLaYlx9CHBEXaZ++uZw+7QtNPdR4AfSj9\niEmKjQL6FVXJg0Vot8yYuHJ5thNyO5smS8PgtSO3GUS5I958SB+6tksRZW8v\ncvydoF/x/CTxPevlIUlimJxF8D5HbK8V/2NXlV5KaC2vgxn7g1Mp/ZU9wYCK\nyGAu1RzUuhcxiwweynuepk88+B6pJ37EX9UZK2jb3Bjo8ODkPMCmScIErhex\nvGo13C0zzRISh6uih5CHFKRgfGcTQo733z+J9MAtLeza094Ft3A5GzXnd28a\nLkZS7yB/L/BRvkmiCUXVuh/TRf6u3ad0AcAxUMIOsKIncIhAiveUNvkxopss\nCzzl\r\n=heiT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOH4Jznl+gnaD/1vH4YEHJY6dUezP4dMk9/WSh3YfDsAiEAoXyx/gEHSg1noH3ptZePeh/oTgeH4n0XYtNJQFyjwFo="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.4_1585759867734_0.028254844782556576"},"_hasShrinkwrap":false},"1.0.11-alpha.5":{"name":"@flood/element-cli","version":"1.0.11-alpha.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.5+c2867685","@flood/element-api":"^1.0.11-alpha.5+c2867685","@flood/element-core":"^1.0.11-alpha.5+c2867685","@flood/element-flood-runner":"^1.0.11-alpha.5+c2867685","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"c286768513744c53214856bd137bb7b1ccc53f19","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.5","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-oMwM1dBtefkjFFhvOTX1Sv7QBwxtWEN5hD6PvQDALRlcqr6NGq5pglA78gOpZkZPEAirp4lXvVjZIfh1MQkIvg==","shasum":"2747237c605dd1bd2ec893a775004a99c6c61b23","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.5.tgz","fileCount":48,"unpackedSize":2642084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMd2CRA9TVsSAnZWagAAwacP/3CA2H5PTDLMQpsup04D\nK23P28XEUaEG+AhP+BsPOYwzCxVHejIfcV1yHTrQpWH3Sw0qQoP8ocm7C+oI\nVKU4nfKnmflg0OQvoUYMX+LOr9hBulD9475xK1LmYESAuJS2HZI1BdtDHs0B\nLztJ5zRCHaHgAoshNFo05pRKQ1l4Ad5xf2eZ2zie6uFBqAV0pR7N8fdF5hMr\nvrpHRl/15M9fNHtptgmrqYX6W1XHbaawZjkZxLj6qdTvI8syGjB5V+0jLi2Z\nYcyaot4cj6WbHkohTly04/u4Vd+KuEbna8Cco5I1Q4eDZQua2q87LiiIRf8k\nSktV5DBkib0Yh4B11hBFyjejf7sGCAVmUw31NpxCP9HjiACPyF+Sl9NOiSK8\nk4a7p1w07zWB3wYZ7XYil0OKleNoMi1siCbDnW3NWgf4VzQIhjuTDyyA8dyd\n10jaLhfOkRoDuGDLlCNler6+3HxMmGZb0LZSdYp29pryqLnG7S+VKUd7KThf\nTcc2To8rDD9jlZgTerQOEfKzOBFcRu93PHgRiglH2hrjfCQL632ivxyYRCpt\nw+o9qu35m61ONxM1oaALpz9uMbeP/WppewXilLb9wLELWQdNjIgSNTytwAO6\n3zjBOb+wcOQsBD45Mplbx1xL9rml6eal3fIsiAZr5u111XOSkRSPubvAGIny\n4rD+\r\n=manz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6fcGyGtR7ZHihfJdvkWkVDYnWy5PgHAfkR/B6taZPMAiEAuYma/+hsgD+HUVR7Vc0BhRyLG8wRAsmiU+I61XxoT6Q="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.5_1585760117952_0.8414091669596346"},"_hasShrinkwrap":false},"1.0.11-alpha.6":{"name":"@flood/element-cli","version":"1.0.11-alpha.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.6+6481d085","@flood/element-api":"^1.0.11-alpha.6+6481d085","@flood/element-core":"^1.0.11-alpha.6+6481d085","@flood/element-flood-runner":"^1.0.11-alpha.6+6481d085","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"6481d085308e02a65345d5d187a158243d38468c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.6","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-oOzU9RAsKQe9DyjVQjYLNlK/4eu4qSklXSCPz9ThiapFnQixpr338I9dVb4E+jRoKv/DsyMCKEzB++mE14r3cw==","shasum":"db04b81daa0f71acc41099b3872ca83a19c2d613","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.6.tgz","fileCount":48,"unpackedSize":2642084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMjNCRA9TVsSAnZWagAA5yoP/Rir/hVzkcI5U854AbxH\nmXgcmwWpADgqFc4hJDzN7d8fOOrsLaazIPOejLd8+/zbQHjC1+3eh2bSWDQ6\nIFRVajWQ36CEii4E+D2RKh7ZbT+YWjM9Q9orO+VWWMO0igpXcDHF/Jd2nLJ+\n+WYDvP1d0YbpsAe3zomCzZsUFI+FH6XFCkQ2I3edkw3rqOnfSJMBFq4Qz5MY\nM09q2CgggARA942Q2AnrtsqK85GDC+IP1x5x1BT7LPTvjKP2Ux79LFvJP6YD\n3UHAzLWLyWgb4aP+KxpTh9k8jJm0SWCPYQ861C/IKXFRY7gB5wTQ8IMT96Mn\np+o+9DZeiMxnq42YdeefQ9C8evCih9NXaGL3AeEp/JmlOrewOCG2zCZThRxV\n0f6ptVwBswC2SZrCUlx20cTzALVXGhcYDnOUnP16P5r47QFbISqgbGmUmLXp\nYHJPXOvUQMo0gkI+VfDVmnXnpA59t43XvE7Wa9faTXA/pUOwRPCdf/7bzFf+\nhWtSVzaZSXuhxX2DQmdIssjRMyo1nx7jC3h3DIhwuDiZIgq+rZg8/Yqy5i+l\nK0H2SxverMEXSuXbMmd7ysovDl8CQ8bZkDXP4bNmXzQKkPGN3ho4luLlJP3U\ns2swj9fSkxip17LHJozrDtRuLaMPigz/ILAjs/qAfR+Yk4DAxDhcMfpbbWUr\nRPPb\r\n=URLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPCIqNkUthcJ+Ex8vQy+wVjH67BL0uXUYzDFSMbWco3AIhAP7GQFdMG+WzMYQ2nisKMl+gweVN51lBj8hJ22Y52gn5"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.6_1585760461253_0.3653698013381821"},"_hasShrinkwrap":false},"1.0.11-alpha.7":{"name":"@flood/element-cli","version":"1.0.11-alpha.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.7+2c6abd04","@flood/element-api":"^1.0.11-alpha.7+2c6abd04","@flood/element-core":"^1.0.11-alpha.7+2c6abd04","@flood/element-flood-runner":"^1.0.11-alpha.7+2c6abd04","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2c6abd0435b8bdec41168bdb7b7367419662e6ea","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.7","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-TAPM1PXnaxtdngVQhQPt5sKg1tMIibLM+y+bLSURq8mcIt89ZsOee0RLtj55aslvaNbY9zGG5hpV3S5o0JNK8w==","shasum":"5e68531a4c06a0b6f1285ee80b9e3020e0e93363","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.7.tgz","fileCount":48,"unpackedSize":2642084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMkXCRA9TVsSAnZWagAAk6IP/1Q/BIhc8LKJUImHJee/\n+DM1DHrCFwnsC0us+iYkLrucU2o4WdbXd48f2+x9wDPqDRquTHUOhjYDVjz2\neTbwJN06uOBzAue5sUqREount7dDdvwn04xKw6rZmAhTcMrErx2eRwUA1gxu\na7PNMpPfLVvH6IJ/Umj3lwt653eYVV8riNsiJILVzZa6BC4UfQHIAEHsM4u5\nxO+k8jyNKItHsKAvRdoJL68UE8gH3XLyL3OituT+9v281CUdkGhGig/hMc05\noIJ/bV0Ez3S/99PFNNMllHGO6MPPf/NPlyC8/LtKcGYUgFV5qD/Pqe1rdhP1\n8YWe8NaE0GFEpmckrTKKuSNih7wbk0KsJul6WDDeOS262tCVcqVorF3veK8t\nOyVH4QbCKLUFbFOBxkRPUdvIS+KsDSpV3Kb0WxDBhkq48Nbz5JIiLK/80zxr\nMrdf4BVv2I8S7DF6MMTRLLlBlEgKqKO0Y0X3ja9E+g8oxNEgUMdiUma4YNVg\nDVfKyVtR7B/3rfLyTlxOUB9zrnAD9tIEA1miUw/qgMQXMfH6Dsw94w87IEi4\nMSPhW/aLvOHtFxL9AOJlORuaar8HdoEFpA3JDWJnB7aSD6aqKbZ9HEJWvJq+\nA6m07KIhAb+w5WdR1ScXzXwd5T5CNwN9V8r1Tl0ZGr/Wh7kdITdcTmC+ejpt\nM1bl\r\n=+bRf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSwEKDnwXcERLX0egEXDHUl/6H+NHPtxNOMIN1mrsmMwIhANGPTvOMHuTNZumkP2X2Z+zPuYzf1u3XhvpmrTOnUtve"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.7_1585760534317_0.9592398225764662"},"_hasShrinkwrap":false},"1.0.11-alpha.8":{"name":"@flood/element-cli","version":"1.0.11-alpha.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.8+a0345299","@flood/element-api":"^1.0.11-alpha.8+a0345299","@flood/element-core":"^1.0.11-alpha.8+a0345299","@flood/element-flood-runner":"^1.0.11-alpha.8+a0345299","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a0345299248140262fbc98b285ffe41487f934d6","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.8","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-S92qsoMO5JV1FGEoX5f9qsLDEGfIMwkhNl2GxFEz0VyHGWX5bRhwZPVMvo4A6zkl6gUZqYZK0vHMZgG5nnkz6g==","shasum":"5e288f5c54c47220fe891b38f95322155e089aa5","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.8.tgz","fileCount":48,"unpackedSize":2642084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMm6CRA9TVsSAnZWagAAL8wQAJ0v3aI8eJCOxGBu1Wx2\n3UkOgMR8KJ00jioG0kZaLjpPvGA8W4+dLRQ8qTA2MnyNq6uTWeSmm2Q5nOlV\nvKEC8o1sVkoLZiVFsmG+d1NGk6Zbn67kEFq76O5BT1jKIQ4oJGweWzE1K5BZ\ngMQ6pfU0X1R66wSiM+cS3vvejzGouNYT+umJzrw4aspm7mvTAqTofMTjfq0M\nibicI1nvqDBwtd4DFWedyHDXlc6Xi2TSuLN0x0yBqpz1ypye7wV06BUrKxTV\ngle8g3Q82q9k9Q1VKtLOuxov1v6k1g0WQcklrylO30vd4BFg23qOM4YXIMeD\nJOfJtiHPH0FVsqCbVfKI+NX1aTYHP376Efa5VFwzcwAzoLtyxAFoeNkAnpDl\noOW0jDWsaDeTFfAfREm4uVLhuHc7Xia70YP00XV5YHHYC3sE5LouK3k6nDt4\nH5rpQvdesJSd+RhSkKC9a6hYLYsxkDEb/c6FIzj10Up62yvqnEd8jegB4wul\ntjpv4qDZ+9LAgDtyrPyjX23M8SVqhpluArT/TkUaEQq8TyBbs6JieUld7Fvv\n8kji0MOX802N8gHqXX9lBdJrVhbKTd/pHuLl7kUvGYP4ViTAWXeFgsY7bSLZ\nSsKuyHZKABL5bNxC0Pj7Pw4RK0erQSqLqjutbuw5568gUge2fiA4XkDWRlG5\n9TQc\r\n=Ckxu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyWH6ZvmTy1Dwsgb485vDBRlH7/Bvzi7OJANJLz6ppVAiAV5jAyK1qCJsw880J60Ge8qM2iFs7ce+fU+P3QNJi0Cw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.8_1585760697480_0.6274219898202633"},"_hasShrinkwrap":false},"1.0.11-alpha.9":{"name":"@flood/element-cli","version":"1.0.11-alpha.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.9+421fcec2","@flood/element-api":"^1.0.11-alpha.9+421fcec2","@flood/element-core":"^1.0.11-alpha.9+421fcec2","@flood/element-flood-runner":"^1.0.11-alpha.9+421fcec2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"421fcec2742e2a7a0af45c9a256ba930c33e0a43","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.9","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-OQu1eLuHPzobk57N4NOONNZ5rELdHgSzDmqa80K9/1rdpFHU/WPUJEnnSu+6Gkyp/x4yNsyNqG5D0dIerFeZlA==","shasum":"15bfcfee92d1f4e872e3a164ad1c20e821c4c9bf","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.9.tgz","fileCount":48,"unpackedSize":2642084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMosCRA9TVsSAnZWagAA3aAP/RcVUJV+/LN9Imm43042\nc1FidT5pBp2BMwMdMWyeJ0anl9xl2/Y2h5wuOgC9GaG6w2Ud6fVX8S26o9fo\n8g8PEi/QamMN70UY+Fn98ljY+lV71rptRcOooiMU+ijA8SAW5aXZxSRUaxWI\nqqWy8M5j8BkESBvHThA/6ObR01/PindfbW61iLigESe+rS5aJVNR+79OvdZS\n8MI5FpoW4dbdWh4jpRwcoiPWgaJdCYvRrW5OTtJOBsMtOnALveJCg2tmA9zq\n/DdzGarlh3dzxEKxe73iZF/va24ttlkIBUwEbB7UwqZ4gr6xMvECNUz/N8e6\nGO5lF62Fh0s6iyZlxgavbQJ44f6caC5CCVZga+AI+cIv6TCxbH4kAXstLl4g\nAU/w24nXiUH7R80YguZbASBDYFbFXGkZfbVBhDwgk5+W8gbGajeXo4B062yJ\nEaVcCg7jbcyU59/V12+YIH7Vf6jIPFgxz4wCPLJY6hwZj2cFFaOtoo2MSy6a\nsackIztZrjiQ31AtcTm4EGQdW/AmAZ/X4MiiXFxKA+rozMu7yRkgNTDV/VfX\nRInvYzvPw4lY6WPtLRDbbn0NMfWda4AZ4BFOrqQK7UCKV+8QOuWpLsVBwHCc\nEJSh8g0JbSAulrLs0MsKqTnsfTSMh9BDJ4k1JyqD0kV7/IVm2k3TcI2I1Z0f\nHvph\r\n=2KoH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEF8JhbpysbZWOOMughKzFhPDIf3SMtbeKKJRG1rXY+GAiAfYWrR4TJJCy8aBZ0ve8nz0ZqGQrgxR+iN+IwYYlRO3g=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.9_1585760812481_0.8656266917978395"},"_hasShrinkwrap":false},"1.0.11-alpha.10":{"name":"@flood/element-cli","version":"1.0.11-alpha.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.10+f9e7ef8d","@flood/element-api":"^1.0.11-alpha.10+f9e7ef8d","@flood/element-core":"^1.0.11-alpha.10+f9e7ef8d","@flood/element-flood-runner":"^1.0.11-alpha.10+f9e7ef8d","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f9e7ef8d0942ab7c31b8ff46e91e6573d602ca43","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.10","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-e0aQOKN99x56ui+xjJFV2nGjPXI/R71sdRs5Ph/F0/Gb12H1YttDouxQwswl1AfWwBoLfncyF8BbYV4wAUSHRg==","shasum":"04c8e8e6adc7fa2eb12fd4fade49f1e0c07747c6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.10.tgz","fileCount":48,"unpackedSize":2642089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMuBCRA9TVsSAnZWagAA424QAKHOiOfVhMxZo4HLRYlY\nUrfbRaioEgjqzlc3FnrSzOYKY0hi178Q7IU1vesJ1mCU7Ibf85cH03YdX3Q7\nlTaauzWI2IuprEZT4SjJbkV5/93jgQAf0pOg+cmxt8FP6GHqCpH3YZdCQJ0Q\nMKIQXg8b9pRUJ1mvyekk1HCZIvdte3ggeGDa6EaP6qfazrHDiZFJRal/u6ab\nLFd2jRhqCQAyA4VqjvKaweWXqrZsmb6MOrix3p3NTNa+T6tLP4fNtGA39j4b\nNr0tqpdOR3CT3BZWrbfFP+6vrPlkxtrq2KQ9mkxWglUV8A/Y6BYCEBqStR2q\nIj+jOE86w4lG1WPYQ9YLiiRg2skl6VxIff1VN+sS8krfBUzskeuWlCfsmU9A\nHTfi0shxs/kFCZTrC7pCEKR75kTRI+Ej4rc4Yuphy8nFlpRnQok1PSr31kGG\n4eQNsqphBMwIDpLiU8p7iDB8K9irEtXq4cA/MhFUNWkRh+AhHlIMy2HnEAqX\nlNTzA1REcSiz49trMCtvo27tzMIdtcB+6JvenOX3NKR0lFW8HRZQ2aEz6PF5\nZaTUQTR2Ypq1aiTjYWnHg+fqiDRHELoaC/DhuNVNqUL4SHWUi+GQcU4nnL0o\nEVqQFS4I3b3zcW/ORT/xVii1SczRdJgCNIdn+thT+UzqaueWcNkkodPIUWHm\nmWWE\r\n=FJRt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcJgzZzlKMQRsfsQ8l/4rVsG7yytYio8z8cxuN0XDlqAiAcbz1ACoS2TLziEpUxi7a4Cf/rG79kkp4RhiYW+OL6cw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.10_1585761152612_0.8204257615534787"},"_hasShrinkwrap":false},"1.0.11-alpha.11":{"name":"@flood/element-cli","version":"1.0.11-alpha.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-alpha.11+b88e9045","@flood/element-api":"^1.0.11-alpha.11+b88e9045","@flood/element-core":"^1.0.11-alpha.11+b88e9045","@flood/element-flood-runner":"^1.0.11-alpha.11+b88e9045","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b88e90450c5d991d699d26408966cc2aae93c46e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-alpha.11","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-QDryNCINS2M6Tl8J5H2BuHAdIv2rhX6LiFKjYG1PN4DnUm0+dfCDL8w0n5A2OypIgFOx5Npgq1eyY9+HKmWzmg==","shasum":"b31931723e484f39128680b26aed062723f5e362","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-alpha.11.tgz","fileCount":48,"unpackedSize":2642081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehMx0CRA9TVsSAnZWagAAhFsP/3MjfQOtMuxDSfHsGm0Z\nrJWjohe3kdxb+RckCwwmBLmCmXRUOrw33qXiYnpjD0DbClR1bLwXDs8QM0/Q\nhmpAW7pByDx9944/ZK9uXL6HQeaCrME9upbIwlCmITHfvITTTVFUXZI5CKnE\nOvOdPU2q13okjMMupMYXaHUOb4xBjbsrDW0RqmXfCb5TMmnWZX7ODJFP+THe\nqhErpYb9tSWcR0sQx8fPpA4hwTVqNW5ULOgCezrpdyHfrRa5E4OiPZI6054h\nTs+kfm6f5THLbn5d69r/2f5tm8DhBhJ0cG5oBVtDcfpQx+6shX9qJCrBeGtB\nrGG3025fEmbDXeHkGZgEj9MRx+R8BGrNVi1ZPPe9jWqRuYweVa6wBVMxTwqo\n9P9+/5Uhp9eJiCbsjUggvfd5DSwT1ulAnFP+ptj0a7tnMNugCHM9GpRo2Df+\nBjrO9FNARaxXFAYYiy6CGaj2CWzvZLgykJuaKeF1dnvkIjmDJChHBk7Q8WMA\n0t+9iuznf1LbBv1UITik7G0+GQLyT+Gu0I0iQiwMGeUBF5/jmYsUsotOG4Iu\nwKEwrA5y2xDqEs+nKByubWARC9Fn3aqSUHodI88nC8xAuHpe4zvVNNImV7pi\nk7cTNRCb8WmMInuA1QK5JKmDlXlkdkhqTz8WfcpFtkR4d/ucBSe0zT9ZOCv5\n81QK\r\n=WAjZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCd55DKJNxBAdMCqf7ZZCKN/aAfkfbS/0j9ClMqfPRLhAIhAP60rTJddIvocAeFEoFLoHHb7ipkAq6Cz6K2pxICG01a"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-alpha.11_1585761395879_0.9400434091134391"},"_hasShrinkwrap":false},"1.0.11-feat.0":{"name":"@flood/element-cli","version":"1.0.11-feat.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.0","@flood/element-api":"^1.0.11-feat.0","@flood/element-core":"^1.0.11-feat.0","@flood/element-flood-runner":"^1.0.11-feat.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"fe47ed45a602f11773e2a137e0c5ec0d19b7dab2","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Y+Q/SLlaSOyvfrMZZfsLVDvt5hG2BHBHqFrQA91veOrjhGlHmq+J0vfAZIMlpZM77CyvWe4wdbIxiWVCVzIt3Q==","shasum":"a87bd6589e6fa13f37361b997396a634547d5499","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.0.tgz","fileCount":44,"unpackedSize":373340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehNVDCRA9TVsSAnZWagAA6FYQAJOTfYk/53750EQV/GQi\nMFS7MwVC672YNvEngeNAUJexfdeXLdmlNIiQP/PS+9FlBJ/ihrXybel8sG06\nEdHfV3E0UvfkCFOH9Ubl/B2YOgWMcHINXXx2JZSw9aQAIylNpIzfOTVi2v59\nIzNW253qBVy19yY3cVVkSk/1eefxs7ih2A+g1hOKplv5OsUOHR/JYcTr+SB/\nHFF2k1OxrVXhdRdTxNXJUiCEZvceOPHRtG8oBQ4WEImIYYiTFi4nJqvkrFxs\n/wedpDkJYI9I+cKvBc+ClslJwBV2FthLGmJuT9qcdLIYENxONhQbSNVGv9MX\nnorUlckcfIGpNOOzhaxPqPHwqe47dIqi/HmpGzCIwYEESDDCOlhBtso+6cV4\nMqkGqIAWf0Ca2/1zu1vhLq4eO/oSWThffuFgU/bp5sZBDrOU22CXUguB8iEl\n+wopMM17PNnonbSoNRpzLWgC2wxYQOSlDs5SJ6KY6Q55xgLZFtjDnheTSd1G\nfney4Lbl/EM1fW/fOPkbnUHCB0f9qKn7Vj5Kw1kRyGSCZVpJUi8D8nXkZSrq\nipMv7TFZOZrEM4nf2Q1tO2Zry2O/AqVEvwMMIJjXzroLkKRfhBwk2thoAC2Y\nuoX1Jtmqi0GHYnXB/YawINeR6CZ4BbnuvEdOcN4K1MLwnHj1nMUdXW4fPFKZ\nRAjH\r\n=dRer\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCg0kegam4fEiQnoGWepa5Sw7ufxhmNsWg5cg1x4FxK4QIhAKEqFV7cGuzRT6oWO4Xn2F1ycYteU/DhMq7cUkEN6zER"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.0_1585763650933_0.7224002945221044"},"_hasShrinkwrap":false},"1.0.11-feat.1":{"name":"@flood/element-cli","version":"1.0.11-feat.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.1","@flood/element-api":"^1.0.11-feat.1","@flood/element-core":"^1.0.11-feat.1","@flood/element-flood-runner":"^1.0.11-feat.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"6e197e9acef24953617c53c43f94a33753756c6b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.1","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-dXOOIWPr15cLRaUD2uDs2lj8Q4Sd5eF0TSoZAEU6D3ivs3YpxIg2fBhvhuxKcQkHeajDMuofb9OCoQYw/khGZw==","shasum":"bb9cee432f2c85bd8cd3b6991581623cb5d949dd","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.1.tgz","fileCount":44,"unpackedSize":373507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehNhUCRA9TVsSAnZWagAAxc8P/2HdyE+7pc50nXUJxzaI\nsG5Zn/B8aYZS+Hwp8lMx06NrPX6EozUZ50jjtQ3VeF2ccFSXi1GJW9Y3cLGF\ntjm4/OC4+CP2TsJ+VLuEZRGNIsMM0IaIh5/AkI6OZ6cl6L/hlEIwXYoojP/4\nAfKiEajk4HqkyJDEc9jmGLLYqzGUE44VpI5MlxA+m919/U6G4xSkUf/5R4MH\nzDFrIW7UB6TRgLJf1xI6svgKvhkntjydjQIUJcKDp1MTse37yAZlYcUwm5Er\npDfZP6NonvvMiWXCxf1pHrXufuNTwnTu4lPCTV+R4hVD8qXkbJYGIfDnBJgT\n/rCrLSTm9A7g0LoUUMKTA6DVQesZnxXEFTHgxu4TG9D8fnI8ODtvD7rud5dj\nG2eYEinYkLroWXlL6rvcu0c1+1+ed0EtJ7EFxY5uNlpI2f2DY8skckCJlz5a\nIbeiH+F87r5APu93ciyoKYpIGYlIhWUw1JioSYfKvxSWJiCIHqFQGy9wuFLy\nQpPzn7dsi6LahQekP1O1Xq9+YLrOkaq5IpiYhOYtpK2ZsrTZiXZBpL9m6G6l\npVcDwNxBT1+NdKsHV1rWbZkTe2dQz5NMyY5yHT1bl1GWCrFEsEVYo4xSOEOO\naIBEt1XLYctWGlSceXjAU9C43D3AAsI0zCAUuKW+l3t3S0s0OSnYSjazhtCV\nUx/y\r\n=qzcj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrChVeIaRuCqOMsSGS6iIDC3wjen0ZIHsBC+hQsABBzAiAF5EB+GaJZbgoTCxsBKm2u9fGVtC7Rsgm+36ZqjxXRkw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.1_1585764435446_0.6416290824182793"},"_hasShrinkwrap":false},"1.0.11-feat.2":{"name":"@flood/element-cli","version":"1.0.11-feat.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.2","@flood/element-api":"^1.0.11-feat.2","@flood/element-core":"^1.0.11-feat.2","@flood/element-flood-runner":"^1.0.11-feat.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d14161e2fd6290bf6664314e38e21a71a7665fe7","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-pniYtzFmE6a25Go1fwqi727xd2Nl0NvIFSQP54e05ODAbytc/HcJupVD/J2Rxntr3p1K3j5fR5mwsrDiCq6hkQ==","shasum":"040b7b8c72d225975b83e55dea9685764894d4a0","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.2.tgz","fileCount":44,"unpackedSize":373602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehNm7CRA9TVsSAnZWagAAnAUQAIKjlAY7LXPlQWU8dSgB\nsObkE2A6CxTZzImLaH3aWrwlRdFOOzJOufmacrcKV+MGzMD/aFwBjNkP1Osh\n9lyIpZk2XvlVkurZGTldyJiTm2AMYQvVwpUEl43OFUeygrIIxFNhkx15SDiX\nXZhdXYm/90UDlHtCTroJmMCXnpPx8g1+TiZOKcyKu3IrCrzZWA7AfEKqXxcb\nxxQs7H3Fk3XW2v8qxWkBF+PM7KuLChsrvRUzyjUYU01dPhRIbTa5OD4JNhjI\nuI0iJ+gFEt6uFr0jr1eQIDlstByDu11i3EN0yNDfPc4NhTpzrrqxJk1pXns2\nb/olJG+ObTYrHsDn53Wgamw13cPCP3BoolEuJ91XOXeBXlR/MBEnhRqgkR5X\nZ4gCApZPFUibXw2MQ2eviVotGLzXIJAq2mawu/7oZEHypmlpJ+E8UkQz262N\nGgxShnD6XngYPGxk4lofn8VzdMpbkQV1gOkSi/4LKcroAQoReSLm7VOZ1ENs\nYgOwR9awqOA5SAGaVHjn7QmJmYxC0xPxKvkqArv8wp9rGi4e/rUDEXkewWfD\n+GwIkUMRc9FS/l1lQQiA7AF4djBDPVWdM4R1VpA+gFfMNFPlSnvdu++Dh6Oq\nxRdBEdGagM6rmDEKrqIbDupHHC2gQPFIso5QjksTGGD9fEis/bt6r6C+F+w+\njwTz\r\n=swg2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFE/IV/qVmnXFJMX6JryBff+iQ7b/ab2JaUQy19REUnbAiEA6rQ9yzn56rRH8Vy5uZr+9Kh5fsSEqY/KCVJNfDjochU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.2_1585764794618_0.8626413865661917"},"_hasShrinkwrap":false},"1.0.11-feat.3":{"name":"@flood/element-cli","version":"1.0.11-feat.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.3","@flood/element-api":"^1.0.11-feat.3","@flood/element-core":"^1.0.11-feat.3","@flood/element-flood-runner":"^1.0.11-feat.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"c29b6f83a7240a69aa8429623d32b0accb909f4f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.3","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Vh1voKWw7AsDZxFkyYFS4mOt6sQ5BkjcwRwzwxgKXVT41x/75fa9O0VxuxFPr9pDc8ZBwmWf01WPDOP0yW1Tnw==","shasum":"70fa3b2682bc5f04d526313703d87611bf829f67","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.3.tgz","fileCount":44,"unpackedSize":373697,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehNo2CRA9TVsSAnZWagAALN0QAJvRSIcISwrCgUYOBw9O\nYkmBFali0nuAdoul1tFSL8APeUz62qeGsuK2qXUNKK6JXThFEDdVUbr2L297\ntMKy7nyc60B7LMJUktpQg60IpP+y7TqIByA2o/BuNaCVlroEGTgDcAs51hfB\nz5NJIcpQrP5DyZrNnH9jI2in0Uo0rxEVB2c4JV8QszYDcEvu7LZ8QNzYpFYO\nPwHMzmOEzZc3v2J/wXb+y8o1Xri/Wfw0ACY9Jw/OPWLHRBnsEmaoj9699ibM\npSBxCfgctE/L+CVRNdocFy2VAzaI9lPzNmKuZKS8PlS+t5mcNjVOMNpG4+es\n5OMoXO/Reff1N0v1hOV/2pCGm6aSWw9J+bFKToqfD43lJqiaK5pHPDNgMkEv\nX1TX2H0JUnGrBRPVhMIe6sCPCAbgD6oIQ/fieSWCLIrKsnxSu04FrkK/lUxH\nxsRElyz5nDMRSiljB6V/cw7U6gtjmHibawmrpkjwOh58gaEkHI8xyIp6IXmn\nWHdEsM5kgFUAP36gmSV1KQFrCecGjQn8cu6fSOSQWb5M0H8LDF/LODOyIAOx\ng4B+oJljoJRf+t47JFy7aJB8ydV/hXdIKrQ6ghbf+FrkdrFFKyq4POAimdfj\nVivPAb1F/MA1h7r11HH2huxQuI/5UCxQdKX+QXLfHBp9Adnb3jEfwZYXJihm\n0JLD\r\n=mGUX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnUEeBA8momiGyrSvGgv9qRyxvWTVYQwpotn+bdZNJsgIgV0v7XM3afLRLCco9W3BOcwbYCsu6Kk+XGtgm7LlYQA8="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.3_1585764917694_0.01435432737384068"},"_hasShrinkwrap":false},"1.0.11-feat.4":{"name":"@flood/element-cli","version":"1.0.11-feat.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.4","@flood/element-api":"^1.0.11-feat.4","@flood/element-core":"^1.0.11-feat.4","@flood/element-flood-runner":"^1.0.11-feat.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f22087608b382e19ead7d313a418635c75130dc1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.4","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Omzmd1KP3uH/evIolWHSMLlE0law63qhkN0FJNFOzMPpKXGsqjWViLWzsV/Qcb+jsBMzV+rDztCmat1jf3GbNQ==","shasum":"0277f4cc08bdbdc8611d47f7b872f9d124db9579","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.4.tgz","fileCount":44,"unpackedSize":373792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehOBLCRA9TVsSAnZWagAA1dQP/2xYtfJgo87wEc7EvBqc\nfnCR80hhAA0hiNUO3yMYcWAJxwV3HIo2l6SdJThz4KlqsaQCzdLwYK1+Q4x9\n/j3Z3R1cGdoVL9m5TEyuZ1AeTJb1Kjk8QFTCLkhhWMZhJGGFE1HfQqe9HbK9\nZc2leICxmI6hQCvUaY1I7hJAbzFVFWFD7SVTCrabcNlSxmD88oTmJZ8zNwxv\nQr8vUTTbmfQlW4rUtqf1OJaXWNjWp60EyZAoQssTAQTpJFil87wR4iivmWMh\n8HIn4UEKdqHJkDqIZwmVbHa9XfOoXqD1UhFZu3ZM6v4z5oA10Yh9j45yXtyE\nLSL04OtTIctHr8WgngRBfixczglWVEHb9KpQKDQH0AZvmRXYRzmZ3EO5WWcA\nbl2zhMf6VTfh7j5WVt3zoKCC+d/9DMEQIFbqd/fQxMGpeBTD52LlPkZIQ+wN\nkqGP5RNd9c1RiHOFaORJMQ0uVbboTDIP7sr2wSMoNZyZe+Lhb14ZJy+NJfRx\ndhFSEcWnHmwu1z8+BBkOzyMQ+GQSGwU7TWiW7lZ16IVIiHl33eEPboYi9aiu\nmuOd4bKYwNvzKas6qy6CLeok20rU/4UsCtUiIQFmFlGHP2R8X4GJTSy4fFdJ\nwjqDLSFEKtn2GaEkHtKzjoQZJn/P0sdiD42DGn0T8QozIZ8G2oSdSMXr2Gg2\nuA99\r\n=pGvF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEH6WTdWW2YRgYXYh23gpzW7ju8HyALVGeUwDJD3kufvAiEAu96u5f7Zphd6DE9vE4/IFPfux07Ilhq97MIwUpN+ktE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.4_1585766474447_0.5356272424749238"},"_hasShrinkwrap":false},"1.1.0-feat.0":{"name":"@flood/element-cli","version":"1.1.0-feat.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.1.0-feat.0","@flood/element-api":"^1.1.0-feat.0","@flood/element-core":"^1.1.0-feat.0","@flood/element-flood-runner":"^1.1.0-feat.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"21f397826f723296596741d21842a4a0c71a8343","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.1.0-feat.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-Mozj5TNzKR2k5oGU293XWbixZU3EEBPXcKCAeUz2+1v2E98a/Z9spP/qaEdgctAWy1xtiLsdz7xuctDNTt42+g==","shasum":"02e82b667ce27d084c2e24f571c3dc610857564c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.1.0-feat.0.tgz","fileCount":44,"unpackedSize":373983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehOEmCRA9TVsSAnZWagAAvw4QAIoWbbs8p3ymcNm+retT\nVaih120tk2CAVNUqWIyoWNeuwR+67MVR7Lf8q9FKoOt2VzJ1OhkRCKWqPApL\nlED+aXVbUYaG5lvGh1lH8zqgUolWCcZWfYkBHNAwvndW0b8qf0VsGUOIpDQX\nepKwxQasyxVt4Tou3jO8Qs9LcRHELPlbAkNHa9F9+CWOKwjU3W5if/cZaGCI\ntgGLBVJyB+uXiOK+JHNk1Ny+qrih9ErBsq7vtL26pJig+l0R0DbsfeVvIw6Q\nhVxoubU5cfjD6upoFl5c0OtuD3kg1nG/tGHP2SqsNaek+MnmhdqH0Ox/Peih\nd8mfXh1NkeqK6qxNPxN6crOlMzZ/mxT77qUJrwfMuVifdn41cREzVULfCKCr\nQC6ojbC0o/bEx+yRJG+eISnfBy8qeLDQv3g6HjB7gIx3UwQFI/UF6QwGr1ys\nvL73g5LnryaYMo6EV52nIHudmQxy1+xaTzgKWWdJ6ucMnYYaOhXQYB3Z7vFq\nCbeAP/2rwrghtwdUYCurJz11N+iVnjFqrUQAzVESyntGGz4oxrLe1LWxw7zx\nKm9ujU7u5q5mD3cVAT/728xfweO6xIHFs9Ev5u5dSuXo7TdHCPZrtqdcNSqH\nU9EjpMxfB9hmxjvzFsxxoX5vkWxcqnXiS16ZuGGGbAKHiu0Ov8asuD8qyQyK\ngtXm\r\n=wTxI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjcR1Sdun5BVtzxz/zP2VuFXoXHE0M0HrV0mEyK4sxiAiAfT1UF6Wx7fpMfq2UedTfhTkXQwl20owz8wvB+FcDPDA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.1.0-feat.0_1585766693912_0.5614566266525447"},"_hasShrinkwrap":false},"1.2.0-feat.0":{"name":"@flood/element-cli","version":"1.2.0-feat.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.0-feat.0","@flood/element-api":"^1.2.0-feat.0","@flood/element-core":"^1.2.0-feat.0","@flood/element-flood-runner":"^1.2.0-feat.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"80bb2ec53459f378da7ada04ed125c8b13d38b0e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.0-feat.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-kDIinj8OMu05e0WsRFflDkbCq1weADN4+rcGQqsmQrc/q0b+XmphTpQ+Mha+Fukq0XdCeDXxnTGedm8b5tPcEw==","shasum":"c4c0ddda4eb9f6a8169f9d266d674304c2f9fba2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.0-feat.0.tgz","fileCount":44,"unpackedSize":374076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehOIkCRA9TVsSAnZWagAAefYP/0BtCxoriCQORAMqx3ad\nQ8fmDAJHEVJRJr6b59FdApPWsyzPCBAxUG9i93v+DBQwk6ZIzk9lBJ0G4L4h\nPg+UqcwcInUkXhheuwsAZaHBIlIOG2RkIyCCBeShfVWbzzN1ex0g7L1B+zzA\nerH0DXre9hSvv2KGS6gyC5+6TxIrGzqTZuIG9rsLmlRmejP2bhgOgd6YXGm7\nWUJSE1acZRu/Up9OrmFvlH04sb0yxoMKfLVQ9tsWN69opoTRX3c1s83EKsdb\nxq7sey4osbBxWUxsaRq+9+IJwjcTy/rZx1VOfsNIKllblTzpMZuNB+FninE5\nT+OvhSxGUZBcFKnl0fz21eeQNBR5JdkQruWnSctl75uxPZhcFf5LQ9rpYe6W\nsJckg9P4Fn4D/bMzmWH2KBGDKP58/JO4NGxIdP+j4sRGhoKMVTqT7rWROovL\nI9GPnGzAIRmzn1ty5mOL+RSiQoIzZBMt2V2wHsvX0FVLf7W2gWuELsc0tPiC\notgVjSr8GpSA/irLt+i07doRbGDTc18jlBkFnhQiVUp5RmIlJP2k4HJHTwef\nKcrpZgdrm6PDW3yAnP3pSyRWzqPq0Gnti2uRWEuJ+zPd5xAL/5VVNklM9tj3\nH3mIhhvgvxZkp0a4lSYFPj/iHcbCPzwPKsWyHsRkh3WA1IrDHSCHcfm7ibsE\nrT4A\r\n=p+3P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIJ0wfTfMgYXEuqJXAb90QzfucFXwq7pMufqlzzX+MYAIhAIopW4cvXu6tgWMPQ7H5Gx7nEcKp3cw5FkoA7hnW7IOR"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.0-feat.0_1585766947690_0.8429019347785907"},"_hasShrinkwrap":false},"1.0.11-feat.5":{"name":"@flood/element-cli","version":"1.0.11-feat.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.0.11-feat.5","@flood/element-api":"^1.0.11-feat.5","@flood/element-core":"^1.0.11-feat.5","@flood/element-flood-runner":"^1.0.11-feat.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"7e6ba5c9a0ff25b05551afb55a03fc191c3fbf13","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.0.11-feat.5","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-ZFMz9W0l1kexDlmOm8HpkFRv/VQzhXDiqFoYqCv813x+KXOPSsfG89RFFCs3M/JKxMmbXMqe8n8lQ29pSictNQ==","shasum":"b50e0ac4e5dc0cde418024dfb90f7e81b7274079","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.0.11-feat.5.tgz","fileCount":44,"unpackedSize":373887,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehQM9CRA9TVsSAnZWagAA0o4P+gIXYFkdJUrTHxhgZik3\nnu0tUs58dYVSKPpxV64GOnKGAKMHG/xciXdlUqE0xJO6VXu1xGjMDE2tPmPG\nw+xdtvKTW822Uzd6Dws7tJXswyZ2dqyeRbylSM5ZpP7WEok07VgMB8m8zC6H\nkZZtwboZBrUhnX8vmYupFicoJbp2VatU8uGBoXeFQGTheDiCjHO5U6A76FoE\nK+rPlMwL5VoniYFMuRa+hqtdJPt3v3SEqx3/eCyHRVqpWfE5UVH9S4LPdXKq\nD1dP/JYJnRi61PIV2AoRm1i9raBVVTQdOb1eq0aC9Llyqvbzlo4ARKFR+RVu\n9Yo9JM05578/qTvgpXOJ9SOgdUYwMgk/eG8kRIsrgpjNXLz7o8Y98aIIZpUi\nv0zKpAyI1XrQ58Px4yTtzbNDkCR4S6AvksswHkANbn9dzYyvUj1yPtGGsxYH\nmRKjYU4By0hkgxRFPkMSqOckAhYV29+lLOsz9JTL6SNS2kkoGzHb3awXecDi\nWRHLssFqXsnwMhrKSoUNKsliUjBw/yw8K1UJXBb3C6Jbk3Gd4eSveen9efKz\nXLVW60VkNDmhepkVIHxXsnOZhYcUXHWF+qJ93jjMEDEVZiMhtzQQELYt/tpu\n8K5K1pmOLeSvYgS9WcXuiMp64VzsH2Wcsp8Tytn7o3LXq8i3APcYgilEBz5C\nlN2n\r\n=C2Ly\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtFtg27QZ8jkqVviuoIZEV97ZxHe7x0YahW+gLvw6AFAiEAowf8d3xdJrRwIm9xDK6cjO7k2wL+j0bEYbKvpzfhDR8="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.0.11-feat.5_1585775421368_0.3543022131624276"},"_hasShrinkwrap":false},"1.2.0-feat.1":{"name":"@flood/element-cli","version":"1.2.0-feat.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.0-feat.1","@flood/element-api":"^1.2.0-feat.1","@flood/element-core":"^1.2.0-feat.1","@flood/element-flood-runner":"^1.2.0-feat.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ad62e2bed7ae268fc733cbb6f7449da4c6502334","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.0-feat.1","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-WqlHjmeOQhq3jQD2osfg/9aUM/6LFikWFOvDe0EhGp6EDTWCbVxiqd9VHDBg7w6OuCwnGOKcSFfzixcAT6gD9w==","shasum":"1eaea733e0d365ce5f0891e25b9492067326e173","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.0-feat.1.tgz","fileCount":44,"unpackedSize":374169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehQQYCRA9TVsSAnZWagAAqREP/3/FEtQzX6eef9HvaS86\nwR01bqyA50rC23HV+Yz9UEdYwnjkkWufEJ+/Rsm3LXjvWzNN40L0oPd0hp+p\n1u4J+R/nPLR6BjvPaMoOZd0WliA96nZABOabVksusL8n1+uX9rNOPiXiMyKa\nBKnoWs4dnWJuCMLSi6T6bp9KnxznFlA7dr4ajK6Xc0O1cPHGPApIkOLtQJiR\nhlG1SSxoEnp7Ajis8FWPyXb6tAjecfEBGQyXb5CQppbu49ITNsDdX2b1BE9b\n6RGycTcOyQ5jxb/MyReiZWgYonU0eCYxTLO7JM6VJmdAeoSyJG/+53KA30aV\nSHfDJJpS3vTyEal7lcf8dwT4OrH6XHD55WTIorrcdy0bTl7z+kyxwtUXGttQ\n/n5+naIJnbwFguJNCrH73A16a2NdOFfq+onZJRDmHllll3s12V/IzVcbk9Bu\nwvX6M+TEAms5roF6cd1SGcO5oKBGSH99DumRAvEfoDjnwDB+3C754b/s+bzC\nvO5u7JAQvNWf+/cZy5dwNUSEfSIEBGAVdKEj+/PArl6Al3boGQ8nCHz+zlAK\nf4IFJE9X6noABD1fBmzccRZr9kUv/gwYOmxvOSK+ilB7UU43uD93GRGrcpfb\nSerkc0gEwFXcfVSiNdRVdO8uq1rcEnC35hFxFAbZ5umf93ZFwZr4k37fnTUi\nYh7e\r\n=D8nB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTpX1IE1/4GR1j+QxCH+4YEOnuBI3E7jb6mH5O9AR/BwIhAIkerSlk+39wHn5OuhObNvrQ1qCP1++nzs8jz16TqHSr"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.0-feat.1_1585775639528_0.5576860212053278"},"_hasShrinkwrap":false},"1.2.0-feat.2":{"name":"@flood/element-cli","version":"1.2.0-feat.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.0-feat.2","@flood/element-api":"^1.2.0-feat.2","@flood/element-core":"^1.2.0-feat.2","@flood/element-flood-runner":"^1.2.0-feat.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f3112b9365a0888c706f9a12f27add3a1eb4f42b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.0-feat.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-0Z2ZLPjToQxvUusQ2g1giXs5Nm0NTvL8wyWldRSE+U37TVHzUcBuErpSse4ACKbCWVLLYkG/2Qwt7d0NffS+Gw==","shasum":"571c083add87a8f2e3cf5197e0dff6bf02743e48","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.0-feat.2.tgz","fileCount":44,"unpackedSize":374262,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehQbDCRA9TVsSAnZWagAA49kP/3FTGS6uDnOcZ0B2qp5g\n5Ujtt6LtkJ1VZuZAA1+gqUsN/tf9Qr5uTytQyJ+x/wUTTDEvl2KZGm7TDjbf\nqd9j5lEQAZd/BDMEjVfSL0yWeSHXseGN+y2Nx+Cw0unZ05iKBn8ba6A5EidE\n9gcuOgzQbJJZV8/QOZ2rAzg9UwXu0ehRyK+lQWBVI3Acrh3lF1lncZx77TQE\nUdgRyHjfMUwlShcGg9Gngd07ssMdW09+ePEwMjOe6SF5PV5kCj6jixY0Bnqe\ntDagOZORkL/eX+ZdEkiR6SfvT73fbrdygnfRZdUPRxU6dOrC8G3qiAVBf1NZ\nQSnvPAO8/8/6m17AgWmFffJ9jcSmpzYp/gXl5apsFQJ2H7Wx77umzDmZ1ax3\n07Z7MaLIwX3Aaaby8WL/0QMpBEk+WXpTQ7izAEZgEtEB/u3nAgjryeKx/xfa\nQn15KVMBRZK7T52ih7YH9fhxTDaoublN2dcPncWxHdFbvu6Gs50BCb4nFP4s\noXGn0odKS6HxiV8qGMusoq0v1exa5llJD5mU2XuOCf0vxMK7cf/YLu7FcK7g\nrqRiBelKBgSf0n8d6N2bnAN0P26HTXyNmLWDVfbQKaj4YMjZ97nyu32klQ4D\ncTvM93uj/jESwcac70fqlQOtLDl5pgaLF283IloPSBI3E1nyj3ZqgpCndJtq\nEpEe\r\n=A54r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIyXfg8mEx8l+SpA2vqX+AnvDGyWrmDo5lrU5fWZuahgIgVSA2uLJ/pPNLX3a1dfHqTK2TfxZ/8C41bsUEtLGcVII="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.0-feat.2_1585776322743_0.06777383173668072"},"_hasShrinkwrap":false},"1.2.0":{"name":"@flood/element-cli","version":"1.2.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","prepublishOnly":"yarn build","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.0","@flood/element-api":"^1.2.0","@flood/element-core":"^1.2.0","@flood/element-flood-runner":"^1.2.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f0696fd72d0ff2a026a8955d6d8bd12933ab61c6","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.0","_nodeVersion":"12.12.0","_npmVersion":"lerna/3.20.2/node@v12.12.0+x64 (darwin)","dist":{"integrity":"sha512-QBFfZA/O7owggZ9OSviSLpcs7RGmF1OjHvRBYFSXL20qNVarn664o+aIwx1ENvpf+zwiKTnmXTy81p4hwSK/Qw==","shasum":"ba2d247aac87700d0fc0e659e6fedb3e80863891","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.0.tgz","fileCount":44,"unpackedSize":380643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehQ7aCRA9TVsSAnZWagAA28sP/3JSXtbx9PjNIES+W1Zz\nNtQ1r1T823Ke+5V+CGqzf/inqjlDFcU7Mh6scLer6oWHSJDzAzVwXKTc9oKD\ndbAFoNySTtGH+9sWLdWMFEZVuG+XVizh7WhwrMzNO68rulc+LRDiu9bWGMmL\nqo763k1QVn0efP1KsSY4geysKd5zwyKXufuUpMs7JByHhIINneonvU3gb7DF\njTqiw+JOoXTCkj57fmdLN8HUKpIh+18bHo3KlKTMnKh99KUk7L2ts5MdicOL\nMTIH4YIrpyjcKnFNcBZaQV8EaUO4yUmCWjA4ITBYEandYPpZKIT7HPATKBke\n9Ne7DrWQeIsqw7jatPUZI/QCYkMUpbnyWR/eItNdxLzkanObvn1dBLj1Z4UF\nquH2MRlRowVvgFgX2eAidtIkIoimBaWCAwMAk1fRs4L/vj0z+X9JgE425P7z\n8hn/R/m1qsQMtY/aTbVHu7OvUECX57eOv+nbT3GkR7hM0vLHiSgYnn5v3rcH\naNmDIYC2om7ISW+NhftyHir/P4Zp7aqPdkP4lMPkcLFgmOG+8NokSU+6J9IJ\nWScI1vqP67SuXDdUDMx4PSqldJexpRzvueYuO+wMCypyr7TG0ypiBbnk+44p\noy1/lTpEqvG8bR/NWOhWU6mp4CQ/XTl1IOMx1ghjZ2EEYWKhTFoyCYXL82xv\nDoXO\r\n=j+LM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8/MiJK6k3VvN6J5rTLwjA6GkIHFjamozzYI4nJSgqPQIgSSBP7dqaECNTYBAaASFC5bIZfJYfn8ACjkuigpiSo6A="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.0_1585778393873_0.9008173100438273"},"_hasShrinkwrap":false},"1.2.2-beta.2":{"name":"@flood/element-cli","version":"1.2.2-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.2-beta.2","@flood/element-api":"^1.2.2-beta.2","@flood/element-core":"^1.2.2-beta.2","@flood/element-flood-runner":"^1.2.2-beta.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"def95e57c933246aefdf914fe7ae54e3bd3e9d92","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.2-beta.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-NaYvsZW7NdLgGXTReNWkg1SaYPVni6VgS7Uek36lQo789crteSTQ9kqcbavpA98T7i8q7lfirxowZb010GjZWw==","shasum":"143ef13231f4b819cfb3a6ade3f0c7281be0b33d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.2-beta.2.tgz","fileCount":44,"unpackedSize":375786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehlwLCRA9TVsSAnZWagAAaBgQAIW6qcKhTiez3a3uQTKD\noA2hH1S/Umz1SZp4yRNBS1M/prNiDHPoWSsipOg2ifZI4an5g3kMoUZ51bKQ\n/7xIVcAWWKGJzmlXKMnKVHmNqCYPuW5h6eqDRLg6NxmrCn57+RRz38DAi+1a\nizsCwbDVSvzUjPXpXeGs5B3Dieg0THg6JkfzuOwwGWJ2Lkku2BlTa3y+RVfG\nB4zEV2B5JRAsTmCd/yrScsFSUWY2pBMFnJ1sqejuu7nndWZU4ofRAkSgyHcA\nMHm70ifq18/x8ZDN1QRXfx7UT1ORqoGBEGJzd2x+2LegwKzcTKJxrnl4ePmM\nA9ZBRNOhknDywE4HSIUFwUYTVRPOKBcxRvBjg0Dvrs8YqvHJaf7TIpyrJnYR\n1L3Zo79WSR/+aFe17WSZxZS0tGFdfeND4yakHghxFmdT0w97Lc1uVicihBef\nyAHfPHx+2wuoNyM8X6S/S/QoxHxJ+pfJMZ4tqzk+V+3hFt3Gx3JWMZQJoMCb\nX+hhpDjW5eG0lk+VdMoLbVavlOF/FhJh91Vp/qCztcs9QJrryoa6Gf2jVQY/\n6HWvBkOFqaiyBwhaKUE6mMRHI6ADiXDCyV3e8nV20Owc+JqSVdUmkoPfKtcm\nEeLDZMkeG2u5IfYs9J0C2MVNLLOVvZJoxKSGFptRsd4NcdMlrdQUFu5Yw5oU\noEDI\r\n=47zV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDJclXRNDt2SRnWZbpl9ZeyiA+d3BNt6dQnn/KTLRSVGAiAhWmY8zcSWLhsfFZrYspM84t18IwnVnyqFCs4d+35GzQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.2-beta.2_1585863690995_0.43951270068453563"},"_hasShrinkwrap":false},"1.2.2":{"name":"@flood/element-cli","version":"1.2.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.2","@flood/element-api":"^1.2.2","@flood/element-core":"^1.2.2","@flood/element-flood-runner":"^1.2.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"165bfb615cd82808bcde085f49e694880be4cbb6","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-FVmq/TB5ROStq1osXV7X2/PUddhpi8EhUm5wTvxr4kLpyMe3seixip+ROrb6F5SAQQRpqEXcPRZhfZQTFQthFQ==","shasum":"46c3b51fa7adc5c00afce8d5959ba9f83da3c796","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.2.tgz","fileCount":44,"unpackedSize":375902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehl1nCRA9TVsSAnZWagAAQ64QAIQCurbuWAg9h3opbn/N\nbt8zmIHmijD46di6krCuthDtOB4as3+AhIgB8RHco0q1lxA1tyGHjJWmQ9S4\nwDWARSvHKcsVKYxxqfQvOjKOc7ZcQwvu0sClcMagN+CT6q5zElBDx3mtFWwl\nMr6Zsz3vKhymRJpFMzVpAN5vKJeSCxpXzR/Odt19jP08h001+fisWQXlyYGr\ntoTCid7hjuyr1CuVtUHAIjrEmUK+SfQORi/oTAyd+PDNYaUjk4ifn7ajcVcN\nlovg968wm0BSzm4a9UkPSi8A4Ho8N7kfUC6L9bJS9d6dtGF++SqPB13i5V8V\nbyIp6bQpwvFh+e739Xt92BwdX0XjOmWOeGMsj6kyomV/GGZIYH9lBG+n4uuv\ngGYtJCiGegt5++Bg1dsJ92VL/gvwaJqqX7h3GBOF2f+j2+9HhDFDUn8YOxH6\njnPpYfOELl/oL20Wy+FrOO+rkfX3YEFstbN7Pl99PisdR2isiVEjsUeXLRg5\ngS6gTN3uJmIJxDNxUXrJzUnYdmH5yjxLtMbcWDmHofrTvXoBfFMbdnXgYTGW\ncl04f9iRK2MbtKhoLPd5o8an0M6/E6e/WPIfoS4/fxib7tu/o5lFjhUJ0VM0\nnPirX2Hjg9QyVSSSmL2CEna142K8nBLNZBa/Yn7J2Ojnkbhe/iIvx5asHreX\n6KYA\r\n=pNeZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7As7N3df8m5PSZbaFrukMfDesxlCF9vjQK/P27NmwwAiB8elnajOZm4ApXjWXbV8bQlMhKNXiRs+dlzgwlthpagw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.2_1585864039012_0.8021665137401313"},"_hasShrinkwrap":false},"1.2.3-beta.0":{"name":"@flood/element-cli","version":"1.2.3-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3-beta.0","@flood/element-api":"^1.2.3-beta.0","@flood/element-core":"^1.2.3-beta.0","@flood/element-flood-runner":"^1.2.3-beta.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"5f3109f7194d9cce0e25b5d0480595d367043fea","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3-beta.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-2LqHA6C42iWb+ClSVVCqOntQI4GbgUeEDm+ZGIQRcteCa79/gy0qXaNuSTAR7Q0XdcY8nJUkjLT0/LI1tzys+Q==","shasum":"0ad0433f2e2e525e1c43522a37da7cd713942eaf","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3-beta.0.tgz","fileCount":44,"unpackedSize":376101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeh1k6CRA9TVsSAnZWagAAueQP/0JD1s8KkqFxh6rhfXuX\nYaGbX2TNXMfMCoG7cCTmLqhDZ9c8SWcHi9IabsSlGiN0ApTEBlLlbXPCal+r\n9eZL2p4d1RaDDnUgE7iqzT1m44eqAhgJp/80BZVQSdpYtZBYOVvjBkHKY1qZ\nG/EuTYqxl46S45e2+ZHqfFLH32IBV7mCy+VQWjruFWn8hWLocOJ3OaaddLU9\n+UPkCZglC/aEIgHrqjBemrXacLmUhJbtwJGdUYqkD7NndZRxWX1Td8kU3bl/\ndWLHJiBl1pLZZ1S/7HCNLgsrOCBStawpjQkDYPfSA5hQST85EE9VmiVe2lRs\nqJePT96hwTI3qSKeQy/zJF9uyq9d7YwZKi1zshXZN7orcvUJbGzJ5WBALH1V\nq0zJWr80+8U4jvp4IKvcPWDz5aQnALlXdwDYnepiPKqV5iQCLETgNO1FQ6fK\nc4VI4H4qrGuV6U/AxbFg/iOdJL6NSAaCJMm2he9LMsDfYBgxIKRQCmQ3K44k\no2XwA3ZkQlbthsk2l7qAoux2MBf/ib6koE8M5N5yNGpAru/dkR5SFhkaZrOX\ntfSPlSdleZZfauCYqjpBNTmbO0siCAqJh5eb50Wzj/Hpf3G8a33A118M5T7Y\n+OFvSlZZBwq6StYf01fycP7NElfUL85yyE5lgMv2j74q0esR+6QthC3J233h\n5FnU\r\n=xO9W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9/JYKYTS/eIxqm7l24Mxj/nGzv9+ePZkoQBoogeGoiAiB0MZf4GskooEL+lqshFtlMJn8EQJxwQIoZyEOXj3awOA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3-beta.0_1585928505462_0.5886163112411626"},"_hasShrinkwrap":false},"1.2.3-beta.1":{"name":"@flood/element-cli","version":"1.2.3-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3-beta.1","@flood/element-api":"^1.2.3-beta.1","@flood/element-core":"^1.2.3-beta.1","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"0e0422beac493fbbad22e6b704a346860ba49b46","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3-beta.1","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-PLb5mwF3gGaVaSHM55Gx+ixrLgmuZR4pI/LD2jTXSY5rFq5W8j3TrQ/AQtC2BEwCHvoK5XHhgrelNPxRgXH//g==","shasum":"5ff510382efec824b6d8b133469b50ab40b44685","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3-beta.1.tgz","fileCount":44,"unpackedSize":379430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei5InCRA9TVsSAnZWagAA+PoQAI6jHv+zeuK7nb297bBO\nyZIQTEjAJkrDx1hfXKCup9u/FedHATHosFB3IN/876W/0+WYeuH7D/7mhUkP\nb+Br6WEK3QyA655yNEEaH5HTELyvRDKZDUtcBm7BKKJbIvvlxB+IJWG25dSV\noBIxY7gbIQiz+0ZvwCE40VCvcMuQW3ar0Vljl69PG+Itt0bMhEJmwPwZfCXS\nAHncnzsH/Es6rgIi365U3gwzLNoFbIJeXq6iurdazqKu+PEdk5eLRCRQw7Hs\nkrKzr/Z2Vx1+8hVplXfJFhGwIUvEyTTajBVo7hyNJpr1C1I4Gbm5o42JbciL\nhk0WDsI8bqolVwReghASwilCZtTl41yFbB7M8fT88dItLv10GA6Q1KDdmHJr\nrDY3ZqbNuI0omEPge9xx/muXq1MsUZX8HIPe8Br71I42nf4rvBUZZvxnSP2z\n5QfhI5A2NTGdtk4zdQWBFqB84XyNTny0sL9hrxm2RXJabhKBotSeNiSAclI0\nqgZdudmhi6PnbY1lcqFC8S3xfSm4EjpsyliHtaFtAnixqBEXwC6aG1fabV6+\nx3vdY5mFKIgsJdsspv7TQm/BlQC2SemjGePxvZkMrqu55L1qnS4kppZaNhvu\n5x45Ya79Pfk7DCVQ1DPGjinNKwrpL1C2y1/ZY14Ne0D4FCUa/t3vqpU8BMHg\nCY+d\r\n=MBUH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4Dqsa4Fvb88d5/ifFX2hI3C/HQ7SP7kRsbPEF7JeVkwIhAKl1AEcBEXHheyc4MtBI/ZztSQB/vySlM4FmxmJJrVp2"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3-beta.1_1586205222728_0.7287184608066177"},"_hasShrinkwrap":false},"1.2.3-beta.2":{"name":"@flood/element-cli","version":"1.2.3-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3-beta.2","@flood/element-api":"^1.2.3-beta.2","@flood/element-core":"^1.2.3-beta.2","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"744e9b9501ff593214555c6b70d7b45495fc4bf1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3-beta.2","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-4nlB1hH5mvH6NP9dU13OlQohfiwZKeaZMl40UxgjPpw7bxGSS1Bf9a0+79Uv1n/MZC6ylirpuzW7tvSsnACArg==","shasum":"dd938589d947a7847584815f7af95b16eeacfe02","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3-beta.2.tgz","fileCount":44,"unpackedSize":379601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJei7IsCRA9TVsSAnZWagAAYgEP/A1Rw6eTX6VQlWC3YzI3\nyuX7iQgoaWNwJ8auXr+9B6VYNOqJGQoCLVE/wfkqq4Kv/S7y3RNH8QjAZ7zQ\nvAWudMZQ3jisE2JzsthLpjBzsDm3UH/VUYA8XkZJfefGlyzq6i+Sh5s/bqgP\nVO7vUIKEijlotjbnsgDqyVSxRiNtFHUA1NLDMeKgrQPw2uKlIT8sTvPYPxKK\n+jMijTlatsuu+bdxpgxn13ynLODwu/Ir70hQfq2ouPqkeeJG21nGOB8mWHTc\nU2UqnDJglh2R/EymbzBro9dkAmWBbXFokrAgmEwp+sCglsCsxdOS0+DOzRyn\nW9xhmy2QVFvDGqZa0UJ/ctrx3vsFMAQeQLyr/VxbWDqqSdhvnvxX4cvpNbdC\n9HOKhNuTXEYk39sO4/MJeM3o97ogp5eUciH9kuB+qbEVbiOmtSYhJR2bPjTq\nx9HlY8kH4ZQmd+gsfJqu62Iy31p9ZC9QFzC9Llm/RAmXpYgpjwA+gFsZgbcZ\ncxkgl0IIb+eUu5FEIdAeV03DsaR0JmiroZe28wISqn3g+VmF/rmA/7duzuYU\n7oWxZyMTMhpASfYhJQ42LlOtB/DP/aOcXk84ZDRg6OVNhJJDy4oxAEXv65L/\n01gA1Xd8pQxO0BGdW+Zd3Ye2hXOwMXm1KpHLE9VI4VOzFWZQoJvCByY+Vz5A\ny9Qo\r\n=MAU2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg8fJVYmIzFAf5BTC5zTpJDY8bpurpTfgeB3R0RjZ+EAiEAtqODRFXssrhtMXs3daqoZs7N4yFgydVNFN3PnmlMNDU="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3-beta.2_1586213419768_0.019661361268693556"},"_hasShrinkwrap":false},"1.2.3":{"name":"@flood/element-cli","version":"1.2.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3","@flood/element-api":"^1.2.3","@flood/element-core":"^1.2.3","@flood/element-flood-runner":"^1.2.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"cb34ae5f5f2f828914e79285028445a2abb706cd","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (linux)","dist":{"integrity":"sha512-WY4rJKdW/BMa+m4qevXzRy4IaNpyb5DbUfgyCMmqBuN3LLrFCOjWfKqsGA3gx5wREsimXNR8+NjsCB7t9Ss4YQ==","shasum":"6a9d44433689568ad2bc5c2c860660387935e907","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3.tgz","fileCount":44,"unpackedSize":379716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejLCcCRA9TVsSAnZWagAA41UP/2bJ2ynulMs9Q0VwSlCC\nUQOoVMgdd7R1MzgQLV6zezNVoEp2ENMfzHWcja/jKgYpzUfCQpiHAJxu10sB\nmd9ihCnXt9VtRqNpjo7BYMlePTuXbORWxmfav0/XuOGNHeHUevmZl0my5MMS\noReyJSIxlacOl883kpCUKqlRcLfyES1MnNHbfd4IRozTAHuGSiJ8b+FPV++/\nRZPWl3VUTCEIIugl2/YPzgmZn/CTtYEptka8Uqq6TgGKfXhJYZP01UGUS4VB\n6OAUH4WXzSYrvFSIgKPI6KAFMj4gvho7Vx2M8AecMjiSV9+P/qIMFlN6t1fc\nahBmZmqh9PXkLAjl/WHc90E2K2M4YQxlCb8Tqg9JBB9Do1N9hRUdbJDuJ2LE\nKcuJXSQkMXeZCRz7cJl+dGcsPPuwPXcWu+2ZmK+LjKEWLy5OBkhgALsJM5Z4\nmf4tSaSIsx6OFx86D+Xl0mtRP6VbxBN3JOrO7YoONwcE6KbKLeBz+sTgDS3s\nzcTPh0/qVcSFcs7zbcD0CfTfcwBteVYGgS8iIaQUCgmO/Mqxo4SWqk6qKXLS\nIy+FbQBOxNcgh06x7yDjcOzlpT1O8lHINcAD4zQPTjHVHvX7RotaZtzCD9pN\nVaWYMq7TMpGS8YqvKvN+xBwtxfHcsUuU/r0MMx+iDXbvUdlwCOeC1OtDnQfU\nkjwj\r\n=mrdM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn6UOM8TNtE75LWDig3IfW7ZO/mbYa73P++YQ4ibh+SAIgX9b0Vlvu3e2Fam9dZanP4hL7BEiOxY7/0yr52P7GkvE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3_1586278555820_0.37734489172371277"},"_hasShrinkwrap":false},"1.2.3-beta.3":{"name":"@flood/element-cli","version":"1.2.3-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3-beta.2","@flood/element-api":"^1.2.3-beta.2","@flood/element-core":"^1.2.3-beta.2","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f32d872196bcc4f0809a0ddf6402243edfa779a2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3-beta.3","_nodeVersion":"12.16.2","_npmVersion":"lerna/3.20.2/node@v12.16.2+x64 (linux)","dist":{"integrity":"sha512-KEiCbieBaEHVSqgv55JpTWDnzifUEWxM2IgjrCPYB93udG+raLK+GHaJENKWtflpVGu0dYC6Nlvgo07UswpeNQ==","shasum":"35afc1a4d4c88950b254a2a2ef9054e53debbaa7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3-beta.3.tgz","fileCount":44,"unpackedSize":379832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekOR6CRA9TVsSAnZWagAAni4P/iR9abeG4g5Krb4Zf5Eo\ngqSc5CM46Jv9iXqvttY3JjB6Lm3xkYge98J+Wa2v6bODg61ExoiIoc6s2p4o\nZXAJOvjVStD+cI0Rnkxv77LxgGqdV8A6uiQiZFTBm65SkLIJ+sy4ZKqiBBVf\nBjl9nsUhSnScDTganJK2PeVaLa7vlfmeM7BqepjRPVt42ULTfCn/0DE1yLOe\nFjcRT9xkPT63LEiqZL4pQLdvm/R2Nn7LMSSxyOBFpz18pO/hO6g52DJVZw24\nDa1M/YrfvT1+fgPmmbv1WijQMP6JX/U4NTZ4ZE+aiOVo8gjGcuL4TaZr+PUU\n3gkx20zEIfUq/gkLHxqFjWAj959GeeLGQcXpKDc6HXIrkZqceCxoLYIBaNvC\nhFgma2hxAIIz4J410W1t2/KdoPkzI+k/bqiVvLbEbLazBq0jVplmCz4EIcTl\n3TbSh3mhz11YG2nm4Ck+vdn82IzynMuxP+63gwTL1hCwyugU7GuJGIuKcHFe\n95wopp8YQB0FGn5jc35f7pe+B++C/eDVzrneP/rwf98eE0sy2sNf397BhGYP\ngPe/XBpLJ/mLs8dK4JL5YwqNl4wTJ8i+0N/Lp8Y5raiB5AixXJBF46SFvkIr\nbc+vcCyeVnO2bp5ab05wM8tPAQ3p6WV2xP4TLxrCogaSe/kbVqa/qqie524H\nmdns\r\n=qr4+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD99zbxLlu6oxVrzQc6Tp/RLynBR0gc9V0ga1Sm5gtahgIhAPY8VuNsBTmGC4T4mGDfObO2LQtKume0ZJeQA92PUMiG"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3-beta.3_1586553978461_0.6690013859772956"},"_hasShrinkwrap":false},"1.2.3-beta.4":{"name":"@flood/element-cli","version":"1.2.3-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.2.3-beta.4","@flood/element-api":"^1.2.3-beta.4","@flood/element-core":"^1.2.3-beta.4","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"110a7235d0cdaa1ea80692283ec2c8406d371d07","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.2.3-beta.4","_nodeVersion":"12.16.2","_npmVersion":"lerna/3.20.2/node@v12.16.2+x64 (linux)","dist":{"integrity":"sha512-VU5a8SJck8dUtysBwiGNXAOGPRiEFJvGYf7b9lZQ2VhRWR1ZyFSDeRWchWA4hB7HfEaAYxtGhuaAN6fEuPqDQQ==","shasum":"ef4ca006f17e2fb14c3e9d6262118ea719e234ef","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.2.3-beta.4.tgz","fileCount":44,"unpackedSize":380003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelfLvCRA9TVsSAnZWagAAB1UQAJlSEWj713M1kHf1TnWc\ni50ELCREGrfZTWYYUBR7sC3QeFpK5ZhGDqu6QLtBWV1vvjT6PiiSU/xsnSWB\nJy/CLRFFUx9sGHYA7CTtbOLsZpRiIeR1TGFWLfIDZ6lApFTExnTE8t+EGpt5\nEJM7hQO9J7g/llCeSPyXSKPFDm9J3VxqFUBjzR+1sR8+rhqTLNHDcGKG5k/V\nlcL75iFo7beCU1+f5EAUdmJKkPqVPdWPSAOnz5WpLCDe4riJ7BU1OwxHY/BB\nTWKgiPVHuQ+wO/DfjQCYSLIsZqyvuS5Q8rUqT580Dq28z6D6Ttbka0o+Qw/z\nahcUJcghk1jr/Jv4xFfBLUmfZOOpKYFRXKPCHgq9Jv9lP71J2yaODO2I69Yg\n/eSeHMOHyoKjw9ji3VSQxUDUwjKTSanMFBkr3JT5PeOh61hX00haivv8BHN0\nt9VqUYnNxHFbmwMvJwlJl5nRU9V8A/tyUhMbW0Sth7XmXd2CkkSrHQSipfjw\nUWsI5I7HsNR0T1F1rYhpQQMwwYOirYsyDiGEZAwi9txkOUXaGTRE3meQiAoP\nY32oiDAYXYXiHyHyw0a24nRujj2T6wFlo+0wydcWZipNCmYm/cPN2pPy4nHi\n41mi0hgnq2Uf9InLnh11mZ9d7Mgx7BqU5zdp9jrEIoekMu91/X3FW5OtSFoW\nwUT2\r\n=BgVE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaLWSaHXEAfgV9WGLmgAH2W8V9IEPDXI+powAaoLiR9AIhAIHLuFqHf8GzEQYd/AeIeN1fax3jMtEWZh7O5ojYWlHJ"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.2.3-beta.4_1586885359102_0.41322723806759587"},"_hasShrinkwrap":false},"1.3.0-beta.0":{"name":"@flood/element-cli","version":"1.3.0-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.0","@flood/element-api":"^1.3.0-beta.0","@flood/element-core":"^1.3.0-beta.0","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e0273f31551248dc2f85e998ff4e37b56656edb0","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.0","_nodeVersion":"12.16.2","_npmVersion":"lerna/3.20.2/node@v12.16.2+x64 (linux)","dist":{"integrity":"sha512-yf+nKkTH3opJ6c7EajSd3BjcVe1ZT/GAntbPyCdC2rBl/05WQ12NdvvZIgjISAaPSISIAPLI+/KKL1ufAlRjHg==","shasum":"3b4b804206db4398934ec49365dde60ed3936ce9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.0.tgz","fileCount":44,"unpackedSize":380173,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenypXCRA9TVsSAnZWagAAb38P/2YwUIjT24rX2yoNPFbM\nJQjsRfgkWT4iabIuzT+bIwkx4T7WiNNcglTIiruPpCo8prSgdAKIPyXsmC3y\nt0dK6wut3Lh8Ctt7qr9qTtKczdzWYma9p+9848tIs0vM46alj7lAN1MFJMXf\nse/hz6AgF10nrhY8WcTc1D9K6lEg+/fdmO7MJcOSioj/XU+Y+c+s5X9V4HjG\n35uWk2HRoECVobYnrn0J4lf/db+MXvKYv6cid+7zKW76GinQL68iglP3Xvka\ng5ds89mKOqTg+Le5X5Ax/91B5mEHih1943yge6gGvLnuqBFciC/aqN7qdFew\nGeeNPldLY+qfgooYahtH4ic+a7h8AdsBDuOf3LNNCDnkqlAFu3FgpoaEbE/d\n+WLPJT97bLwjC+F/mTaYUjQF6LJe/6U2/h7+/yYXHw+tIuqNiiT9WUB+wQeY\nzjLz7fsHSDvIZWwAqd21/dYSEQPNaMcvDbkMn71wDjVSFnS902vVyFVKmxeU\nWofB3OV9VBtUxxAzZLVUFmYjnyyyPCRTnCSdOCq+79pqi1N+QNnl2bF3ZiLj\nalPFRMWJSZZDCTNY/lNNIv/oNhpmiU67Lr0h6CFu37fTlga1aPuEOVogkKSw\nZZPxGt5d3OQSjGrGpHCNdZudi3e7InA3/BXt6c0mNKLzmrgB+CbvR0LkcX+Q\nWeu+\r\n=PpqL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLRo+Aidj7y72SFwlvywPQgiz85WACI8xcb+8XQQJxHAIgAsNUpFi4e9juEZEs8AO+jRmcYng2Pm5DqQAWt7S9+us="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.0_1587489366841_0.3496128799241456"},"_hasShrinkwrap":false},"1.3.0-beta.1":{"name":"@flood/element-cli","version":"1.3.0-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.1","@flood/element-api":"^1.3.0-beta.1","@flood/element-core":"^1.3.0-beta.1","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f41390e654b1d3b96702e9bbe4fee14afa47aba4","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.1","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-FXlT65bDK6VOL7r+iAyAkvn8WNQnp4iBjDoloCkuNvrtMKdfZOcX60e7Gay2z/cu5RD4+Gwkd7D7nHyjPJayQA==","shasum":"053639fe2fe13c387640ba0b0638873fbe1da955","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.1.tgz","fileCount":44,"unpackedSize":380457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqFZyCRA9TVsSAnZWagAAnW0P/2HAUFBBwl1ZPq9kBCyF\ne+Es69vyFDWpEXzCCsQV9UdsfusC5qqstlFWx+AeKpStOBkANYB89TVJQean\nlURTXtD8mo46WALmzDrXHtS0BIzrc/zLd0c9M5nYowDXewbGq3m94e90K4fJ\ngyFvvFPIO3hOYjihaOLjnC21J3KmbtTkYS/7NIVY59xmHLnDR6+wr7PinR95\nwI78V09k7uA1mwAMCr2mLyY71GDJ6sstesmvCYiY9bzpOU7KhIx9hGuSpAr8\nA/dFl0LCPgtpe0NjHM0Fwz4W0saA3Csyb3Ytv0IwAXhQs2jS8pS9bV+jnNSs\ndOKQqy8HTVZ4VpkFe28feJI0gtWm3qqK7ns0pk7s+nhuJJ3ghljjgpzjfeqa\nVlVZvyAJps0CLZ+DgTgljmULrQfWLyk48NMU+zLXMI+mkTvwf7+VhQQThlYN\nWpRAkuPHEo/GXX/PBB5hbr3Ca6r1qLUTwsDWVCUreUkh9CT8mXPTpHdsUZ3Q\n0nWK2aNd/LEZq6HHhGVFRJfwts0QuF2yc6W5MJnYIqNeHqUa9qLJkhS32KXK\nVChIs6AWnSNh9AlxBAG1f24hOvZ0eao0kloHFcchGYr4Pcb+YVZLtwkb6YY3\nI/WMZyVLIxE6uvtIMO5S5t+ZXkKdOjczYJqCuCYGfJ77vz7krlI3q44bEPsL\nWW96\r\n=bVoY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8OPtXehSoFuINHL3jIbpz1XRhfEy/XkWva1dskBa7eAIgY3e/7/fsFHtc7EC4iXtXaOAXxYKOPA+kceEvBreGGwg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.1_1588090482222_0.12043220458608928"},"_hasShrinkwrap":false},"1.3.0-beta.2":{"name":"@flood/element-cli","version":"1.3.0-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.2","@flood/element-api":"^1.3.0-beta.2","@flood/element-core":"^1.3.0-beta.2","@flood/element-flood-runner":"^1.2.3-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"af4b471303787e116b563fe04fabb074b9d79fec","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.2","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-I1vlIsuOmvG//59dmOVyOCqCz/BN9enMzEhb9dFs++gXq5KBSWhC7eoPvLk97lOZkrI96MPyMSI2tFvyV1dfGA==","shasum":"c4b5351177ba8f2dc241a17f00ca24aca7f0e9ef","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.2.tgz","fileCount":44,"unpackedSize":380627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesiXpCRA9TVsSAnZWagAA+MMQAIHtiKxQInh15YTgt9Cm\nMeuwQ4Y+tszu5JkBZ2A8GV8BCV2B27aBefgzTnaIdZvEEXIiVkTtKJsw/Nmv\nYON3qv+KQD+UpBqznATc2w3r76OkXtbfg0RMK4m8F73V1whBZ4IzxLaGNKJZ\nEjFLNTjNVQLKWSTbiboOais31w8pj6bQVglNuZkf/L7w3MnXI++6Ewy94bIr\nHwEsjFBSmftOFWfNEofzpdUdK20IH4Dpo/i3HJiNmli+pxFWUugzLD7EqWd5\nDkyr4KiH3Fzrh0CSD0gzZMUxpieyElbJ5fRRNGen8MkwbDmJy+03N6UssfkN\nthHNAvdbyRt/psc+im8RBWYivyW/UDjDPBT+F+MmabWdC8EGS9IACXmYIGS4\n7PKVBcl1eCX/V7mQV5vM4dE7C05S4vSzNWPa48iq345zOKJ48A0nW+T8KJ2T\n/pUzLpiG+rkjB3JIGGiTavEi8rsK11vGxwPEcpV0hBNuXJftpUzM4dtdfAt9\naKjPS5Oi6/SwrMfHR3/E+lwWYhMmxWraTJwmD5Y+iDM73A9AjmqFgmoepQHX\n7EZuWKPjCixWw0T/QRheEDSW6Ik5Mfl+gAnmSD1Zc1ZxWeJMTGjkROQGExtK\nzEVZ6oVhy2N5EBwNnL0LZzFq8smGQq7PNakD+v8PJ6Ww4h861HKhRz681Cic\nptt0\r\n=Xq2/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBcBUUHMlbmYNkJl6nqLSj86jmefisStKHYNQ0g/msHgIgduD4ZwJobRUGNYUIjaSYGcgZEhJDb1z8Id4qXfObj00="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.2_1588733416602_0.6262279805617899"},"_hasShrinkwrap":false},"1.3.0-beta.3":{"name":"@flood/element-cli","version":"1.3.0-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.3","@flood/element-api":"^1.3.0-beta.3","@flood/element-core":"^1.3.0-beta.3","@flood/element-flood-runner":"^1.3.0-beta.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1855da6300447f27d63a1b6eb9afd917a2b9be63","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.3","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-qpOAypFW1Sk3TjyQKtILa85cESaNTZse2Tcmyx9j+dtJ/FMZ2KEiUiurCoJ5njFwIMnlUPtj/CzGbVUOfXSQ/Q==","shasum":"968ab6a8dd468453b1866c699ffc9c3d921fb722","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.3.tgz","fileCount":44,"unpackedSize":380151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesidDCRA9TVsSAnZWagAAxsUP/2LRMf9bv3IOlAqGRcUQ\ndIKMioXD4uxvD9iKvLulU/USm2JssYzavy94qPmsxVXAo/w9kNShDQqo//JS\nhPKYiyOmJtqMaxmcaxMlo2R6fjmjd5EKE6frCoKTiwCPxUkhd3vy01/1uUOO\n1rmYjMuVStwaq4IUwcQx6Bm+opNPXBTWJ2h8ZJRVXRIEjrz4AP5PK3sK+rHg\na/XRHmJH/iAxKp+VmvhpEOQ/U/PcAdPFKXNvfQaym1Px5pBHo7mEqtaX+HwM\nwuU/k51oOi3Id6G75QMvkBK2IZmuemgFmPJLfebp991RqL+Fi3lrlJeq/aIv\nc1wk3R3CUrwa3hdCJhkIexhQ1n/kDOReiM/eiD/GGEdSN+BSd/QcQ1sDoSQJ\nSW2NMNtDDE9y1xe1NnSO3YAYOpBTAiTv3w+WXAoCeEngtX5LtzFR5VC2DJdK\nNc3TpnCnT3Sbi8+xay4SviOzhuBmBwlFzAkAnLHlD1HfMbZbCOFfNCaj00ee\nCzpigaaEX32hHr7IHFkMcNyVuPTSxj+WBbgS3iK8B3gPq3swj4N1YPWNtdJN\n2kK+LN3Z8Af3YiupcPQqvLWSkz4Z5x4p9/cZ0f76+HL6fCoXXXuyPPlTgUQK\nTRvY3KgCaN6pcpG3LDag/xOIExd5Sw3qjAspr5v37wgjo8+3cvnu52fHXdel\nKWqF\r\n=LMb0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2HEwDCnZBlf9JUNDYxGn5vwIlzLJq1Hi2TdpVhQ6ypwIgMZIfvds9zV5f22hVNGO5sx9hG8EHY57xuomkPTYNviY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.3_1588733763186_0.6847993689334102"},"_hasShrinkwrap":false},"1.3.0-beta.4":{"name":"@flood/element-cli","version":"1.3.0-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.4","@flood/element-api":"^1.3.0-beta.4","@flood/element-core":"^1.3.0-beta.4","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2c6cf68f8e57900e52ec92e542b4392b4bc89901","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.4","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-UHmOXdh8SlsD7CHrX6THTaTKgJZlqWUGYwMxmLNrUggUh14X4kq9WZSZ/mtUykcaw025H6w9D/Cc1MR3ITp7pg==","shasum":"33b2523cd55faa1686b2337c0c02590498461000","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.4.tgz","fileCount":44,"unpackedSize":385512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexMA/CRA9TVsSAnZWagAAZaIQAIijZpkqm/t/R2n6txEx\nqOO81yu/1gQ89DE8xQlrpJBjXHs7nT4IRz55SiZOCeBEQQhu/wo6B+A1bVHV\nK6bv+WXR5BQ6VmkVnN4xsdtatQT1zsbnBes17vWy7gRiTI4uImKZYdbxjEUh\nfaHAwB/1qxaTVUj/NMPOZg0DtRBiSG6YzQwo99wa14u/1PYNafAQjZ/aolH9\n0ejYCY98Vl5Hd1THFuPtDwO+/7JiZ5szrxzsVLlv+VAg4yIDDHemRPYpLmzx\n2kbLDWSX8aQCKuO8327IeHPJTmIWbzlV/kGJ5Noeaaho/DvEBkjATvLvbg6A\ntjIC7BFm3HQCHOinvuSs6brPmzrjz586ET/zDHdIM1tSWzdRFm7C1hnFOi2c\n1X9B5MloeE37GnTviuCY7TsFlTKH0mj//TCdoB/7/Jili4NCwCq4/Zz64NcQ\nspXqaOTTljzeNea7df+5zUTXbS76MxVQr9xnictRbNK1eQOk2PZDw72n2D87\nuzVrL24Pl8WFgYayNaJeWybqaHa2Cmu5zQUlmOSedmGNpVWT37BQyLT8BaNg\nMNcTHmRyYm/CmnSSjn7dT24KQB9ApwWTtbxFu4R/fho4B5yBXGTqZfb9w6+7\nHTG0OKHA2c1EuuXAWvLaqtOqEy2Mdz48ZryQEOS+pNAuuwY14DY5rkuqg3U4\nnkPW\r\n=CK7y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEgmVKQ+hWXUtrFT0ejcF1NMQqAnKBg5SXO1lt8RQojQIgLLdJaKBb4J40FKL9UHgIqATk+do7Dr4JY/hYoEhC5Uk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.4_1589952574874_0.9860296111451401"},"_hasShrinkwrap":false},"1.3.0-beta.5":{"name":"@flood/element-cli","version":"1.3.0-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.5","@flood/element-api":"^1.3.0-beta.5","@flood/element-core":"^1.3.0-beta.5","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"75f42fc9deb88a4a7afd8e936475c5d69d398f26","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.5","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-yABkY3N5Kep2RavgAXDxGsDLn+CUA3GKw0jmqW/XETwBEXqqX39kflea18+R3DfnpmYDU8WOhXcULYBaaGZPyg==","shasum":"9587a4c89dc8f7bfdf195da535f0e87df157311f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.5.tgz","fileCount":44,"unpackedSize":385682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexVveCRA9TVsSAnZWagAAieoP/25gmqXC6bR0rKmnACH0\nDV/Q9XYcCt0mqn9UZX06gzS6NOu4n1QHU/nFTIJgpoTv7cg/KvbtTT7LhQT1\nhmirrQZQsNGVbJEzOjuMctfgjYdTdBXd8+plLSW0c87+xRYwxQOaUq5kKBq6\nfdg5EWxYjjOaCZsg3fSXj7x668+tJEuffiIPR5XYJsbTo4ZL7U+7B/loPylR\nXoq4U4DcVNDIhHPhKE7UOZO7FMYgfIjramEF/H4A7gBET0TfEU9HoNr1+pkE\nJ698uRIPPVLoUAxCIPic4A6kM5UWWZVRARZqyVo/mGytEvclR/KZj8PwuthY\nZreypUcBSyuceENwko8E55ITOicMT75OwGrCe8OFHhPWwiXuBqyBuTqXeBhr\nqUILlprGAap0IKAdQh9iYDRn7F2w6nxyjZW6rzxtKwsJjJqJc2naKFt5Yx4R\n8cgjDE9t74Qdry6pzXRu7WB+j9ZdJ1J3jX1tQbQzcwTjSoV53rHlGzK6nOu7\n/EOGK4JVne25ehxtied+dh/MfoN/QZphbStzn+R6uD4nEa+dzGdRH8GBJjZw\nQ+lqi6Z0Fjb1SOnR5AlgIgkP4/HzT0TBO5wa/yPe8hkavr8V59VUD1EYNNzp\nnRvPA2nnc2R8+qOABKf6tEkZM2+i6RvdFTeFFTfboGX/hB5TH3piw175dKcK\nvXVw\r\n=mHhh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY9TMazptqDjJ3eZnBolRjA4Q+9ZwBTnS3otS4gLNIBAiBErdLmUuemvh0m84oIAG+0PAvfhyW8SZNsILDAigjWAQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.5_1589992413745_0.4190777439386346"},"_hasShrinkwrap":false},"1.3.0-beta.6":{"name":"@flood/element-cli","version":"1.3.0-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.6","@flood/element-api":"^1.3.0-beta.6","@flood/element-core":"^1.3.0-beta.6","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"86b804244c872eb38f5348c6dbff3719db2c6eba","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.6","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-wviY72eWhkdRXntkFIynWaryI4tSdU/bLxE/jPL12dQVuyxpScSRTVi9l+2t7Ge4AUO3EeYGsZ+tFGLKdt/zqw==","shasum":"60c0511948c1b2ff6c26024d8bea5e7a47a7e881","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.6.tgz","fileCount":44,"unpackedSize":385852,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezdi7CRA9TVsSAnZWagAAEc8P/1/7clj9gmAvqdr3ezNS\nAr8Uzco5rw6Ag4VpHBCMMIJlGAemOaj66zgOxEZYKV2Pr9RrcUrfFvCNtT5Z\nkAW3jwASCKPXnOGPxjAqgUPZZk6VJM2qD+kpYQAN7dN784Yy1NDE4TgaQA1F\n/P7y0bJmTv2P42eBeHoRNz+r1+bVW8VU9rFdLcTC6YZ6xsUTQSCqEBz+A+iJ\nxXCwY+qoLOUwHes3Pvf4giEgqsVdWGt/UIfy4jCP85BEPiiSXCtU4ob2Vbcn\n7ENIDrRHBvUzTmNwzoooKbryKFO3PS+tDlLPVlrNFHe3ux44OkGmItuaeVcy\nQb9TfjkTo3HBdEVUjEdxhY02xmZTDTEs98uJw7+Z32bakLQcU39QfSS9YuBv\n4pJktBp02lB3Bce0QPs2xCYu98msFwLBtYW16MHuU6E7Sfv51lCVINa3iWFS\n3ZAZXUtcJnDZ2M3x9Jw7qO1d5VsOq2HoiYZEPiSfi9N+OXpu8Kw+ndUyV4xs\nWWnehHxoCKlIOTte6t2uzQLYGSytd/+7hewNmMpscSUFEfQ5WRBuMKC/BbbU\n25QgN8IXO/TZ2xJ58mX3Yf6CukMB+rJw5aA3Ctnm1lUOdjL8YxUY0MTJI6h+\ngqHNWBqGmsobVsrSgqYHqt3b7KQ+1lv0WHw7QGj5HwKLbDCScfm2YNeSujmp\nfegl\r\n=BuWB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJfe8ItC6fYsqyWlUUpXFF2LOpWWh60XQVSld4YLYmkAiEAkir3lUfw7+7QQnqsE73GCo/oowe2b7UxEZ+99nOzdA0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.6_1590548667114_0.8559255118473075"},"_hasShrinkwrap":false},"1.3.0-beta.7":{"name":"@flood/element-cli","version":"1.3.0-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.6","@flood/element-api":"^1.3.0-beta.6","@flood/element-core":"^1.3.0-beta.6","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"4204e1e54bcb8d906128c13ad57ee1f105a61ad1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.7","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-dpt/Cq26seupOgO+eCoTe2IISM2StHx5Ncz59Enmwf6vP4pX/KHf7jMsNfZBl5QcQoZVgYKWbhXcfFgDmll6RQ==","shasum":"36e4d3cde45989a316ae26baec8fe5aa21bcc10a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.7.tgz","fileCount":44,"unpackedSize":386446,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1xebCRA9TVsSAnZWagAA1eUP/RnsMG7yZ4zinW66BxAH\nXEG3lEif7EeJVhCMcx9gxFlDR03uEgF5r7mk2pZ6Ov/g60r6k/MmsnP4E3xx\nWAdSPoBMK4VR4Uvuep0dPiQ8IGAVETZjtL2EW8gjFsILsFEbEpegGjb4+Ec3\n2g+tsyKUkbWu8yrLT/VlbpBRHetTccaEHkzO1zrK1DfLrlk/+oRd2ox6tPq5\nQ23Pb7oTQ8Fm1K2jmYrk/9xkdHjPN9dchNyZfA36bf6C2C6ODkQn1Akc/XEY\ndaEncIzEvvP9XItORyEf6sNhm3SKtrfreycC584RGM68cHsXvt7knuD/Pkj6\nHfb2HFPg1LXRQpz2QT2lb7Nun41iyHnYGGhQytmJGCVkjTId7l6VI1S57DeL\neNOMcII62XWc85nCu8YxxSRrBsqNmwCZU85DbuVHj7oA+lRUoDQH13GzDbZH\naZ71xtvcsxfnMA938FxT3VZmwyVm2RfG0UPVHF2Alf40Pkw84c7hCtW40585\n5PPscDS7bSv9YOBEtK8Y7nas+E61l2F4El1DgcnwdaNrA3u/aH8hFU6CCvhr\n8IZeQVGxL3ga7Br4R0ct/OL6Pt3eyb/HlTEJzfTHwWb2I89cGdeGeIFNirrR\ncNv+6+D0OHcsyByLOrrsrXTw5m2x5NZ5movsHV+89SuncnnQ4xwpjaXo2jlw\nMzBh\r\n=+VNS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPeTPtEgmOO1VjH54mAw9yLihLpMUdFt/LmqxFmOGDHAiAO+22JYExcPlQF0QFC7pUp6CSBEGcBobM4Fs0mSL8HqQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.7_1591154586685_0.3944029504795581"},"_hasShrinkwrap":false},"1.3.0-beta.8":{"name":"@flood/element-cli","version":"1.3.0-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.8","@flood/element-api":"^1.3.0-beta.8","@flood/element-core":"^1.3.0-beta.8","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d53a4f3bad845e28a7e58a94d9147ca8386a37f2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.8","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-UwBop2xcpvUMY62rzUiwRYe0Pi/u15OJXgPl1OmmmB0YHufiKZ11J1M7fH/ko9lryplgX/sZ7NKbf8udtxOFWg==","shasum":"47b070509f64446d5724bcf801ade9bd4e143ad7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.8.tgz","fileCount":44,"unpackedSize":386616,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe10P0CRA9TVsSAnZWagAAwjYP/Av22/wKEwf8wDhJDLAs\nFWiN63jJ63vD4iR1jG+hs9W0DFoUWRIMC8YcanVtqyncHCFYpxoAkyInCZId\nQl+ipwc9sJyx3vVlg3FsXFxANPl5P3cpqNCz8TtVldh8XEU375Q2hDyw5yAM\nhXmq52zaHjbb9lTwI93SU0kqMC79lacSQBGFODQbJKD4spWimih6pfwdBFtu\nW3UELzUYUws+lTg8d8mbt9XL/IALWFzgLqjpsFzjDVeqm79/nlhEFixxi2Sd\nvNIqahnj2RzTocCIo2onVt9zS/aGBov4F51sG8dUuspnDHM7P31k1ZyGe27B\nZRcHIks1ujrIGTNUyb+QYXQYDCJk5Uupe0IWJ96anZ/r00EBjvXfMhCqadMx\nTVIcjS+h5vs6d0NhH0XIoNq7cuiCqqsvGUlmLu3baHZHATv6PhioUnpAGk5y\n6hdz/O7dv/3vKVSdl+y/jJWd/Kc0Ice71lqlJc8gB3a7OQa8vJV+ZGityHrv\nO1ZzvB8PWCb9XgFsmF/u9rUN9jH3p6MA7IoDBbNwqeF4ndrftlQox2Pd9cnH\np/KtGB3SCURHmtz/6fTIbgpixQWlf3Cy1FtBfLdiD9Yf6Pst9+qRsZeT3moK\nIo9zhJa+ezdfpwerf7LPaxRvoSZhKr/FYGNzhM2JxLDGhjbBBLnPdibw9rWg\nwfb8\r\n=G1gP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0wNc3e8U2a4jND5gNh0Bk75FRmW5DEjDznt/tdV5lwAiEAtbm9i/VIoPWx5UNmmJlhyMzXCpkzwFjdsz7hEwkwoZ0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.8_1591165939824_0.37828589912251465"},"_hasShrinkwrap":false},"1.3.0-beta.9":{"name":"@flood/element-cli","version":"1.3.0-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.9","@flood/element-api":"^1.3.0-beta.9","@flood/element-core":"^1.3.0-beta.9","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"95ce8c86bde9a879002db84e4ce6bf01e64a4903","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.9","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-gf4wkb1AI+9BD2EsNLqGkZAI1SQZKRIZyBrNjLoCWX3t2O7T5a0YYU+zT/3YpqPr+pbTpW4tuAdHDoeGxCk+Kw==","shasum":"ba65ac09db185062a7851e4548ba1bd07b96f110","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.9.tgz","fileCount":44,"unpackedSize":387850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe17rFCRA9TVsSAnZWagAAvRUQAJIKRZGrGuJJSDvYRKv0\ncGFfdckJefKDZXPPTBnP094sqnZIl3JKBjPf/0QC5m4xiFOCj2IoDd7zg7yT\nv2p/9L/GeJfztNlkSOLzw+CR4i9zlEJLs3Vv+lqeJE26IFqcn5yBEaREMs8f\nZhfS9dP023C+ZNlB9uUJmME+4TEPed04dfOIkHxojQjZpFDa/EQaCmCVsshO\nEKCGv34M/W6EPiQhQKybWW/fb7TIlbZUhB62UfMqQ/tlyqgVsFM+G0VwO9ZD\nOsMFc0RIy4rLGOaez0V4vcmOeoaaW1Gm3J2QTbgj0sBj9It3TfR7Jdb8AEp3\ngwb1aEc+u4lgJU9XaJHPjLnGkw9OZeqgsTcdxuHAVOi8LQKttBTgrTcuswlx\nB+JMTbOwRzxxYfvjpuxVCUwA23E/TdG7rQla47dseKZKCYVNPzczPBSzRaTr\nscUVeVBoW29Y/Vo1HrzhzDIq7eAy4R5vcAmmVw+sTSmbUl1Urvd/K0/qllKP\nNp7UqF+Kvdd1Xsi+dz+VxeQgMTx2ka+N3GE2ByyLhzih8jM/9PK9VtOY5JtM\n+QIzQOSCQFr7FYrsx1+z4DM655ndSu5DMN54stmDa10vsfcDo99mjGAwOaHf\nrjszcc7uXUiUuhtW6XNZVJFIIl/71pOr2DsJMjtCPlDmH0nMsqh4vlvkeFR+\nyhim\r\n=ev73\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXAHmaQfaJ33MNs6N5EySItNLJVTuY4/xCqhMR3bw+rAiBEGVBvi16pf5QDLIESMs2jFemkhUmmz7ZVJ9Abw0UBmQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.9_1591196357378_0.3275110964471173"},"_hasShrinkwrap":false},"1.3.0-beta.10":{"name":"@flood/element-cli","version":"1.3.0-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.9","@flood/element-api":"^1.3.0-beta.9","@flood/element-core":"^1.3.0-beta.9","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"36d95593c8f395397bd8a142cf8d05ca591e43f2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.10","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-ebQb+FWD/TizTB6oe+iKHWxPjv9psmW0FoSTp1QBhONOQeM2S1pSvhVoYWYucg2iDgU0cQnFCQ0UVpMKvFSbMQ==","shasum":"d3e4420d7ca97b4610893387a00ab8d6d9aa74e8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.10.tgz","fileCount":44,"unpackedSize":387183,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3xGMCRA9TVsSAnZWagAAXVwP/iXmmc+uIpt7h1MYQ8SS\nXPXJxX/BQfgm4MfvGm+RBTQjvbwJtRiw3RwFnjjea04yBAgFzo15gEYfMenu\nwv0V9FxdLCYfZWNH9c1M1igvA+7E4YoyxG3I6cTkW2GVjhXny7CBQf014La9\n+RwmXLzVsQ3ImQ1tphfAL6in05isK0SF0pBuJz4kBRLivyQe5ZXLCqYCWvrD\nnFvl5ak+pFq9VdSHbg5pFaLMDyMgL8e1J590Q5Zi7g1DGCJme0GesDc86sm1\nHvbsAiHNhFDRIAgKExFJc8VcZxiHbmxe2ToDfjNYPT1HiXNXbVdj5+Tiv08D\n7SAb/s9QtYXU1N/FgqnLEuhJLdfBgbbIvs8FBklYDaUzz60792cNZmpfUQOZ\nR8qXdDpwT47NnHYJJpdgBoH4Of8+5qp5edPhHfBtTEH317aYZjY0ra3Ri55k\nXcjnuktxnMHCQixBVfCqb4Pyb4aKvAp+GpMF7+ipDxjJOl+nfDN5rQAVPeVM\n2bF7Izw+bUGiH++lNLLVw4lVaG8PysjUEUdG+1Qa64ab3HIi4tl8UZ9OTL87\nQLkcnpcSJzyqQBtJhpThREDgKkDIFsy1wx3EE/pHgCycxYhk74LkRiidRk08\nmImY/mY7QHO9JAFmiD6DQW496B1ko3Bfva9yKc6T407zSBrXo+oNEfp6LONk\nNc8I\r\n=xriT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCymVNDebvOenj03TZVbD+r3psL/3by0+Cr6Cmh/WWJwIgbsfG8YDe3ByCMb5QiKb8MrGnynde+NS3PxB8UKBA2Gw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.10_1591677324098_0.41247346664334716"},"_hasShrinkwrap":false},"1.3.0-beta.11":{"name":"@flood/element-cli","version":"1.3.0-beta.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.11","@flood/element-api":"^1.3.0-beta.11","@flood/element-core":"^1.3.0-beta.11","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"69cc9cffdb730d0c2b7f6d293da9f2e25302ce19","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.11","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","dist":{"integrity":"sha512-j8n28DtCJfZn7P+wHTqZFJzrza1pgiJCxMvYiKBKNJylCZ0bRXz71CR0AULXJABGP209Glp8VS8rY7eFB7nxqg==","shasum":"be65b7159166c1f042df9c4b7867849553411509","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.11.tgz","fileCount":44,"unpackedSize":387359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4EwKCRA9TVsSAnZWagAAYR8P/iiN9Y2uc0WMy7LDqWHm\nU1vrUD6wpUFh2xs+uoQ4Xrxa2Wx7XBY9tdk+qD/m1tEpDcNm+TvI9RwO6gi3\nPKwvIwSGdxM9A5+CoBSv08zKkwWo+OUS6uWPwWPIiSdxAGYmMsKIn+0wixEc\nQ+qA48qlvF9dopcWq30ppl0TTRsItdshyZTcLdA3D2zAa8xZTssdVD9LbiuC\n5RMFJz6II1khbq43DAISCTiLl7TBhPGFQCASuWq8UNd8z77riKumFXfQf2KV\n27nBvZUMabiAks4/kpN0ehTSqTgfBoKmplUAQkzg4jw0LyHyUFolzDSo6qFx\nmg48aEwCdf0rnFQKapce64DdjGPRS9XvIqaE5rBEwmU9hlL5Qwf+ZXxzybFO\nw52f7ya/KL7VBV3MLKGa2ZHyOuOqMM0RMwTCPzjMiN3ZBVYU3xFmqgpcNo4/\n43hfbCFN8q0F3BB5amQ3DhRwY3DkcP9eASqYW3zljnGBlWfWU4bWh7WMaW5u\nUdNdlUhCxLBRQVYNVSd3Qf1XZ48htk1P6VN3GckDAXx1ZOZxyU+wuA8G8AfV\nTF7v893WOso5qxr/MniBMSZsjGFNlYGKePi9Bfykwhf19bR3RXxeMrmIGLkf\nzSJIHIxE1t/1NxQVzP5Lk+giosiTlZvMXlqjbHFDikJ0vfFobYSLrSLnGLaZ\nEQaG\r\n=K/5Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6GWCMfcRz7OWgM45LpcZxwqqDhjLfvbNdzfksBRSN7QIhAPqA+zagxBNgY/EG6euMjWSjpbIKTlGctUrJJ0brVZAa"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.11_1591757834201_0.9599042875374753"},"_hasShrinkwrap":false},"1.3.0-beta.12":{"name":"@flood/element-cli","version":"1.3.0-beta.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.12","@flood/element-api":"^1.3.0-beta.12","@flood/element-core":"^1.3.0-beta.12","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e10d59df62ee60249b91f57b34810f73405ff869","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.12","_nodeVersion":"12.18.0","_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","dist":{"integrity":"sha512-yGyeox8zRIrsiQ14mLrI1CyusvUkgdcQZwtxbLL7t1MZVcJ/gA0eWFmXt2bMgUDUI+kYjai3kB2iwSowtj6AIA==","shasum":"13c7e6d4b1992af67727933139063d29fe395e69","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.12.tgz","fileCount":44,"unpackedSize":387632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8YzeCRA9TVsSAnZWagAAO1IP/2/HAkTz57x3HarEiulE\ndM4n9laiKANExPpRc634uuKmj5ehyv9va5usCi+G5jUv5EjtuOtsGwAt+F7t\nT2YlXuXDW0uOno9cGZQk2ddTdlzU/cR4jA4upn6OGedStcCeYkaQ6d5Sd25t\nlFbfPez55cTEzvptH/EXOat/cONtFslx54Zhc3uQ8L3Nn1DVaJFLgVYlc5fM\nPqEpGbaUHTNarFiNQwQwSPwb+zeTvHVppQhOlIdRAeZnB5uczTdbdTIGC/Gi\nHLwYqluvUBOxO0nTEUzbr9VwGe60avJ12MWzpkmmDfF6SKhnXhcNVG53KMp8\njiTFhOFGf5Lt9CmvHiDqxTNuLCCFafKkRxd4vpYYvccU5dntpZ2NDlWHHk0M\n5XjPOa4FxO92IaZgF5PkJm5Q/AE0vUywdCt+vi1r8pGY3v0kxeSbvnn6c1lp\nVF3PeN7UkkM4rBWEYfE1E5tLmd9GXeuvebzX2VCaF7D/gSucTrK2z9hDq3Wx\niYNdd+IxIJ9ohhbGPOhkXsDeFtB1X5v/s37b0INoRQvi8zK6ClGgoG/KwEA4\n4N3R47aTZki3C5FYMKVdApR+ZgH7QmWdjpZRr0l5vvBe8jTMLz43TEX99cl0\nJ3CB/Gxlir06gWsrlC6uhyOFw6Dw0mm+oHwiBhE8j7Q0DOhU1kCgZ7IzOokZ\niqNQ\r\n=E7Ei\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcoyvwnWm6xE1pJQFbxyFIaG8MNUTMIZ3HdiXkRDWICgIhAIJCfyJRKeqzhB/PYq15L1/yrFsk2G6o6d9yptVRMQb+"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.12_1592888542108_0.2824375732451594"},"_hasShrinkwrap":false},"1.3.0-beta.13":{"name":"@flood/element-cli","version":"1.3.0-beta.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.13","@flood/element-api":"^1.3.0-beta.13","@flood/element-core":"^1.3.0-beta.13","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"54f8c18520865065b5c570353c86ba4dd70d8b89","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.13","_nodeVersion":"12.18.0","_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","dist":{"integrity":"sha512-94k66XJmFul1gHXJOxhirIIVTagnUdsvE1d77Nz2afc2W9iFzu/gvFm2DdYmY8bFeOcxqnMHrM4nyrHSBlByTQ==","shasum":"e930550e235b0bd19f830ac4d4014f4a50b6787d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.13.tgz","fileCount":44,"unpackedSize":387805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe82BQCRA9TVsSAnZWagAAS8QQAJOnS4Y7QayeiDHcL8ww\nHFjqjkTcfdoD8xcG+XYnorqHzoKx3fmMI8fveYKH0d6DY4y+faOwiVx8e9xi\ntDR4dThy1ybHIp5uLBaC0UxYHudC1c75U2/NdI2TFkZECVIbpRoUBHqZ2U3q\nhNKgS0VlhyI2qc+Y3+u41zR1TXsaaoZ1VCxMqCEYrfu+OA8xqm+qWf2yyeSj\nmWvIzYZdjsdTn69lolxTWIbNrWM7LgfC+hZgzfuUyYnFw0NmdZ/FJx8nCJtB\n6XrTCZ2dwrWRxK6849yDZRG8Z2b1HKxeO1szOU88mh/W3h3bBOO48blaCqQ+\nVkk/p1gS259yWLwXuP72QLvv1MSbcLo9ksKtgIt+FEKqTsV7fFx+qyUwgAZ2\nbvYIGc8OUkHbNUHg7ZhVwFZEDy+KVeHfv3FCvFQhkQRWtya3D/XCsiOCpW+K\nFb0TEG3usR9NowOrV0GYHtoLG2GRLcI+8rsuPvf734YDF1SigCpmNtyHGB22\nJeyy3589QuFAPvpxtLA12pHbrOdgqiE5m4qYOg6mrkwqFtEU2RUOpXGW8F8J\nUby7geuhX5Q6WLv6bFQ1tgdD/kI3H030HeUwGhlGTiaXJvxzkpCT0uyHH097\niKT60K21OdaXLkX+Lx/i43cTM18AFYwYbG0cyaAvFjM7b+QX8YWr+VNE15Wb\ndQpA\r\n=PAdE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIjnPloGkjXQlZbS7GRc/omGQO3P6x+6pestLBxqEL0AiAcLo0omCvBcgtt7YumdfXR/vsfg/Yd3B26aMDomea6zA=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.13_1593008207911_0.429508118066644"},"_hasShrinkwrap":false},"1.3.0-beta.14":{"name":"@flood/element-cli","version":"1.3.0-beta.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.14","@flood/element-api":"^1.3.0-beta.14","@flood/element-core":"^1.3.0-beta.14","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","import-local":"^3.0.2","ms":"^2.1.1","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"06a7655cbe0db70d387aec6f38369b96f8600936","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.14","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.20.2/node@v12.18.1+x64 (linux)","dist":{"integrity":"sha512-EydwqG0Eo8aPoQ60JP6vHTZ4pRTAn92rBrPSQ/T0BpT/qpXcPtDfovS4ZroTwvMUyS+Uf3TOibm9H6DhjYQ+zw==","shasum":"d81e09b92e8ddffc21e46af16cd3e5f3fbac58fa","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.14.tgz","fileCount":44,"unpackedSize":387978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/IOqCRA9TVsSAnZWagAA5vMP/2lWRFmqAucbAkohKF0F\nmIFSb9bPdVlB4/YnHou0aQGqIoVf/PwnbcdVsLryk9qyJSZI1cYqWYzych5v\ndnCCGcaKLyHeXmEI0pEmZSU3TVqexEh9bf6VtcqmE+dKUOojW23ebtGpKgI0\nPb72rQZ6epVwHRWNWhFs1VO41VmwwoL1r8ClUnL6zEXinPCPzKlwscJoCdti\nTJHFgXcfCKPHLLBTmsoprvhMC3VwLxtbKmwPM2i310kCWb3NK5Y5gSpCamM3\nCV18uFrZ3WpzMxqkJNxX6WYvMqAbTnmoD6QNAcay+52DLZNx5obtT+aK1GW0\neia8s9hHkmXi81cPL50NrjLDTq3lIWC0wcMl8lkwwdbLUbEqU8jk669ouE8Y\nZ/98HDaDYhS9vXTkkVUTFsulPXMYSSWh9SglcaRsXSiFQ1ZO+stxmm+DFOtr\nvkR2rAtADcWKATlnSEAR9VLJW1WSHO4a6NJYMehS65k393jU10MaeQVEvicW\nhGEBwF4HC8u9pmmLVyKgLvWV/aAe5IC9V8Lz22u1iIy5X5Ha02769orEd/P5\nRJNO4kZsr51raY1XB1PzAPDqYIjOjgs49x5LxT17INGcl+xFSe2wJ3HP6VVt\ndoaWjpgVEH0WY2HpJRoShu87lJ855IyzSGYP8P3omITt12MJeaRUmkWYVnaf\nHYiF\r\n=2sPD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm4KvOo8ruugxTas1lCZfyvtZ60edIjgAJtE3KgPtFGAIgEo5c1xtY+yy8GlQE6ilKflh1omcGuQ8Bu1/H/QsAydg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.14_1593607082098_0.3222584198799665"},"_hasShrinkwrap":false},"1.3.0-beta.19":{"name":"@flood/element-cli","version":"1.3.0-beta.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.19","@flood/element-api":"^1.3.0-beta.19","@flood/element-core":"^1.3.0-beta.19","@flood/element-flood-runner":"^1.3.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ff7d4b77cc9b9576cbdc7c103d82180597fe98f2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.19","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-KnB5p98Nt/tlPL9JCP+K7EZ5erP2+2uF1NDGowZTqP1lu5XQmuJt4gIRv8tD0jb8sYA0q9Dse+s/GDa3f/yOBQ==","shasum":"97ce218c841fedf9a5c5259b00a235c8d25565f3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.19.tgz","fileCount":69,"unpackedSize":448674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMkICCRA9TVsSAnZWagAA7CoP/2m2kRgPU73UJTXN/hIo\neoUHpBU548L/yN3vV74n90nKKxim+7Kc1ZBkr0Mkz+OWlSEft+UBfI7uKZUk\nquMxyIs9emzIBGwVISvETZDax7ZfufATlPCcPHkV+abRshRu5WV4wMDTYjND\nStTtHqYLlA6ER2tkoHfFbNL5pW69Jmjtb4/LwqyHuSBFPRkgIlC0tsuPIWYb\nh3eyoxXPiUW11icOInEnVOBsm+ZJNiY4e5/Zp/xf9azAKOX77NkdbI+o6+da\nUQeiodwztdEvAS4QHre0q6tjiPZ26ej+p6ePWx4uP3E6F3aR3DBWJYJ5eO42\nMNud6JGN8fJ4+kdb6iA1r/FyoeyVHWB9kWKx8u0+l867zPm9+Q6Uxj/vHy/B\nVV1olKL8gv2pJgC4Dr6SQNajgGmYNfmbBIwXUBYIpEq3F3MyKGbOkeSBgEOJ\nSOTWSvJlh1213PwVvJKZBSnsu/pbJBHSfggA8m9WYLbjf3QKy2iRPQTFjAVu\nHM0ICIm7x1XRVRze5JXbnriz8+2mMDXHbWRQ17C20zfNac0fg35LmV9Ail9y\n99LZ6IWF01CVUb6nhxDHi9NawnLgBW9diPoPeGZ5OZ0XlX58YLTkDSk8176m\nycUp5C/aAHwYKf07IZ/IAko/jTH0zXU9bEgI6QuvJ4rgNUSZCeHBYIMqIaat\ny5hl\r\n=pu/1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgOuROPLOkCkKY2FWjhfJEibDzetGCPB2IkxpJIySQBAiEAvHNggMa+VkhmdpfJlwexjBCuGU4eRQOyXUI+LZJEz4E="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.19_1597129218051_0.014749015995104475"},"_hasShrinkwrap":false},"1.3.0-beta.20":{"name":"@flood/element-cli","version":"1.3.0-beta.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.19","@flood/element-api":"^1.3.0-beta.19","@flood/element-core":"^1.3.0-beta.19","@flood/element-flood-runner":"^1.3.0-beta.20","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"4e1ef6c80dd4200a96a0f55f3692e5c73969d4f1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.20","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-GjWHNNMQcddGs7MQsWDGaidvx2j8dfE2e+6Yt+fReNoprdD5nYeYwwUAntyMpsDC35qPrWSOoCVhG4AtYF/yAQ==","shasum":"66de07b489a774f6d2a251a8a59c563b3c243516","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.20.tgz","fileCount":69,"unpackedSize":448848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPGbGCRA9TVsSAnZWagAALcwQAIIZmCnxzYMc3a59wDaS\nXMUNEMKeLEh60LyGfAmWZA+3k4EDSqolmK9IDgrmrdhWboNv7BPRVXbNoCo0\n0WD7rsXbrq+f+Zg6TyG5k/tt19ruQo/6eqmS+0IpuT3zH2fb9UZ+M2oe0VZw\n7JK9CnMb2yK+OUpKINIuTal3m1zZ3maZCW+PzR+8/hG6Q7Z2FfXKeHOosCSb\nAPdStMHKebZ1KO2rSgbY59L0DxXplap5jTKOfEg0mG9YGLxE94pUuk3gsIEZ\nn12Xz0/F5nTCxefmNNBssEGLayelDL6FWj+23XPSx1LskzQETJaMHB1Y/qEK\n73hhUDxDBP+4omFdYNxR09/ER2cfk3jB4sttB8txuoQHUKiYlBkA696aewHr\nJKBMnRncfPP8IhcLEkOwfEqlCPd7gSXOe05SaY11uB9M8pepW/sG/Vk7PTdJ\n9jxFtAvqiIY3cGINzOvOw/KYngrArjdeOkW3H14kVrmFOj77bRPd+pxlMs16\nX0uLQv/e8xNS+JLELU7Z62gfbws3ysA9Ij3S1QVinj4YwZ8ycmjKRA68/VBr\n0xx5Yd2nbJiroq6wobG2cH9KvQazuTGmtXBROhiL4kBE1lnVZvxByn/8kp8c\nN987dniRp4GQptnxAnkVp8txub94q4mADnvNq7PFx/apgV8rp0pUbeYpi6MG\nTRE2\r\n=2e/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBiMRPGdIOmzyjA6bWzdaOt2JjDmEpwVlnrukedjDSWAiEA0hDlcNYsvVukUA1qOFKy5UOqOtP50qfYtkMcoJbvXDg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.20_1597793990260_0.540113289954347"},"_hasShrinkwrap":false},"1.3.0-beta.22":{"name":"@flood/element-cli","version":"1.3.0-beta.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.22","@flood/element-api":"^1.3.0-beta.22","@flood/element-core":"^1.3.0-beta.22","@flood/element-flood-runner":"^1.3.0-beta.22","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f88442c09ef2795e6068e47a618138e9d614401c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.22","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-w91finPcawmJaPN99DWoRIquqx65p6SA/KcASUGKVaG7coXm6rRWg8YfcgUA2l/9qInKuArhtXRNMSx4CYXXDA==","shasum":"bf8a7f755b716062e7f37940a809b19c5ce1d775","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.22.tgz","fileCount":69,"unpackedSize":449194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR2VMCRA9TVsSAnZWagAAobIQAIJZkFUAxGJCfXExnPX5\n/2qJYvdXAz5bSSShQ4t4FNAhpwYUnN0nrmJQtIs1SOTIPEopRmjeuAuhdnyC\nL9i4R6J2ZDP9g+fYpb3sOz+86epyUud+x6xSDjHmAkV1M8sG+00rpPq2Z1Sh\nuJCjdJLoMUsru6rfXdtcd1FfPJ2SFa8nyFmVcLjO5IUh0eSgPYH57+HiQdkB\niPD2cyACSz9QN6fZ5uKqcXLnaKttGKo2Sg9Iw7qa5SSSewLFste0ztt9t+Xn\nZe2SpSIJ0QN8ktqGodIhoiImy730z07DC8yhwM92LnRhHvlMa0o7rvGxm5Rj\ngRNgeTZ40mcWs5+jpR7V2tAZAoI8Pb33oOABdeEGjT6TnRhnQrhf/vPI4Ly1\nK+Ghm2VXhwv1zEzbzS7nwkrslPqtbNj+RDslAp015RxbA6I9AgZZ016owl/i\ndIprBRJ1x2VmxVi2XfqZHmHGIAlOi0K4V6DZyIbyVg/gdrwv87O8ZOttckmm\nD51PuHqNC1qH8lbSCGeM1ah+m14UruCNzJLQ6+i5xjvWjVSUQnRkQvRJDJrS\nwSO9TZyBKINmdrDau6tPmEygVY86PtbJffTSltg95NFLd0IHX0903Vb1OQdu\n0x7N8Gmt+nfi9OnhC0zGNiNi8aZB0OqhEWSdyLEpi/y01Q0RiMj5+b/ucRoU\n2RT+\r\n=fQi8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwhvRWlfdqZqBb6acv4iGReB+Z/VTsFtHJe91HjbG1EAiEA1xfY6AYzZrLjh1/wc9ZX1syukX8ZqE0qidHDkxK5QYg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.22_1598514507542_0.8575698827697438"},"_hasShrinkwrap":false},"1.3.0-beta.23":{"name":"@flood/element-cli","version":"1.3.0-beta.23","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.23","@flood/element-api":"^1.3.0-beta.23","@flood/element-core":"^1.3.0-beta.23","@flood/element-flood-runner":"^1.3.0-beta.23","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"8fcd9c58d2bca8d47a6a5b5a321ee3be78320a4c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.23","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-d+p88fUO6Kaq3KJKXONYYK2kYhBGzcxExJkubR01C5T7GIQfaTPesb8p3Gp/5l2JxsTB+dPuWjsZ5EH2kRQDEA==","shasum":"0344e4d565e2036f7830cf6e16bf4f28f6c23296","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.23.tgz","fileCount":69,"unpackedSize":449367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR2qjCRA9TVsSAnZWagAAwf4QAJqqxeY+CbVd6NhqUGZa\nrxxFknCkbor0eNQ62uX68sWT+xy0bj26jwyGZ94K/I0Ka6q6IzoeAMtBnIaI\n3iDW6hdPavytMK2V8bzZVr29umdkJsn+Bi9ZyDfYHw3ExfrO3E0xLUMyfero\noT6qqK3+teaXb5CzuhXuHbWvN+0KieKTdsA8qWCUAKwrTlLUz0EkLATsVEUv\n2/kBASlPhuWs5KhkPcgLQK6PY267G8DjivfiXdbLV29dug7IbqXrqsnmzVoP\n9BKj6v/Y3XLOmUoaF/mGGzaZd9VYKpIkma9F5axJ2sAioDMkA6eGHXwcdoKb\nDdr7vWjhbW2ndvqPJUdvYTtrdTwbd/7C0rbAc+ajFcI9W9za3pJD4tHqajPJ\nGCx5gl+GJLGkt13Mym18yFXs0q/YJh3KmYUUoCqXR7TjJMsgrS8E5RKkDfd/\nv8GPAD/arDH57ZjIBHKsap7k0yN3CuqihIq9KRZjDrF0MRq+Ek5LWt9VGMCz\nTKL3tQMUWVO0rhuHzUzs/G2Q5WokLO6/SOVakmUJ4+wubmTfxczASvNXCTKi\nWYFpW3SRqqpXhDWr6jchVLovVJU7Y6fI9my48gN3YcUWACgE89sqlJCIXY6B\n1Dth+t8Ht17qz496FWaW8HrgQJb2eEA9z9aUa0gDTSDF2yJ/1kZP1NTqct4R\nObek\r\n=vuw0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCKUNJHxkLj/k4wOyy9IGecHqyhhhISN5QzeJ610ZbFAIgeCsF7KNXXJKaX5UP4Hm5/hqnbM25iCo4Ve+XS+REV7w="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.23_1598515875399_0.4412216767952579"},"_hasShrinkwrap":false},"1.3.0-beta.24":{"name":"@flood/element-cli","version":"1.3.0-beta.24","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.24","@flood/element-api":"^1.3.0-beta.24","@flood/element-core":"^1.3.0-beta.24","@flood/element-flood-runner":"^1.3.0-beta.24","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1b240b09f01230dd8bebbbcd456eb0e53f334a31","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.24","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-XW81JAlYAZwLUwQoCFhpVkd2Ivjl4NAV1jSkfgRp6u3nmeM/mWT7goN0VOSIaD8UYdjsr5qG95Jv15xjcv9O1g==","shasum":"f0224d92f8f6015e81dd5faf21d870a73d570ad3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.24.tgz","fileCount":69,"unpackedSize":449540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSLNzCRA9TVsSAnZWagAAD1EP/A+VCdUZkXAiGU9NSYzo\nQBcT4SaX6p/ZupLNXEXirikbc6VDqZGtUcQ8yjdDzz2HHZvvZK1xFjhosE7+\nzqB0WUqwsMfiKr/VNhs7aRSI/diFRy9a3QUB5Z+tZrfKqYjFFk3nr9erou8p\nsl0ER/cKXGkXQR1PsVPoJA53Avkt0LmTHQzgPyl8TtIhhBDGjqc0p8f7HM65\n1oPGqAsovAKMaL8O9SW+U1SverFPi8cXQeN3o47O/11RfUniCmbxAapDWMFS\nruGYxFas2aHk3wpxnlp4Jury8piS1F3gIvFGqMP3KtuiA+L/7aLsonFmhcCx\nQuLrjc7LTVhuZ6oxi7SKSHeUq+gNVk7AcGlWmr4uQ3Mwvli0NaLq6YhALArO\nx01ekcH2k9uvmiPY8T6rZ4Gonf5ptTrXlK874whRCaFa2rxD3G+yLUosYNfO\nKx57Nr4XI8G1EWd8huFQyabuVlrLlKL6ROa22PbM7LJWB3GQbEcSSAObtsyl\nXf4E9gu64ObMmmbqWSQkM/xKJmUnLmoxOxVHcfBtVtTsAZ7ilFJS7nLRbe5Z\nOJKFEaxBtUad6+8/HbCqG6uaSRKAXeZztDEsQCmlEE8ZbTH9Fw8/sfLyI8uw\nCiDIhy/0p3+UfIBgRhnHLGWl7BNqdyFgRRkdS5CmdEQ3bd6s8/gCKrODwrzb\nmdxZ\r\n=XZ30\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNGHK8Lccpp51bl+3SZXq8k6dMjZDojDYqfHEHi6GakQIhALjvappHb4KbNmD3m/i9tajsoSMOMCAn6HI04wSqNey3"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.24_1598600050936_0.14016466254003346"},"_hasShrinkwrap":false},"1.3.0-beta.25":{"name":"@flood/element-cli","version":"1.3.0-beta.25","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.25","@flood/element-api":"^1.3.0-beta.25","@flood/element-core":"^1.3.0-beta.25","@flood/element-flood-runner":"^1.3.0-beta.25","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ebfc05b7d39e547f4b00bdb00b1b97a0464d2d93","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.25","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-LcJja+qxZiBAVp0M27C9Yrqx8tv2yt9W6GVWD4wMm0jBm81krKhfrOsxUA2qEzyOe1T7Uxe1TXKgBl65tAO3vA==","shasum":"d2fe8d3debb3f82e59e0e9d694b894b2edbdf2e4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.25.tgz","fileCount":69,"unpackedSize":449713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSLeECRA9TVsSAnZWagAApBEP/irHAZ6jtDD1U5ksR64l\n7YGtvmgtEAQ4jmPTJR4N6S+7VMQNjckj+ezHvNn9LmQ+JAD+NP+gg78U21fe\nxKcwgulTo5LoC30O0qZCUPXSd/qWGzOfmgOBEJzBhtsxdtfOozHqGlLebEDB\n+tA7hW9XacTOuYAgb8tCc2bl2rWH2TaEAyB8Cvf/TfxPGGsfCBChTM5N2q3w\nthN75LA7WutwZCjLnWav/52KY11AYWqW+BM8qNJ7UvOd0IeWn5eGGBb9mj/O\n9s/jZcT5yoxeE+XIngZy3RYaiG+uyKrthAc9U0PqA/OqwJLBvZV4nwGsPwwD\nHNLryW3CmecGD7Shr/yjYDBwOIO0cB5BV/vpQB7V3/7rewTxb/L4nIYbyAzr\n+4AbDaSLUKVF1VOEWx0zCJ+AmKBplPymHbyEShbqc4T74mflCGmTnTwDCmUq\nr5Ez9qIH20GRgvu8U8KDt53ZGIPdPntCg+4tPSAZUPCJdWSwr9hCaEmSg36R\nIFYy9byfnRGJDS/T/I/93gCfYGeJaoQJwXnFP6XO8v9NulOezUA/t8gDTeFM\nSi7FJ8h5jzsdHh4F4LMx+BQ+ve18hd7NNRjMO/g9Vtm8HEg+i3OOz2I60xhY\nFF5RVRjhG1Yn4vNISzIBSAvJRtNvKxWs0OWJ0V4bnoFjAk9mvr1kthGlet/S\nLuBM\r\n=D7AV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvQaApPItlgyBrfpJHtoZ2BwzQLK7wYTi5OZDJtwkUtgIhAMH2stR0U0KhfUPQ3hTHpADxUT0tuUW04NsRLMgjmYt2"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.25_1598601091826_0.9685757647119968"},"_hasShrinkwrap":false},"1.3.0-beta.26":{"name":"@flood/element-cli","version":"1.3.0-beta.26","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.26","@flood/element-api":"^1.3.0-beta.26","@flood/element-core":"^1.3.0-beta.26","@flood/element-flood-runner":"^1.3.0-beta.26","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"4e7f85cf8e5cdd4bf1c737c47a087240ba267ea3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.26","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-qgbGSLTRAuGiKNfUMIRPA+KGg8fAdroFd6E2rbZxe3kfbyfQxA3P20tir5xvoz7eDrS+y8OWc+dGeHkbxZaR/Q==","shasum":"154452d570e51d46c2beb254bc021a66e7af3a07","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.26.tgz","fileCount":73,"unpackedSize":458947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSMa3CRA9TVsSAnZWagAA8GIP/jeji+Ax76JjP7toFpw4\npaDz6VMc28wo2ApKSlKPsAr6qtePDMbIsHn1NPIWJMDq4ThbCCc8ubjC+3zT\n/JA1TQiIUMT57fn6IoosuXltQNJrxRzeGzLUnstb7lOmTeULn0cwgmmMfUFW\n+exnaoeiuoGmK7v47iM5xBHVuv5lK4z6LKTINw7PyeWtRXKMhpKrdNvmHuxk\nDJsXOAqms2UTosU6+lEcwI7SILPPuhRB7CMIx4g6soK3GWyxtxgmymA/IkkC\nIQa7SPdlrqql+m1VkKbxnb5SnqAUqR8gYSY7UWGs6wko/89yH4pMJI2OSbNz\nMUM8sVbGlToES4wwRzGMDOhS4g6zhDRNOGTgQCl8+KOK+FywqPbRKlltXIxU\nE9/oCguuc9YIm39Ow0jru0fERwGA6pt1mRm0uBHHevhgm9U/7pbqW99E/VcS\nncV9zOSAFRTPZFj5+a5SP6CYLsBn/Q2pACnaJQIL8/r84KtARrWkzm5rDZdQ\nfNWNCX/Ka+noXWCmVUGP3GwHHVsJaOcNCSfkwKVW0bVL1X0dLNqA6WqFeDmm\nmATC73iSAdcsqvjeeU4Iw4eIp1sLEDxCrMw3NZOk3ud/o5J8E2lNZ3U+cxZV\ns1XUcZYsudoALZ1KDEbX97zBREIil0WyZ6vpHNMyZergFvNX2QRm+dmtkmSm\nZd3B\r\n=s+Wg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0tnAGNvjEZ4h1PO2L8YjztmyQNYDO1TgfPIzdXbIzWAiB+XCdhM36EoHjg23ZHDd10Vi/NT/0vTuTb3NoHiC2gxw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.26_1598604983091_0.9462126418513506"},"_hasShrinkwrap":false},"1.3.0":{"name":"@flood/element-cli","version":"1.3.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0","@flood/element-api":"^1.3.0","@flood/element-core":"^1.3.0","@flood/element-flood-runner":"^1.3.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"582208b55e6766df3c1f1175c8220e73798e6fc2","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-pxvIAT4xqRSXfa7FAqqjDxbcPa2VFk7mgOzcPOxCEUl2Tiu81dyBwmXcqK5qkn+JievyMOY3A7ifEWV/fsphMA==","shasum":"78e0fac54d5fb8430beac8375e62ad9c15a4fc0c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0.tgz","fileCount":73,"unpackedSize":460514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSaM2CRA9TVsSAnZWagAAHzAP/2Y54aIKtbOu92MCpuzS\nNcyRdheP1QLH8rwR70FQfjNjUvVCCSDJLoME/H0DiToMURwWtnskwaCiSKRI\nBW+uE7mev0FecR9AB/GBf222KAUMFDs+ljiUiT+FCE+i8gyminnqsIqRAJ6i\nZQU1/2PIGh07TpbFSMtRw0jk8CHADRtVfj6kzrfTHrqN9YWNPmqyXLKWji/i\nT+k/jeJR7uCDngwxLEWA8eXn8k90rXGYzkclLl1zZaH8g7jrIKo13e5OWlxv\nXnaZPax4gSdRUvurPJpqF6LA28554EvkDl14tmnrRv9/GtSNckBysK/fNXkk\nvpXSHsAEQ69gZsfAlMAWwLAkZ2LG1aCiOZZEx56SY2fGEe1M/Ci5AbT6TTOa\nZb5EvL7IQbtT2P0+KhasuZDSk8O3EU7qgOkO1lAVDD5RaXD2+0gOyesc/4F6\ncXMChOnbLXcXk0riY72vl6WV0LY3Ez7G0mUP7JR0RzahrNPxPPC87+LjRhB1\n/4pZGLiLKho9jMtkRtHz7FtlRGHe+WDVzgEok4gCr46q1G1BEjq+50ww3tnL\nmYqfLDXNG2UhYOmkKgCymcsjTAyxFPbXYtRp+ltRuwF8hXXQX7QrbmqcYY8x\n/KBoUIOsEcwbW5GjwSyM3+Unf84jDgrpD2VB61phdL9CqMKidMjLhTVu4RhX\n7DUl\r\n=Lpkb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFu1TgB1vZZgeHlpQMPrT7i0O2RKc18wuYZIoHeNHiPgIhAI3USA5myEZmkKKnBNmxmVKgDb/zEawiHke+tnfwPV4A"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0_1598661429772_0.6259066757956491"},"_hasShrinkwrap":false},"1.3.0-beta.27":{"name":"@flood/element-cli","version":"1.3.0-beta.27","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.27","@flood/element-api":"^1.3.0-beta.27","@flood/element-core":"^1.3.0-beta.27","@flood/element-flood-runner":"^1.3.0-beta.27","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"afc237b16a134c8431618a92cb36886cc5b5fb86","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.27","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-dw1XophxS8w4r7gUnchZ9RmYgeRLi+eiGTGc6BCDkvDOqt9Dfukh0N/zHqPSNX786wmNqCVBviuz57ykAb90vg==","shasum":"71451acb6b938e49746484e26bf5ae1d4fe01910","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.27.tgz","fileCount":73,"unpackedSize":459999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSjK9CRA9TVsSAnZWagAAFOwP/3NUgsnJrj5/VW+eOFG/\nfXoo/qWhHeR5wqhmmoJCZ0F0CqwYgtzQpPBuX+PTa7//8ZLnSR12Wqj3KMn7\n0obVH7aAQ5hpKccfKLZ4uQoBJsKK22sIYG7kPUESY+aGpzuJHPPgOTwtYFkZ\nXgQY4uuT9qSC3UKiZMK0e7gZAUzFyDn4d07Zv2QTSH4fIoSV4qLU4pMB4ZM0\n3Bu7oFgNi7BUOLM5TjomK++ve8itHISMvKE8ANiDSS1hwfKQbI/lLq/3ZejL\nlLYfxXWlG7j87+6NBQCtETaFfyLDXrbgr8wSFqzIToSroR5xSnRYm2qa/WVE\nuOsjaR55NzLaYqewGMYC81sKy2s6phai6KuuVDhwO4GMEpkiU4nZ5iKrJH8p\nbCygphRZ0LtX+hM/SQGHQATKVrcQdKdOEspKrpTPRHLCDQHQXqyyWYclCJT1\njlrwTvo3bHhDGg6IdjX71Q6bZNoRR7cp+WTnZpJ5h4/rKdLAQB2t3A706Iru\nV1QL2//odw30T6zVeOGqfKf68GcwSbz1QhGzml+Ik37oio6dJHooVdBzZSqu\nScVQCfn19kzKXlusFRgls+ExfQIMLFJxJFWz/7UzNiYGUf2Ts7d1g5VAzQod\nP5ZDBER2Qc0hIstsWaB1EiymoPE92U8XY3B3rCxVgZJep8ZUddSW4BRq0RKw\nmCVd\r\n=W++q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8ps0iPKlyi6FgsFyJ7o1vLZbH0B0x/akXkrUl3dun3AIgOmJc0nao9dwKsd69GSyDBl3WKdqLPLxVnL6qJ9WRA/I="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.27_1598698172497_0.471902746110048"},"_hasShrinkwrap":false},"1.3.0-beta.28":{"name":"@flood/element-cli","version":"1.3.0-beta.28","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.0-beta.28","@flood/element-api":"^1.3.0-beta.28","@flood/element-core":"^1.3.0-beta.28","@flood/element-flood-runner":"^1.3.0-beta.28","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d433a767735437a0218de4ea4ec1a86bc674caf8","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.0-beta.28","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-7tnV2DWqHMeszMuexBcn6SM4Cm8nXoiyjJXXUPOD7KiUe+9E8jeXNqEdVoSNrIhJdKfaj+1P92tr7IjoGt9wIQ==","shasum":"5ac0b725c0992e40c73ed12b72055ad2ea59c0e2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.0-beta.28.tgz","fileCount":73,"unpackedSize":464956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSslLCRA9TVsSAnZWagAA3/EQAIAXcI8b/UTmxULLPJfO\nNEbc7A6Siv4tXmKbOjke+HZmiYF5/nWgmmVeNozwr/xKpQZOwN7gc32v2ks6\nlPZYH82Mu9dmqaIeE+AAEHivYZ03DyzELZk7I787pScuqi/bkABWHfr40qVC\nji6ml+IQpL8QwWl4DdA73Csc1X//ySctpQ6vYVkqxlpZox8TcwyL/m8PFF4k\nJLd1sXEkTq3oSnCCm/D2NVmAiiqxMR8A4SQV5fSFjPH2ItyQuzaPLyBhJeok\n5CWSH+Eef4o1JLNpeZTtatj82Eij5/4CtpX1pikeOfqr566H0I3S4H/z8DDF\nLdkABladf7MO6pjq6NFq5WwNL1tv8BOPvcV9CY+RxAyG3KMoaeE99+5p6phw\nCqHvf6LTfiIlBr7vwKwDvzoyn3yULchj8Xgx8yHghlJPkoHOOqK3xLI/J6nG\nAM5+Mp1E5pzHERrxzol7GmMBwEC+EjELhsq3OfVIJJzMmXzyxTzoHwkMJan/\nEPVi0DdLii7Ps7xKr2FHDc+om/wY4/LBHcAVGnEg8pe8Px5SBUs7Buhs9dP/\nbP1mB6QQtcHaT4kde7FSb31pZWU4O4JO8HxW68uTsxnQgBWp3c2y5rR9d66O\ne4NP0UL7j/jSjAjZJH0nj6Jwc2n7ki69+HXaRS2My19aJ/R6cNX3sNzeDdvX\ngk3/\r\n=rSQl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuplUPp8RFvEFL4z8kvPx9TQdIahreXinaigDsZk7Z2AIhAMhL7WHulfhHD7dA8boOm+93IFhj9HKc8dKam78k+R5A"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.0-beta.28_1598736715513_0.24860260127659073"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"@flood/element-cli","version":"2.0.0-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.0","@flood/element-api":"^2.0.0-beta.0","@flood/element-core":"^2.0.0-beta.0","@flood/element-flood-runner":"^2.0.0-beta.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"33a6b04f07f6baca9809d4d43fd4dce1084c68fb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-ZuhWJQ0hFQQbgQwaTgSyvYIiPXjyVphT11703PcUgzYmoBXiuFJcovvM/4zyyJbJ+dJQmTlPwqgqjbXBFgpCAQ==","shasum":"6a622e194417d490075c1ee1216cc3f9ef28d1e1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.0.tgz","fileCount":73,"unpackedSize":464062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTGkCCRA9TVsSAnZWagAASCwQAIzNQ4RATCbpY3CY2s+v\nKbNiRnrwggtt6munN5uuOu0MfQmU3DH0Ujv0YyPJ+fy6YgO1nLSNL23RzbEd\nF5isYaIQfuLE+mgYk0V5sDusAm9Dx7G9riPWkQ2rFSwCAN+Vqq+yb+sLyAqG\nfgnNioHE2Ml0/lt0CRFb2CR9nyg17evjbj0TOPBgSjiqvfTqDNxrWHSHva5/\npT6RkRNrpI9asgf9HH4irjz2PCt3oUJfDxjkBZB4KL60UWH9JkfLmhSkMZeK\nbRw9FiBMresRyLwvtaMczg3ynRZmVGG+xNtTL78pwrPsJcpIlTLxB+OJZZxN\nU3gx1yEeXTnZc+F56au7UnLsiB5wIS6m7AMYO3d5kx4ymJ1b/lWJuINAfmnX\nA2QrgOlEtvlZJZrZCwdYuLb8SWoKefZMqJp0DNsjJyuJFVqqoAdAS8YZXU33\ne5E0hVIjawiKpWrvKWo9G79d7dYovZWYBIz54lzRy+A0cukw2+Fi7iLEbbEL\nrvEZUy4WyTHPu8CTVqCA6oggYrv3Rp2iI/cDcsQJSS1hkRLqYNF2uhLT4Gg7\n2LVkADyoaEsy0HKmrjdyMwFDDT0/0Q7Ei753bAFVycUNKrdWnsNPFI0Wb/zr\n0H/arEhHyV3JdLJPlQinEjX4hm2VTZWcpFLtXj08dJwJ+Gw3OMiiipcDW5zq\nzAP9\r\n=IMcv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh/vXVv3atM84Ab93GQ9r90AYSIiJTyI3I9IxOoD7s2wIgaL7NavOAvkP6GAfxmtBhRWLIksLRo8QHMEAPRDpUMI0="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.0_1598843138063_0.08612433929104335"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"@flood/element-cli","version":"2.0.0-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.1","@flood/element-api":"^2.0.0-beta.1","@flood/element-core":"^2.0.0-beta.1","@flood/element-flood-runner":"^2.0.0-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"85c2b02e3c042e83532835e71a4442236c7688bd","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.1","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-/TGEYHW5xaNKzJSojr/5QfZKcjolBKs6dTyimaeYA48kkv8T68W2kCboOUmi6pzTOdACY6tpjXnFRAwnxFtHXw==","shasum":"7b77489380f76aeaf2d27e94fe30cc29efae0fa8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.1.tgz","fileCount":73,"unpackedSize":465017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTIJfCRA9TVsSAnZWagAAqP0QAI5TgDFR6STdIsULirbD\nIKzbSfr7KqwH5LD6E85tEhqykjtVZIxDniVdIntV2dGctNcJm98XgextEFVA\nY31NIiGTe2WoPrbEbvzC045isDNSSU70+Gb4MiXIb111DPy/rRIeG+VHmTJd\nDAO8ZvJ/Jpdo05oore57PyDTgpKCIvbazxu8MNm6LE4u8EtkWVKLsOCYz2As\n/UUdQS3aZFIFkw/SQTa+JVySpwz6uXEFWpaIdNjI2xfbXdAX5eizhERh1x4c\nOl11MWff4DCT58mR9fngFDX/iKtaS1dLgNi1CejBSUgRpQVWBXMxOtVum35X\n4tY9A/uhPAozpyGcTPpe8kO5bGa3JFHZXoKTF0RDk1V7G8sk25dQuigkNJm/\nDpWfuFOJB4ZvS7935o1bmEKGcnw+u0HTaVkaU+3RJ/CTSiRc64x+71b6zf2o\nAEAMHzL+q5p19cRrDj5VGSskHD9I1grhfcJQUkgqt1znk9yNJuIJnmP0gdc5\n1ghYqVPqMEPAF6YVQ2PMlzT2e+v3NLMiXJBxC/FX3oCnQ1xu+BzvmATJVuNe\nBIzmOWaYWzp3fFxISREsAcnaRCjDGrQiggcwnVv/ylZBYcud/8H/h2YkH92Q\n6cCfNRtqT7Z0TJ0foJbi6A4dH1kChg2kPzrUpMo7SnSw7vxhJRqCZoqmYvrb\n5e6k\r\n=kL4E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByWYMjbVAXfQQG8lIQMlavONyv3tNT2P7r36h0oh2E7AiEAisMfy7W9GhP5Rn2TrnjilcIAn1MfEM1CKlppudOTivM="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.1_1598849631239_0.5208671415154629"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"@flood/element-cli","version":"2.0.0-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.2","@flood/element-api":"^2.0.0-beta.2","@flood/element-core":"^2.0.0-beta.2","@flood/element-flood-runner":"^2.0.0-beta.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"92d8efba5bee7eb4eadca93301ae4f5fe070de5d","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.2","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-SDF9hYubUPMyXNgwEAexx7BCeLQaHrph72Avg37nQ04nOFNfXpKjZiMXfTK26FlmwX8l2ztXJMHhvgvmT6TSyw==","shasum":"68c04008b65e03fc73877311018a4289267fc16d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.2.tgz","fileCount":73,"unpackedSize":469205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTKYQCRA9TVsSAnZWagAAwP0P/jQSkklGibQcUv9QroOi\nFZhxilCQEcq/m9TxtvV8+EnTpSyX6D7TN5pyzjiIF9ElwUGmdYtAe78kAQmN\n2dhwiV56CIm2OJmZGpa+Afz/UCuYT9LwImu1JNPOn+vhoNVSoyCRytfl0VsL\n9uPcqlafcUlHIe2BMUCV9TdiAtNY0rtARVbUsS0YVUlPgTPpuzUrwV4+Vwuk\nHD4yYW/TvRERANpGsPi4xxfTyTpx+CbrrKgya3ffUedw8C+MLd3wBzIS1fMU\nNM/dIMHVkaiNkEJBWW/LuH7GoGepU2crEgjkoKyrShvigTFCp2qIVciBz7o/\neR170gES64lg05f3hdQsyNaOYfYIJS1HOhjo89FI2XOo/AqdgwHh/btlZHW6\n0OIrHU6/XrgtXfj0RGIyt3JH9ZC6CWDg2iN4iuZSMia95fFWH9v+1zCfWcws\nUzkHC+xD4RzBYITlpamVEDm2lbXinSb/F3kkfPPngGo5+7sF2rQh5lWTg6ho\nYzaELBz16HkAlYJG46CyA4oCDKIWbxF5HRC2gk/idGIRv+83yCu5ywJuLVSb\nixIOxd35noIue9D9u5mABK9j9d5BRCrwr6WbYXj7MohS69CZMuXamKkNfbky\nygKX+KfPXgmb4gPT8AGu9COqxQ6pcgDYl4fXg6j0uH5Njpa8KRe7l+0Wthoi\nu3kW\r\n=Cg0W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICdQt6qjl/87NaeJaBGcCo4fuxSf4dt2H/17Jqiyg+PnAiEA1nge6J8XoriI3kS+7rEZ1Qvvyb7JXdofIFbNT0gDgcg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.2_1598858767773_0.35666464765073225"},"_hasShrinkwrap":false},"2.0.0-beta.3":{"name":"@flood/element-cli","version":"2.0.0-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.3","@flood/element-api":"^2.0.0-beta.3","@flood/element-core":"^2.0.0-beta.3","@flood/element-flood-runner":"^2.0.0-beta.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"cb39281b8e227d732dcf8f4b0ff9e941a2f36a17","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.3","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-zVOc6l7eUidWPRhxTqeBtbpRRJhmgpafLNa6OQVyPMi3om44ftmERBHP4rHKni8UfrEKE4lhnRbDyowbRgtnkA==","shasum":"ff7d16534c5ea0199618f8b7eba719e130ec06e1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.3.tgz","fileCount":73,"unpackedSize":469375,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTLpZCRA9TVsSAnZWagAAbjkP/2EphyuwP7CdC99mwb68\nuhrCqH6jikU3uJzVj824kgWf5mZVi8wT/o8TF1Qf/sxfKODjZe2pLGdNxjkq\nBykL89X9lJ76RALNRbm6E+X+OMg6glx+akrr5A4dgcYLrP0LXZkiw+T0Muzc\njWER9Vn6V4jN0PrVPHK5wMcdMhgz54gyBMrX1gZLnMnTO42KQ5s+QDqctIlC\n8EE2Pa9N540hel4cCWzr6JTrPOXjRfWIgYmclv/QO3L26fSPHVPFYiI4RliO\nToIrSztoEGWyQFOfiA72DuEOfPQRflSNXFA1mQ6MIHf12sxnSZZ46Yz8aish\nYy2fHiCjjFGK4Ym7pcIWeVqpeHmqb+oYEZ2aTjL7rpbFGh89IZ3wq7e58bgs\nNRBn8IpHWUcWv8BM3wuzIk9NR+aZ//emz+VeNCG0B50ofZuW98cA/p4UbowD\nlCvEzjyub6AtMomSrR4D/yXDJzmD+okYMLKGiL1YuaPdl/1e+2br1Tuaf4oS\nfh1tnqRx1DTnZ9Zwy3qy4j7kSliIKWF9rmRHcYracIHLRQKB6CXQtw1In9t1\nB2RhGWEuZKm9eZVifzIXFg/bnq6tu2LTuZMr9YCfEqFkFqGvjt9X13rak8pv\nuYGAqKqk+XnbhXr7qXVhZ7svu52yZsWyxrATZJQx9G2HR3ZyVjSyQ1pNSlmr\nq9by\r\n=xrBT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5qEWcydmr6AC7shxiExTzLaww5YCH7iu+CSsglR3PFAiEA2i/kW2jGYtw/aUa4Qz2eR4Tl5M3RJChZco09jrJKTTE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.3_1598863961041_0.5694653015613442"},"_hasShrinkwrap":false},"2.0.0-beta.4":{"name":"@flood/element-cli","version":"2.0.0-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.4","@flood/element-api":"^2.0.0-beta.4","@flood/element-core":"^2.0.0-beta.4","@flood/element-flood-runner":"^2.0.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"56cbf131b5737c4e6734f4a857c3482adfd10d3c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.4","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-gXIaZfSl4/UNhsvDLcYcYa/OVJYduTUc4ZuM4HkMdycP8rGNoU0JFTaLwk65pteWWYhTDlD3pBXdZWcaSdZEPA==","shasum":"daee04196334c3339a36b6149986cc5c3f202e03","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.4.tgz","fileCount":73,"unpackedSize":469545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTM3iCRA9TVsSAnZWagAAVjUQAIWxFrzQBitWy3M6/pIw\nMv6kG9kBSu5E9CULbfgVQkjxO7pOLpTylP1egJ+2Q3gKU1VdP13ELO9OLntI\n1pJuJx3cBUaWOrQSJ7vSieutNW5CChI7z+D1Ot2+u+lfAEPZ/Re+RbFSjwBr\n0EHQ994Bb3C6x2mbXzS2vyruU8cS7ciaOU08XVpGfa4S4y3KjAdkEpQHEaaV\nBiF5EB5jCy/1lJBS1gYkG2AcIKZQ1szoGjIfsEjs2pJY2jTnyFIgn6f2ERr7\nUaohXLdJJaVnJnsIoYzctKKByVG+Ece1XuP6BUsax0LRWypQ9LCbXNmPOUU0\nQYaFrM/2Zb++0KPibyDZUiQCYAlDu7yZfvcUwBDdqWtPw6MKi5VCDD56E6ni\na/U/o6kE0jx+83mjwUjFs5ztGqRtMvfoMgHrBD2d5csazJfPhCf6L152rsxm\njyLWYPX+5xzUm0UY2Z7sYm/SwYEu3uTExhgewkpKIpeSscX649CZZPewVoVV\n+W/htCFkbllDolrQkm7mgHQ91B0YyolRxKUO9gxe93Sj+u4sTlv8fkrOdD4E\n5Saov+XKa2G5tHmbt8Nq2d+bpFnPbU8tC9+48JfSwnCvrVK0iFCWGZqwJwKH\n7qMppzf6kSZfVmYGJBS9jqr2agt4kjZtWAylKEktPAo2XUY2oeFP6zwQJkoZ\nKZvh\r\n=Bgc9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSaJcv5/cZ7i5syn01hCCag+1/oOB++2VKGDUg4JftDAiEA6cTzvFfMFZ7QsuzpvSurPCQWSNaQyPBHYuytBZX/L5Y="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.4_1598868961804_0.024287522672432393"},"_hasShrinkwrap":false},"1.3.1":{"name":"@flood/element-cli","version":"1.3.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.1","@flood/element-api":"^1.3.1","@flood/element-core":"^1.3.1","@flood/element-flood-runner":"^1.3.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"902907ad7197505fcac71ab7290d01d74c1920f7","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.1","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-pqlJHIEaDAj2foXveb9zNqnG0GnTWNEGYKdYCKAeb7uYB9yDneyNoTC2JaorYgUwamJ9ZgRnrRJJASrpEg9HlQ==","shasum":"591a21da5d988b19a91c74f7dc9bac2b30ca4549","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.1.tgz","fileCount":73,"unpackedSize":466050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUfGnCRA9TVsSAnZWagAAJI8P/24VuncESQqJ6dm198JJ\nZci9wrejKqu6pWx7TjuLtrqAQYS+kv9CsXsu3dN7YA58kk4Kuy0selMTnZqg\nHseaPHd+gH5Fqnp8ntp1H3upJOqOHryp2kMp9i+kqVnktxAx4mR2a2DWX763\n1e7t5IqihzimvLFg3XbCTbstquMwnkUgy5+jkwv+JdIewa8IaEkCkaxMtd3b\n9hSQKIjRWQw4OycrJKftlj9Qg1Z44Pzh3OLlavdNt+t3awctszXs4Fp2e+iv\nLaKulNNSufEcP0pFerzHvvNzzfSENSMM8m9Ud3hMXqiW0+FvjvhLwLp7/fiH\nvsfnhQ30K2TE2dTOc0O0Nd2CajI9NZonwdAYVCAaWclwAe3n0/+3KgbUvrcc\nmK0SG3Ny0jmY7x6/47bsuXTl8WxOcTVZrs/0agtb9CcWRLb/eeiw5MlPD4cD\n1puHqHV4DIdPZxHbp2zuxlMYJNoZX54BhCdhDenRlkyF1mYTJf4rYGdUTRX2\n09vERKmdlqGazTZ1/FOcNbq9O5H4H/qMrtPp9sf89WhULvQUhragc9XlF9fI\n/T/ogCIXssoL+hvNwrQlczI5wDzyH4GYkdjE940hWCE+iysJK39flIovEHWN\nh0HB1CsZ5ol7qH0dS+0Unc+sVz/ALzgmVu+Z/0vLGd9VaByc9xoQTPAErDXY\nc3tg\r\n=WG4j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdJqDwMwjF7UBMEC4S0jo2mqHT4OP1qcS47EAwzbKA8gIgTaO2HzZKmmfiWlfkANYBvTzJaE3nChbYrjh4ml37H2c="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.1_1599205799306_0.4908764072104659"},"_hasShrinkwrap":false},"2.0.0-beta.5":{"name":"@flood/element-cli","version":"2.0.0-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.5","@flood/element-api":"^2.0.0-beta.5","@flood/element-core":"^2.0.0-beta.5","@flood/element-flood-runner":"^2.0.0-beta.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"4250a04ecdd4bf4071490daeb33c9dbf3aaa1e7f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.5","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-27V4u0OMJXdRcjFuLIy8bLCK6p5P7N3svINmaPBt8TZ86+9QLVvMObVaZ7lbQK5Ye2TmK7tlMSPyaR7gTXCbVg==","shasum":"8f646bce9df25ae712e9cae30f539624aed1828f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.5.tgz","fileCount":69,"unpackedSize":467256,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVfOzCRA9TVsSAnZWagAAL1oP/RKt/5JmgtLjsDQFtsUg\naQPAp3iQERfgA27AEvh64R6cNIHupZzMVU4FduOZUpjfNSdaAuA6QeHN7Jh4\nYG5c2Wbp/NnGlnzGrokOUu26Zw1rRFt4yhSWBBXR12Jx23drqVi+tEVtWLbe\n++yZN0Eat1PLDdtgZUn6jSPNY1IzDT3pzmy4oFcfAisc8RgjUzgEoj4TiJGk\n55tgSmsyQMtOxnoKCQHlCrHWg8oqPF5wQiS1tb8RguSwx5Wonjij3sX45r2V\nxrDRRgZfCl2CXdywmW04Kk20EKOGJJn3WJqeVirXpN8vZon6jMgYgGy3n+2K\nnUTy4lxlRr5JYr59PNRQXchViBJtwoDainUsASyjRWMekxEFo2KlETNhZVhK\nS9c8xsKyhyDye3wtIRAo5liUYrsuDZ/+Exbe5+zL/ULNCSKvItcu8C7JBlUf\n2F7yPePrzK8syeuDCRhJ5i0xwvJIcKbcCRhpQQHkahbFpFuzmblbB618JlMX\n2sgE7uWly5L0/Y05YBSlKDzATJTUG9WqW/v9Btfn397vlICWoO2y9mvr8+ES\ngeqoVC8Zgn24zPieKawnUoBORkMb2p58f/mpTYTSQxhmK3JV5rJtEqjQm9Mq\nZznSjt3qtVXo4ojbX6kqP+6FQD6bGzvLyWIKi5M74p1DiTVIyMwwZTkQK9lO\nrnJq\r\n=Qqtg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRtGH1A3AEU/I/4eKJu6CX2oqCl0V+Q6M9yujCIP0PlgIgYnxzso7MwKPzvty7uif2L/cy75ky4+Z3yL4x8qPpR8g="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl@me.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.5_1599468466942_0.4875821292691922"},"_hasShrinkwrap":false},"1.3.2":{"name":"@flood/element-cli","version":"1.3.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.2","@flood/element-api":"^1.3.2","@flood/element-core":"^1.3.2","@flood/element-flood-runner":"^1.3.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2982ad27c4f151a91cab6cdb9a2895f272dab390","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.2","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-IH2RepPRy1NPABDTt/YBT0maXIkMikjvEF1dOAx5NbSYNo1QiqeFrzyWJ4w5K42stqaayaA5PLRfpuYRE5ptZQ==","shasum":"2d7900c5eb702747423df51db425d18f0ceaa1ff","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.2.tgz","fileCount":73,"unpackedSize":466839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWJQLCRA9TVsSAnZWagAA4Y4P/1hsJ9j+jVWdPvlB6nrS\nfFYxxZwiqmPbp2tVu24AXkXZ/Ji1m61cdZYuVPzPy+7Nl+XUK4UoPjoeV8sw\n7h22jkRMPKdp9ffSmo4KkcmGQH+5C0y/dwGYVxyeX0EtGhxP4Ue0PmAGYCpm\n7NwZ8DX6bF8rG9+KgtUUW4TMGhe4DDh5d+I6uAPhx//JS8FnhwrCoSfTCPCG\n4SqojnuTnNena7O0VNmMD23GeUNEbnrBzJ7WnlyCfa0ObRuEDcRGs6do7Mbd\n9wWCy0sV7pO4O7s5VuuGkrEedfr8soksCLuaVHoErJH77vyiwMk+1DhDlYUJ\nIfge36BoZSlEJizBMiyue0MCd5xKzv6b2G8Pl8X4cjk4uYpT1OF51oTREH4q\nDmXVdRecQToqX7Lw3qDDtcdtWsFgRXB/xWf8BI29ilCbcLeL2CedBbzRuyLG\npTMg7EzQaupoq300HTeA408nAtlB5Vm7i1M9g9/ipWzm3Iv/hwtcHwuRA/TA\nb2itUeMvlvakLjQnVcuSDqxHifBtP9jwPP71rOIXY+fU+HS/j+dJoO67Tgw6\n/9go6A2R/bNXOJBfCoLJKaUHAJOa6tW+zqGNtKIiGyFmk2pqM/GR75DGQzM5\n2MWk74feW6onHSwSx2hd5/l9b2ugAgEzgbRMRhUwcESJoFqbyjmprTZBvNM3\n2DYm\r\n=HviJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxqQa73ulOQltGtjV1L2qZ3WkdADWA2YikVJySuOlkQAIgc8kinyvFtXdMbw2dyceCJ2F6sCJE5ib/K4U5FXq3gto="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.2_1599640587086_0.6661536461849737"},"_hasShrinkwrap":false},"1.3.3":{"name":"@flood/element-cli","version":"1.3.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.3","@flood/element-api":"^1.3.3","@flood/element-core":"^1.3.3","@flood/element-flood-runner":"^1.3.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b6606c52bb28970ba97d47602a723da0b991646a","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.3","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-KCowdpsx+jbYsqMoEXcFUjpkFalmxZgTuLzFNadpdQh3mi1Lcyv9QrBG1EY0DaBHi8YvFToeCtR8ZC40sP2rrQ==","shasum":"a7a3bee01733ac18c52c5a55edd1cf9cbe8d2ef7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.3.tgz","fileCount":73,"unpackedSize":467132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYboVCRA9TVsSAnZWagAAgMQP+gNKTMND70RNelDGjaRr\nM1uOLr269oR+foQ3FyVBmX4YejknZylXc8bnyzHlzLPV8bqI8mwjkfp0KxJn\nM34dV+cMCILRF4VE/0pQLl8kpt8o5WPQYJPtNKlUyyoxWhN4lZB/kv3vIrkz\np2BIxc8jSw2VDOalWFH9Edm8z60/aRuO3ofW1DfYUjFrMEY0sYgS0QdrWEHo\nmBJzU/HBOYMn3TqnEEszeXVkuQumG74repLklgK4NeYJr8dOWKigUvr2Uht3\ngRfp2R0299uhbbscH6i69Kh6PIrLsPFHKFiaMIIiWK9q5PsFF6Mu0SbBAb8O\nkRYp7mR0yTSevR2BDm5GG3Qv0qD+o2lw9pAOv+BbEYD/1sRssRudGtueGYxU\n9Dvk+KZIEwnN8Ob0pRrtj30NTT/r57otdxl84L11dSqBRioCTl+KJo5p5yVa\nGJl++EdWSSwYejFVpK8dchCR+PdSD6n/gBaX8gdQd7O1kPidjaAKE3N2X2fs\naxCexLa2KV3z8PJ3gMhgCT2pVK5NqPfH4FB929RaME/JEmn90iYgSiKst5pJ\n3qksz6nHXyQOVPEIYKhnHDe2rnbcvbqgyRoUyoV8Z9TrdNMk1FComs4oxzti\nvt6eQmRT4v8EQFUTCKx5gzNy8yICzbs4TIr1jaDpr2waAfhEAYZ664OPHN4a\nnY7i\r\n=JjYt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY7CbSTvThRsZj3E73BDs3gQa+W9eKeq4AgzxDryAMWAiAqZ6ZYqYhW/5KJM7ieXwfvUUap0pQ1fpvpdo2lfQJj+A=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.3_1600240149209_0.8461889156343296"},"_hasShrinkwrap":false},"2.0.0-beta.6":{"name":"@flood/element-cli","version":"2.0.0-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.6","@flood/element-api":"^2.0.0-beta.6","@flood/element-core":"^2.0.0-beta.6","@flood/element-flood-runner":"^2.0.0-beta.6","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b482a1f6e6e2ceb10d3ffa9d0ab062601a62c1c3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.6","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-NCtdPAfYDxB6JzBgJthL0iToWjMDzQNZjjjIhubLZMIULSc32TcDQoym1PHov7G6DrxrtfiWm0s1acHOlzijqQ==","shasum":"65feed3f83a4487762e72341f725175ecac34438","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.6.tgz","fileCount":69,"unpackedSize":467710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZG8GCRA9TVsSAnZWagAAkvMP/0fMkWciI2FpN6Lb7Vbq\nPLj7ijMk3H+uPl+a9QiP3BkV7NcvanYYPuh0NI0wfCUa0oYg2sAMB2n3nd8u\nBCBUAdwpLV1Zw9DDv6rSZDZVfBXp67rrxH7WYH2UKrIVGvzlUn21RgYo+Swp\ny/UdMLbfGuxu5ieegsu7iSU96gXRxXy6UBNf+Ip6UTpyEVuRE7NBMOgYOCD0\nEyBuTtzuf/rExKvj2YgJLMUYk20kKwWNOgV9CjzphGQY8hok3UDa8H+4w/JL\nv/ZUmknxHIilBo8u88Bm86Y7I/WqymvWP2qRD57+mHKYndMcuF/4UopMoUdm\nx1XtBJL0wdThxRGIE0UMUADU3cX8GvOnDTWaLnqkT/QJW9WH5co+jDJpAWnK\n6hFbzkayqUuZxT0p+VDqVMFooUs7tx+SKnmfScZpyhR+lXQpRjKOsbRbt+Ud\n0u0nwFmrn9/nyZMCo5VUUCYSQBGm2eMSIcLjEjNaNrCnXIOrdXORJIFambPQ\nLrY6T3f+xcYFxoAXUhgYH1QHii2zAehMQQxw+2v83Armsl3QpnZJ4JP5kTA9\nqHyVi03VVT9LTgejDArFyBrY93GRvuiNwi9hyY8LMb+m27KbP5E9bxeRSwqK\ngVn/13+moOQ3Te1WndDxMvrVwCYX9PJspqVIqzNmUdwVsgUFAwcFsLzlqACI\ng1Fe\r\n=1O2T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcFlNYxFuMmUz/BhZUGIp1/3sjVirb0WPH+ANn8u6ZbQIgHQM7+a8cVoxTvledcT3w7cXAawqg+qJx4pbCz0spNYk="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.6_1600417542414_0.08540400745776999"},"_hasShrinkwrap":false},"1.3.4":{"name":"@flood/element-cli","version":"1.3.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.3","@flood/element-api":"^1.3.3","@flood/element-core":"^1.3.3","@flood/element-flood-runner":"^1.3.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f5d568fb1c33466ce2b58b444c5592de3dd4de1a","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.4","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-FE7s2JUz2ghHJ+5OnDDffHJ7M7CWA1BbnsK1TAbehtmBfWEP27QBPEnj7LXwH7ML847dnEieV6R6aahj39bHJQ==","shasum":"89b35503684842a06a1b65a0c331f0afd3a3e144","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.4.tgz","fileCount":73,"unpackedSize":467335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZIYiCRA9TVsSAnZWagAATcAP/2E2/LR/dWmfUODj3D7j\nbdKVhNlxc+IwPcG+2HGeXwS7o4wP3wkwhkRipyJJD6sDRkhIVXhHZYwXQ7as\nJLj9sek8sfUKQSn0xdlrztIapJTksPKrHu7D5TTDFLa5Cx1dkGcYAhhvUgjv\nOXTz6BkxSG3OeWh/M95duCfdqChBAuc9o/tIJXnNyH9cZojaPd5D36Bc8VL4\nSaKSbG814sFkYi9sOTr4JuoCKnHyoInvyhH0cmCrV64p+bmbmK5yqGyzSNb1\nrLt1F90OZuTG0O3LjHtVSz+RFCdP9eYsQqEBI/TmT8xODhXDGVSe4fXreeX8\no1IF+xbc2+gVGVG2MkCl22Y18a5p8voUPIsN2nYzp9w8lYeMkmm9vcd7eo4Z\noC7RVsiZ2GZod3MvmnpFxO08ls9aTifqpCQQbvBrFDujblKRh2n1VBrMQdSb\nYecKGpPsHs8r002kTaPwBR5lKH1B7D/opJRdlw65k6ManHDzOmwUjOKIQ/+b\nRRmtVOMqPBtnPCe5Tj1i7EKAtR3s/lnPF0Z9KZMH+tpUFz+XPH51jYoMx1NY\nhb8o8u00j9WknK4HDImMIRm8q72JBmldQ2QM94LPGBiOc31y7wgL5fDY8Sqv\nxfuZrsrlaFRo9/3BhaGFBBHDhd1nlDrBRvC2swjygYVAbGNMQUSSsU4PPMSz\nMz0o\r\n=uv1/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGs7/PqczhvgG091yiHTxdOhCEL7qU5hnUC2z9cnGZsuAiBI9Y9yf77Q8gi0siV5yX4Jfuk9xqDU+6EeH41oG7ppyg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.4_1600423458200_0.16892055721256072"},"_hasShrinkwrap":false},"2.0.0-beta.7":{"name":"@flood/element-cli","version":"2.0.0-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.7","@flood/element-api":"^2.0.0-beta.7","@flood/element-core":"^2.0.0-beta.7","@flood/element-flood-runner":"^2.0.0-beta.7","@flood/element-scheduler":"^2.0.0-beta.7","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"59e87b5ced8df265343c4e327ad8192aeea72989","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.7","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-qlyhkM+pMsUikV/VfXd4XIk4viZ0myMctB/+0+15YAL0Gm68UyJYREEl/tagWixv8yK/HsvT+v/WASsKLnjX9A==","shasum":"39eaa05f83a97090f1b7bff9cf48e5c7b97df1af","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.7.tgz","fileCount":71,"unpackedSize":478145,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZJxtCRA9TVsSAnZWagAALkwP/iMVjxIs5NL+Mhk2zV/g\ns/wn2rdxOqjzQ7HKawrAWRjcFVGoBW7fb8T4aVTSQLy3ANzQagc2LiYLKUq/\ngZIpiO04LLHycxOUpDXpCnO3fvbxgQ8Wqtd85+89NNCZvqOKTwiB+sPHM8V2\nlWoAhNrOQJxxSU1vqaVfU+3R3NkUxEjGbf0ZLQ1BeBdkt4eTe/h6ZBCynSZa\nNvCVfKmCM4+W3F3aLpThPgVuVwK5nWUw2Y3BM6aUgBXU6PB/hQShsBZLQWQR\ncRTkELThp4LxuFku3+Yl4PQHQJNHdieYJJRsL/3B0sJfFiuqMsjOYEoZWF4X\n7k7IKV0QEkTf+nWgDubHd7WPdPSxoY3jfxmJKdcdY57lc9XXrSkxLtPYDD4M\npMe/a17TsN8uW5U+CFWOqkIlTUHzpNSjilz1VKb6WeFEWY32LlvadZhg1Iw8\ns83Sgi0Yl9vgt5hs6HxtuZAOEMNL5/50OmkIIj430+k2tSuNOL+R4V3RGPzR\n4DOIa9GauYQoo702Y2mZ33PQeNH7bgv8NkDdmxp16VhO9EhfpzIrPUDGGplh\nhd4H+bSl97cGU2PaECynHOaTDIdnM4wHYUBQlWwqJoGsVAVu9jbVcrNqe/9F\nXLTNcIWgyrtiJt55G1aUhfmmBVYJb+SIrLkie/pun7JqGdyVN9vm4apHU/cn\nfUNV\r\n=VjhT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyvtEkjrJIaSW+A6LlS+8nRJ0LqW5Ki5UNEwDDDR6WqgIhAIKIObfctPCdB1CXywmJMhXfmiaXM3rUevQS7306AjdL"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.7_1600429165064_0.21032613451869508"},"_hasShrinkwrap":false},"2.0.0-beta.8":{"name":"@flood/element-cli","version":"2.0.0-beta.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.8","@flood/element-api":"^2.0.0-beta.8","@flood/element-core":"^2.0.0-beta.8","@flood/element-flood-runner":"^2.0.0-beta.8","@flood/element-scheduler":"^2.0.0-beta.8","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2dac86765662bf6328857f8a480306c3ad888cdd","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.8","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-J4tV45m4kGSdqyHG/ezRTt/OtaB+9/+v/lQkEntQ31HsviMBT4bRP0srMCQwv5zkz5gZMc2K17ABXGWkKbXk7w==","shasum":"cc6da4d57e117d73e1d01dc16c2d112728fbf5bb","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.8.tgz","fileCount":71,"unpackedSize":478315,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaHPpCRA9TVsSAnZWagAARsoP/A9eFnVeRPlffga2cCa8\n0gTuFVY7F27dviimzvvb/bEb54ofV36449qg4DZs26k1P90Vxgxu8uAcHGwZ\ncSJt87kznJXwobA67PTAcpJIpN3Sbr3abVBfuYG+IMWhKOGnfwYfI8CKqlVo\nqbBqVaaMDSkgZ8I5SphhXz/wlTctvrLyHK5UlvJAY7/ABnzuQ/nc+xY+usx+\n/4M0VCayb12TwomdKwNCrMYuUxaJ6t2kBZh1UqCxeBp2vNWS+erX48+ley/3\nxiOhPR3R8RENky08lNkPRBCSPMGkIXwLT6WF53Mwtf7S+naDsxx31Cm66Dmu\ns/oJVPwT1eHnqZqGNTl7Ym/0RXbBugkJd+JaiYLBym1Igl2TFImjiLTfTtVA\nCO5MKJgXB1U5PnCb+ZKVJc7SqpcuqNEjYZmodvuz6AQzXRiNl3ix7Upv2dDs\n71SI2OSIOp9rf32jADw1IKKdLFC8S9/RP/AMt+LoB/d3yq7rOr6APv9N7TEL\n9k8Ie1OZDzRJX+aDxfSPzuDG7rmveast6XTzjwYfjLVrvipd85qSvQzAj4Lj\ncoRhtDaOf5ujw3nJGfCV5+CDy4F/n5sEEkrg772tpknrYan8tp9BTyLQoq8s\nXI22W4C8377HgdrXvegsyapmAS4utVTBN+xwdolerIzkdMCU6auGn9ui9rBm\n1bjG\r\n=HYb7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGxkXWej1UTRq81f8gLZurGJhPDTOltG1CJOq7k4Oej4AiA+dSqaQouNH0wYzMWl9FM0VTWvpkmP61wM4J7nGvlckw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.8_1600680936654_0.5530276510117111"},"_hasShrinkwrap":false},"2.0.0-beta.9":{"name":"@flood/element-cli","version":"2.0.0-beta.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.9","@flood/element-api":"^2.0.0-beta.9","@flood/element-core":"^2.0.0-beta.9","@flood/element-flood-runner":"^2.0.0-beta.9","@flood/element-scheduler":"^2.0.0-beta.9","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"6794e7291edd1122bfbef7e0282e11e1eb5e9c07","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.9","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-+dUMCx6M4Z4e0Z6JbmE1mJHtEXR8XRhhpijOFBi0HTSRgH76jT7PZqWLwSItEgYy7xFtWXMlirvUDuuxHQDysQ==","shasum":"090cea419c841d422509f9fd8b51e6d172b8a697","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.9.tgz","fileCount":71,"unpackedSize":478485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaHbdCRA9TVsSAnZWagAAZsAQAJyJ2TOp5DzHj9d0o3Hl\nlOVLlykvDy41hznBCXfwC+zzvPy2TR1vk7dzT51g8ioJgH6ScTeQGid3th6A\n2K1xgSiycVstvTlC+/cb+PfW49VfJ0adIxdwBzC3lVp9EPHII83X1xrLZ/t4\nFpVJwWzyHuK36p6ONQGgI9Rujr3s0nSMfz2xb6IzM5hh8xXIzYCUrwyWE/c3\nkIK0SYLjC5pArqvB0BH1iu4odmF9AJaji70iJA8+B68pIAAJfoKqGk9F1gxL\n/h/vSciQP5qP3+ejcsIEcOpfNvSIOvDj4OawK+uOzOJgflpTPLd5x/pkn1Mx\nBai534qdKik8lLDMLPxaQYEXsK8SZKifm6ksBSatr9Yt3FAlWLvtTORA5ZJv\ngeYx7yyd/b5e8Q4LJeDDI7LRFTYnUeevyflj+STRRCqy9Khz9A3dmyyHZmvW\nMAawKyce8lUaZC+YYz3jchOJzRvEY0vBYCkVwgIHvvc6qjesowWf4oIgHWMS\nyn9lXwo13gqneFxfxCyCEXAaj55dZmUcKGVgEDqWH/02rcfacYM4X85qvjaA\nj04IpuWQYET7/Rb/3S8pr+HgDqHo9hSxsEIJFe/nk4JP1ySnrBUS5yLTLdx4\n8SJfbue7qzNaZ8RAWI5wfLcqrdgEoqaj1SWTrgqIHZcqauv3leM2nxLwvyQB\n/zEY\r\n=vrxZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/U2q9/uVrOjvUoSlR+tgZ69+W6hxPiGHjsGPvvSvDgAiEA2+6U+h8bhSoaWGxqiXSmL2nC/ZZCRhKBnEz9koCStqQ="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.9_1600681693477_0.9093795876289337"},"_hasShrinkwrap":false},"2.0.0-beta.10":{"name":"@flood/element-cli","version":"2.0.0-beta.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.10","@flood/element-api":"^2.0.0-beta.10","@flood/element-core":"^2.0.0-beta.10","@flood/element-flood-runner":"^2.0.0-beta.10","@flood/element-scheduler":"^2.0.0-beta.10","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"48c2b2a7d74fa43b71cd93170adc4c985722ab62","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.10","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-qoG4ESUkrPmJteCIHXIrENWRFOHMvPvPuZfEBWoASouWwS4sCoqUmLw4vCIWGxaBNG56ByvzSo/7Az3Tlesydg==","shasum":"25d7c9d14a1ea201bf943b1cbf777ed40b103c4f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.10.tgz","fileCount":71,"unpackedSize":478663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaHtxCRA9TVsSAnZWagAALAoQAJQ+Q1NAH5ZjlfOAZpXb\n9QLA8ZrbySWr+LbVDH0pZ+ooHMlL0PDLYddJGQnhB9uS3wjBNQApOge/apdM\nK+279//4AnXQvCeCWjsYyXuirQSN/xbznxYEUfMboBKzNpDj4kjDKgoNBpT1\nlguFcfcKtJD/o6D8T56JocvyG9DvRXCpk+kex0GjiOJe0zr5VncjYYiiY7YF\ntVeppR81md4bmdgNNYHDYxBvEG+FMGMHoyVm3lNPLDArlysYliqY2wv4nHzE\ngAxNCW3LAAlGnqyBIlPaqwmFb+gI0evheqNWtXgbImEkiNkcnUdKUJIOtev7\nkNiVkQwZ2UgQhYaGNRffimmwVW9mM4B1e6a6lbNfqZrk+IDuUgNGDWYIwRb3\n0DGn1Hf2ZQDyPfe7/X/6YF750VbWLuNLYLcP0RwegCtDgSgMi2WXWqoUZCDR\nEp3L3Hd3ycgYDUWAQkctaoB8HAQRZB6AZauIkh+UESSvWqmziPbfNvBbOpQL\n89aSOvVycYJfpGc/KLDBaOxTqBND8zq9uMo1zGGd5bi4+8FhXxXvusgGA8vN\nwGIJ8A1rCeDxR/i96536ZX42mg6E21qS8lFNyw7b0DAP5S4yqAxRDA3YsDwZ\ntlnfH/nVbBupZC/iSNQLT0GiziKvV+6vgnJjbwQCQgGHCMFeOcCVpCUJXQUn\npFV+\r\n=x85M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtNshc/q+zfDPGUaZZSnhYxHwBBvhk/2Y+r+4Itv5kuAiEAk2raWvIOkQqY2IDgLDn7QOJUwZ9hn8SZKZZ1Iotd9NE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.10_1600682865425_0.2963063284108196"},"_hasShrinkwrap":false},"2.0.0-beta.11":{"name":"@flood/element-cli","version":"2.0.0-beta.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.11","@flood/element-api":"^2.0.0-beta.11","@flood/element-core":"^2.0.0-beta.11","@flood/element-flood-runner":"^2.0.0-beta.11","@flood/element-scheduler":"^2.0.0-beta.11","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"8a1bea7eae697476bbdd6c494b5a1311090b9431","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.11","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-MJpNYUJRQOzZ9CAGxCmr959r3jSXylmvpvSE3vuNt/VGc3orde2nxuUy1pzeQ38ZkK0NztNjBf/5+CnJmeHHVA==","shasum":"d56b4bc3d929bf7aa46162cf7044cdb67e092111","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.11.tgz","fileCount":71,"unpackedSize":478836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaIA2CRA9TVsSAnZWagAAaVwP/1F8qmgNBDn+zKp38BDK\nTQRHW009+NCf62kODsM/TcUikEWcoQbKYQYG7FL/OuckZEVrAtjwVBXkUdhR\nhrSkQjDOz6lafiR3JmrDNnn224/qQZxvjIvZZbJTZMz6yDM6QVJZ1nGGO+b6\ndo2Ac62+rR2QwVamQFZkpHlibJUu7LtdNLm9Uq9j9wuyKB3M87mNKjzg4V8g\nVHqZPhDcpl7ugKE60moZwc/7TOe3dObuwPei7NznJypdTmGokUC5arspCNtg\npm2VnF4a/Vk73SYkGX/LAmxFZDnObkYtvYiU2h8RWRWHWrcfVdUxKXXKzJ4X\nZILAt2d6D8ANlvSpUw5ILcV0uvLxIo3X3Hqq6vQe7TaYwz1VdPA5wFptg6Lz\ncFAVkTZcznkT61QhLP4qkRL6TgfJl31M75D5AfFAFit9kwyv46XmV26BThw7\nQVKfBLL/zjH01cYCJJH2nadPtdcInS9yTHE2Y1yUpG0+puNuk0GRMcKJvNjw\ncLQTea4z2gtSCqYvo5LxXhn6Wrc21KV77QwwIVmjOoVit/PkwMVPdRE5RmIW\nqd1LjdKNJ3ePu6UYi0QNvRHBTnBWB1CoKozf7ELeJm6cfn3WxO2NnS12toA+\naagqylz924TJgk5vgvcPm4Y9Wg5nc0WsVLD0kFqdnaQ7jjwmVnn5q3oIibCe\ngmP5\r\n=dGWh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCneZ7caPQAxtriApB0PRuV4cQIqCUyR/4NrCag3+UnFAIhANWNs9UOAQU+VQo0S4S5+OQB2q0ampR3+9bzCEh4OORA"}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.11_1600684085918_0.4801565857130192"},"_hasShrinkwrap":false},"1.3.5":{"name":"@flood/element-cli","version":"1.3.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.5","@flood/element-api":"^1.3.5","@flood/element-core":"^1.3.5","@flood/element-flood-runner":"^1.3.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9353958975e0ae577f989897167d7007638a597b","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.5","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-NwkUUcBvqv2R3V51IL3N2mlyBZxlpuyZ7YSh2wbTVUrTbhey8kHrUGXjSqLQU5TymPPB5t0X3LMFbTr1U824xQ==","shasum":"6d838a20590c49b32a437f098f3ba6be573f8e84","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.5.tgz","fileCount":73,"unpackedSize":467485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfabXTCRA9TVsSAnZWagAAAQIP/iW04MAifXbvtW2SZT9L\nlvGAZtgswx56BibLUU/OEX3KOmasBIzvrzs5iRWP/Ab7CNFvDPEORJfx4Hwz\ntUQSvviiLfD4s2XMMFRiiVhZt6cpAAh7vxA3+vLFIHLWlZPXn1oINWO+6tKA\nd+tpr3bIbAeigJQtCFHRYbV//jDfL/q6P1UrtgdA527/ev/kJGyXMLqv3T6y\no++f/07VK1Nk9fZAuK6y9+PHsMxiNIbyocuukvOF5XyCGpxArh87JvJpF7ly\nXAybCVzh+1hJbq56vVS3m+wskNQ2722X8ARyKuVmsT79giAExgpLKrhRdovK\nAjwVdxiAvD8MefCMybQ/BAHJl61NMWQbDfPJ/O/3mVuMBMEvPMWG8eWENJNX\nqPYTKyllTne69IjCRVlZoCoXeiIYhHyuz47gkCEP63ms1ztjoIoS5fZvd3RM\no8lQ8ghwPpJO6i3JLPyhZyj/WQhUd8O882eUaZMSnhqpptBQcGeslepSJMqd\n3AKuecoMtiSqc0HjMKCYokQv/8uZ/fUNlbvHb2A8h+LyT1klGT9UzmNGmjCr\nxvSXxKyoTxy0M3r5v33rByVxeZL6MY/oHWW/5YZCqHQfLAelUH8ewEJzOo6M\nh2WyHTATEIBBruytaCQojGBv508WpvETmuFHoBn0c3quhaKB4t5Pdtt6fkSj\nXCp7\r\n=v+PK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB1SwbtqOMLCl2hLg06EDWovl6OZ2fk6t/e+6QJoTUDPAiEAl1/kd9LdeEBcQN+3tdgtGA41K65v4YwAsbgW0c17xgo="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.5_1600763346689_0.7165828825797151"},"_hasShrinkwrap":false},"2.0.0-beta.12":{"name":"@flood/element-cli","version":"2.0.0-beta.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.12","@flood/element-api":"^2.0.0-beta.12","@flood/element-core":"^2.0.0-beta.12","@flood/element-flood-runner":"^2.0.0-beta.12","@flood/element-scheduler":"^2.0.0-beta.12","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"929af99f7a588549882d128c4d84b56021aa2d84","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.12","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-NlTQ8rarKBSbm4ENQ7gOybO/HhpiG3ado4BsqM6G22Y8FMFeWC2ETuoMIhbfIByDMqZOTpxw7WhE7XtKaQaQeg==","shasum":"3441d818f2adc63a7ad7c4095efa7ecd1bb984b9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.12.tgz","fileCount":71,"unpackedSize":479921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfat6vCRA9TVsSAnZWagAA/K4QAJhrk2UMDCFQyyicBVnF\nweELvRZ5TZJVWTIdvJcxZy5BbcfEE6KZe28/Y4+gsE8B9WYsGLOifHp5x4u2\n+KFcNL4+e9r+LUX3EVqqV0u1U7WclJtSOAXyqXq9e5IMf6lozmqXkOzm1kQH\nOexTn5VyLg/+vzWEcfjFsXGob6MKxG1nmfrKMJ1KvuhNdqhZ9iWka1JDJdnA\neZ5tl+vzJe86KMaqRasnloxSbSBJ+bDwTztuDWku8B/hvZOsAzd03RHSU62j\nN9AiYRb+o6WIuWSm2wPnGSbGwRGWXqz6eTWTg+HUO/YttwTMMd4cUBx/IfPt\nPJ+aOYMx5Kz4S0e9blsKIsPYjI9kxLaqdGKx713ScOUC5ySxu/cfj7IHeKnu\narINggBFVG3Yb4C3bGndzmbkRtV3zwRzv8PxFFbSqAyiSzRQO9UOBT1G4Dgi\nNFOAIx4f7sVTfSAwQu096awMW+ecFdt6gUA3r9SUJHObTOanGppBK6Ki55/V\nYcgPDjoxqcGgQ9nT/oKsQ4NI1cH0EQUx9jhLN3Cb3zwHOvkbTxKJr4zGIj9l\n5Y5fs33Vt6aBOzsVuE9GrzUnrdBzuQUxNNd16vTh8HqEFXa7i6bS38+BcmKV\ng1tTqVr08aQgr3B2fpDaLT7UtKco9R32EQ4o1a99/AgTxoOd/xV7VskT/5aM\nlXJa\r\n=90qy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzYs3Cl34ZAVvzRGPZ1Cefg9vL7qLY1xVfRY+6Jgl5JAiBjcZRzvkehAaNFxUpBKXZ3zyJKENnWmFt2MreI5afL6g=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.12_1600839342690_0.7973563237831953"},"_hasShrinkwrap":false},"1.3.6":{"name":"@flood/element-cli","version":"1.3.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.6","@flood/element-api":"^1.3.6","@flood/element-core":"^1.3.6","@flood/element-flood-runner":"^1.3.6","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"4d0ea37c9d74a824a51b60117d315a5dff78e886","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.6","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.20.2/node@v12.18.3+x64 (linux)","dist":{"integrity":"sha512-9z+YABvmrNXpYbf34k9PiYXZNbtt8ND89AS502FhsoFq7tpULVSrRvSIlMwGjnC3xliJlBY4ewLa6lMEchgYfA==","shasum":"dcc7d03fd94cda7053d1b28a63b657a1491eaaef","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.6.tgz","fileCount":73,"unpackedSize":472895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbEOKCRA9TVsSAnZWagAA/1wQAJwbRcItj28P+/ysSyzK\nhOl7kc0RL+NuR8mG0q3+tg5Fd30Nh8g7fc+gn9D3McWsTrOEGkhHd05Av+xl\nfE2PNCa2C7L/UB90P1Y5cW304WCQka2mQBhDz+97sy4aAct/1Ee8UHU2+vnn\nVVCZsGk8rqe2C+OYMdkFdCWz34U/jaUvNK/+RQsADQ0E5dohmrM8TzSrXpJw\nlgexR0Wp5yux8c8zshX3Y98cqsEEFDtgrrINf5iq3hqxMarRqu2pBvKj1/Eq\ntNaQHykU7DVLMxBcMWTgLfRs/NFwBfT7BbspHyiYQ83QxwuL5LPKfEAP0kh4\nvhZLF8Plp7WiVifslhT5FiaX2i3rU1u7rfRlTDSR+/yRfPmR+Z+fToHL3Rew\nJL5KU0P9wkJjqW7LUzYoTxSrG1E+2Xf/gnEGh4pRC9lHo7NjfWoAvxPEN9Ap\nhNBpkaUlaRldZNGoOwnKapahahF7nXo9DNpooG6DDDDFU8nGCVRrE0GX7GBm\nzxWFzvcwPuZ9F7zIMfISY0k1JCXlGWZc8r+TVdPCdF2g+rt2rLpt5g42iunl\nR2rxVBK46llO+22GRKUpzVIUJfs/48dIguc/HTfcZzPrqJHS8/Uvnqe3585O\nHLkt2EOy+aF7iYi+d2hSBam0aWFMfqqjZSluPMfOjIouksln0Lb78gwjtcf9\nb4Tb\r\n=Q4HI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1/EY7Pcr+ay+jSR8t81vHsEhyeDxe5YXv4ThBqTi4OAIgUf/z9IpqniLzV/Za65oA+knUoV2doOAWZaKJu5yythQ="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.6_1600930698213_0.4885682144799519"},"_hasShrinkwrap":false},"1.3.7":{"name":"@flood/element-cli","version":"1.3.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.7","@flood/element-api":"^1.3.7","@flood/element-core":"^1.3.7","@flood/element-flood-runner":"^1.3.7","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9a2fdb7dbef0eb496701ec3956d5a0a6a3aaf1b0","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.7","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-KY9OQHNHrlbJngqbvcs/+s/rG7huc5Bx8YrMXQypim/cHgU2Bm9XNEjGUtXen2WWHvDEpLo5IRgJnc+3tjZV/w==","shasum":"7637164c45597290d90185b39951d988cacf49e2","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.7.tgz","fileCount":73,"unpackedSize":473045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbGJVCRA9TVsSAnZWagAAZAMQAIfk8MirBmIa/NgORjjF\n1hzHabPhXcVJn7r6LJlmW6NMkdjtepmlykhcTCaFuhMFRYx6DhqU9wwc7bPh\n2D9pD8E50TPWq3c6hH4lve9Xz1j2WApjSmjAqO4zFJRfmelCx2Kx2RCNvSl4\nyOijeV06IXyfo5WQgwkKnvZOzeEVrJMq39YjEW9F5OVR1wHnxfCtUYVuSeww\nXLL6C4Vkp/JzR6SXaxZ6zQthnGstZiWpbaJhojqpn9nPV1hIznAn5PzHJ9Id\nnedTSXsK/dwEp6w545yaDVyPJTq2+ogt2QQwhgyb8CCHMxiZT68/ZB7ZVtzx\nFHW2ATG7o8mJdpHENaOXl7YCx021b+mfaRRn890EukvEAon3fBHzMy1X4iF+\n7LOxc18fHxr0NjEaH/NORxYvCejdB3q7QN+a7BcMHXherHm55aPuSWPOo3wX\nR2tH19dbgrCPTXJ/J3M52fPfZU193MsELliiXKHU9mNxJ8TezQmDi8dkltZg\nK6tdKp81Mnsf8XKqEHoPG7HWqHAcEE9HNn2+7guz8qe8r68X4TdlmwwlGbhf\ndoxugmpKSaU4H04mDHj/vsy5QaX2ETg8uzvQp6FPg8sOVGf9zfdnAqaqeAT3\nRBaeGsrFQv8APOMoIYRo74xDerssZ7/SsBfA06zZubE8dfKIeY293AcOPfn9\nfcIC\r\n=TWmm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICx5OXe3HDLAwEBXJ8gBP4bsHIZSmuMM9asqq8EWlfcDAiEAquIW0xatBdT+uU1lgdv6iqG1g6XBfLtma471fJrhCoE="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.7_1600938581016_0.25234063076197333"},"_hasShrinkwrap":false},"1.3.8":{"name":"@flood/element-cli","version":"1.3.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.8","@flood/element-api":"^1.3.8","@flood/element-core":"^1.3.8","@flood/element-flood-runner":"^1.3.8","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b37bdef8981c354cf247b09e540ee80b56a53847","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.8","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-XDU0aNnEOZWRad+byarvkV97MBQ+u73RM+0TBWiTW8kTUR5VOq6g3u6IvTN1Fn7diJ3iaxx6F5DzUNoByRk7nw==","shasum":"089921c1e9caa0a1fa762ce7aaab60b73d82c078","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.8.tgz","fileCount":73,"unpackedSize":473195,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbHdGCRA9TVsSAnZWagAAW70P/RcRq4r55lgppWNCcKq/\npZ34nvhHh+Rxn6Ndukom8XqAtoLvau3LK+PRa02gZI9K86+eU2hv+MiawVQN\nK9X906u68kLczKYLIXuBICCyr4yOjFP6rQh6HzS8m2rH6Z1tnEGYyImoZEvn\nQiyuazkajNIW85WEn9G/bqHV6maYV9vm6F1/7q9mXcMeJuhWnH6+c9lJzslP\nakC2v32b4QUy2kvlQ26mazov5YlfesqytMc5uabSUaxjVfyTCGTCNlJbhFCY\nBtXmaxIcrftC0+rD2v235z2+Ggej6O3a9gTsVHG8q7m2AApS7woGrZBPZlcW\nDDEYgqqQJfKE1iapqaCbVKnhMnrLMUlqMGU8OnZVJHPV0No1j+8j4WE3//wH\n5Z1dU4LyfFQ4SYYhczLrxz2AzsN3aFvsr533o3Fr0yV9CtqiC8ZURit8bxmN\nLAQdBOBEDwSD2QCBKeaBntrM0H65hGvNXVUf0doP+N7hDeYSkvsxZxlDbr+D\nnFAJcpp8aUrbx7J9HSD5rk+3eNbvUHGugP8IarJMjs2kpgKLmLNVgrJsxSqr\nSz3UxK0/Kkes9qJF56mGjEOpgdYfPIkqdvFirFycWpKeQvxTgErLhP+MqUD0\nBB1Vxc8wm84f/XVja1rofFzfB+rXP3PYeoDX0cwKqwYqAg/m+by8i61eNjL1\n2jgy\r\n=YyIK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7PF99/lmylEDogJlYTzoGJBtQB4NYaoJDidgK4hTPUQIgbigWppW9Zucyw7qSQzA/VFBX073MXh0ky+oemTk/4Ik="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.8_1600943942129_0.26655971896693087"},"_hasShrinkwrap":false},"2.0.0-beta.13":{"name":"@flood/element-cli","version":"2.0.0-beta.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.13","@flood/element-api":"^2.0.0-beta.13","@flood/element-core":"^2.0.0-beta.13","@flood/element-flood-runner":"^2.0.0-beta.13","@flood/element-scheduler":"^2.0.0-beta.13","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e589739978cae2ac838418dfa9c8c4cce2cf5810","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.13","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-Bl6f/1+MFBbSgaM2AdwxUZzuNcse4sd6LQ2GwpA2J/gVbM4Y6P6QaivfruDgdeCAkcESOpkqId+KBM06W7q4mQ==","shasum":"144fb6bc9eec7009828819d2f637a2a98b958e46","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.13.tgz","fileCount":71,"unpackedSize":480094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffEXlCRA9TVsSAnZWagAACq4P/RCE3Nx7fM1LuFXnitR4\nG6I1jZaVvgN37BeTWb67McN0DpQVrOlI/CKlVPMxsj8AWxbjaY4Neytv0aw2\nV7krNNCUmPxazgeZWDXm+ySoRBPtd1I+JH4Taa8BsNpUTcK9j6QOnEAWPNn/\ngL9Zde0p7qR6Vyzft1USiJ130XJwQ9MiwkV4bBvPYaT5ipAgL7kjuYnhLqmU\nRg0qd62nySEmix5tQ9qwRxHpF2gC8lZYkxH1fkwsQSN0Ah6FGR5sBMiunlnd\nJ2n0WOeGaF98/6OVTLSziWO3uqRJvebpEocp6joXDAEIAkk236mngbE2dq9j\n7emkVqXFuCN2SUivfQaCJDd+DgifTVBmlFOtZW+GLOLlRr5x6LwAibAL+7XY\nkxwFnWCoepxqdI0JsR1mspqq+YfgT1CSlzNqoc/1Yl1LR3rq5szhhpUiryU9\nH8y4RvVUnB1Tdr6FKvEh0sY7riNnMCkcC8dtfKXWLhfMlS9g+uKkYbYvhf2f\nCMtJuRth5FeusWUs3ucovvNNnhuKYG8k+H99Z4JjyIVgQMwyb1be/xVAzEe+\n4yIXWMeV1eZ8whzRDu1rlGtHZFAtgb4F7qq33yNmI8Xtbdk6XKuYksxSlI7r\nX++i3n0+BI6l+gKSkXer+XW3MJM+lj4asBL15zGpPQZ2/bAkGWuwdpW4rrBt\nQiTC\r\n=Eqdb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvxnJW/1AciPpPU+cCBOM4rz2jjUNwb4YLkV39Qjam1AiA81ZIuc0TuJrcqLf0z/ybeVshbWRUkyVUNZLAAoaBdhQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.13_1601979877195_0.4547998575449388"},"_hasShrinkwrap":false},"2.0.0-beta.14":{"name":"@flood/element-cli","version":"2.0.0-beta.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^2.0.0-beta.14","@flood/element-api":"^2.0.0-beta.14","@flood/element-core":"^2.0.0-beta.14","@flood/element-flood-runner":"^2.0.0-beta.14","@flood/element-scheduler":"^2.0.0-beta.14","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"3ae323e14cbed09b6f70d1bbc8169e1b23c0db7e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.14","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-ryoiiF1KSIAt8IUrQlXsYqSxDQMcgmpKdIQP5DvuvWs57LjufOohBEcKQNr1z+31QpBL+wDT3u2QUbYbqGX7lw==","shasum":"9aca23db2a93be682a6a97c444414b43a5f39729","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.14.tgz","fileCount":71,"unpackedSize":480372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffEu/CRA9TVsSAnZWagAAD2IP/1A2mOjaCqFJPToFckUz\nEdAvJZjg7PDkWv8bbKJJTnoDFhumlNHZEYhFmCq2b4A087waZMrRFmfTCwyi\nGYbqonWP6274WQbGYAo752Drnm/kfarCa3OKqDrb6265155cT1FVZifsyS/5\nnMLMfU4lSt0ysz2bVnA1azhH0X6nJhGTf4xyDYwvMgGMtHnsTOQlgTBh6UaF\nd4S5bwdCmEUEmzZwgmh7j1SUjXqcOxE5oatwpdjEjn42lQCGcqjoQ2/jq8sh\nSd8K3/1qsVoToSNXurcWyLuJW2QdmSIYaPcfIUHDdVyWHMS6vXIyrAaBjl2a\niLZUEaEwNZbhKZGWoO70/06kIlrMyAkWVETEY3fMkgaMFIIWurN/LxeqDByE\ngE8yTqGsM1lxzfc9OUnG5k2NOoTnxKRwmD7AaUV3lfP4KB4whHiMGASpiHxh\nyYq1a4+ktUyDQBq4bW7RMRHURd08SiesuBVr6tcC9gXfZ/NKU1VyEjrN0WSC\nSl8lqQmuOE0YfDkbgrFdksN4GDbVxbZix8dwx3nvjw5y7z6qCxnuZ0TRel8d\nlllGHezQYrjpN01ggN48Vbk60lFQl0IlpiYA87fmjuWvMmjgRot/mPh/pPPb\naQMndKOikaKYYknHfOnlsmdNJk2djYYr87oZ4dIOj+AnlhchbGiWTFbNJz67\n0cqT\r\n=frPn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3L+Sf6MsQ8lNbn4Os9sDm2AGstShGCoklV8U+QLjxewIgU0fRc/6QKHcjSNisn6DhsitnaY0BRzR+1T7incp3JKw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.14_1601981375295_0.6222789340773907"},"_hasShrinkwrap":false},"2.0.0-beta.15":{"name":"@flood/element-cli","version":"2.0.0-beta.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.15","@flood/element-api":"2.0.0-beta.15","@flood/element-core":"2.0.0-beta.15","@flood/element-flood-runner":"2.0.0-beta.15","@flood/element-scheduler":"2.0.0-beta.15","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"13032525fcd4cf334d547b627ad0f4ecc3791a1a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.15","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-h87i5ihbItQGRECBgNR4mG807Ar0LRmoJCULi6s3zRMqMAHDPf8YRcVhxIvhcaXPWbmn3YYnEOMwNVOI0jGdNg==","shasum":"976a72cfb46595cc4e219a0401bde2cb8ba828a1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.15.tgz","fileCount":71,"unpackedSize":480540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffGWBCRA9TVsSAnZWagAAFNQQAIP9fUehZRwXt/2eQ2ZV\niPO6/hSWZ9G9wQy7D1u3gl23/tJ2UJsHXOh5srUtt0NeNO6An5Q2onh3IiXq\nA6esCbStthEou/q2HFZp62kyTGYXm33noM2N/0slinkNM7yLv2wPJNgxNKYd\nOqUPGhjltrRVrps1yBKgFwcuPXsO/5ejrbe3iMiNKrXAGhEjiWYaSqsxtNef\nWYJSCfbzO1yw8Mu0rcTwv7R0wrIrSu+RKWjhYljoiy9mGAAhY7QyepLbQtSz\na5cx/NK6wbqoK11tDxQtr2diyJ0eF6cZxdFC/0p0Rtp2wtlDOWEOnIMsk9Sb\nXw8wET5Om0lHz9mG9ZdVnUloCDgrSPAx+Wi4pxpRHEu9CIaUbVZ94xcHedK0\n3ccjWXFpUJLnTtYDWOhuikA6J+fSGXEMK7iTSlSRlsX7Bxp1L4d9yP8fIYDC\ndCqOIV+opE7t9bzFoP27QIacgAux3dsh0JBFzo2c8Zb4nJN98mRZEkWTwHBg\nPBpMpzCEYbre+N0Be/Mo63eNrnQphtl9bCTsgGpfvIHmClWp9RkEl9pi73M6\nvLVkU0ZAG1xiBnXgRihjIYqk7ms2qUriQxQB8DGtTlGPIa7MZY2Cnqx2niUg\n6mwZ2/pMmqiQfnMrL2+GS6P67OzG2C3oUyzvumDmQa2SeBhBNE0g9Wwyn2wP\nzN/n\r\n=EJTF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGA/Xj6KFwVzOytCHBRSO2Ltf/uDJlkVkJ6ia/zbPRDZAiBVoTuMTh3M7vOKWJRHYUNT1uEhvRfm9fNUp0hzu+O3Vg=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.15_1601987968917_0.031118887578889254"},"_hasShrinkwrap":false},"2.0.0-beta.16":{"name":"@flood/element-cli","version":"2.0.0-beta.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.16","@flood/element-api":"2.0.0-beta.16","@flood/element-core":"2.0.0-beta.16","@flood/element-flood-runner":"2.0.0-beta.16","@flood/element-scheduler":"2.0.0-beta.16","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"8ce4f23dd166b271709b79c4e33a5ecdad994181","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.16","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-PuLEJ+4VfCgZTyut0OX+jthtF0/yuvNoxFNMcR+afJCQZpXNF5Z42g+4KAZgMyOFiMPBUgWDdcK5rxmmgRfJTA==","shasum":"bacd113f71c00eb220dd5c41c65bae6ac3c4863f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.16.tgz","fileCount":71,"unpackedSize":479673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfg7yjCRA9TVsSAnZWagAAxA0P/AtKeMj3FwcEfBAUZjh2\negbNxqstEly6d73xcJfOGgfyGO2o1Udv60zs5NiWFlWsa4Zrt7h6oR+M0m3O\ntOb01lFopkTsWQA+N2i/WRd4pJ17WI8tems//RcygGyCqNcozyios5F/xJyC\n6VZCxMCO/a8/eCa9cHvo0mAXe3xnLDGVRVgtPN4RECyrLH0K6Nel+UgUdQVi\nFe4ByIO1N6RKJ1WPxwveZr1KtyCqat9WOGNVXyFUzkBRiqErLQS4+SrZk07t\nQAyQQsYMP071ZQDPg+wovl8Xn2psku6cDoGIBECLKK357ENwKos0ZvvRENTQ\nW0/jMWzrsFOL05GHHYdrO90q7JGB7saOgO7PrZg4rKMZDwvQkk0vsAumWvtC\nDq6erni7o616bPYevp9ec10V5L40ATKmlEDx303VhQNWyQYK1xAj3hOMPRdq\nkH1DWN0hEtT9WGxlCkv8GInLgGTZV7jMhDVzzytmZOLdJj2Jysm3M0tUYvLO\nHR2e/TSI6LxmG+dYTW1/IzZ1ToBnIS9RI4UG6F/Fl8NcLxUGCYESlxRP4WgR\nalqD1TerHIDg3La2DsSFBID2iwqwsVn8s8r69zMyjE6MShT2qZ0JoI7UG6m8\nB9QEktjv+aF2u/zJjhL0Q08UxIcDlpYZgHWp+lG7IR8vZJP5XzdlqcufFCrv\nGvXe\r\n=C93q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgkOq/NSxOBwyg6/TBujNhfPPX9R8BDDxnWf1NgeLVuAiEA6cY324+87hKb0p/JHCBQ6WFMF+8nqFUDvIu/Y6knDUg="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.16_1602469027324_0.6024929162223762"},"_hasShrinkwrap":false},"2.0.0-beta.17":{"name":"@flood/element-cli","version":"2.0.0-beta.17","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.17","@flood/element-api":"2.0.0-beta.17","@flood/element-core":"2.0.0-beta.17","@flood/element-flood-runner":"2.0.0-beta.17","@flood/element-scheduler":"2.0.0-beta.17","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"12ae1004c7e2fe2b0ca681e6f7856942e1d3c45f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.17","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-HIZMntdbkterykmxXSJ6LVKCg2vA8COzg+YA+sobqCYooTOHkP+mLYTSnkSMGEdHZCzA14+LmhyUBvL2apgE4g==","shasum":"6de4dd13b4eba143da0cd1db199a14940a1cc603","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.17.tgz","fileCount":71,"unpackedSize":479846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhQ10CRA9TVsSAnZWagAA/6wP/2XVkv4Gxor9LsO1YIgR\nUZKFaFt0bm4snhMm/9bVKajKX7DrE6Sckl4Zqz6CXEzqqLaBxuR6cLhXoBaN\nqP3fbkeZGpTdl0b+SUnz7kQZ4Vjlf7gHlUF3yzy2q0wlE6onWwk7dvNf3+hB\n/xcpkkGkynJInApknP5F5BvMQINbnksdw4OZptuB9H5KUC3Ef5MwgCmZ/2I4\nFPf14uC+C5V/DXuJibBt1dmTAUTKl5l5Br+NntkPm5wxDv7vuoiqxW7KDMv5\nQKfxa88sy3LWJ33Ns29U4NBOMAgbPIF7GQfeXZGyXCV4GSD2miM+h9vY2knC\nxlYbF1JbCmHEXN+Ec3RZ021CVY8Nh+H/9nbSshCqCvD2T/L0eDvs2RIK4FoJ\n/Ghb8lZ381tAVrpyqY+YVb4Pau6sUuuLkcC/ycs7TXqFVq9YvlCPT4CkrWFF\noQqByGzG1kSpTNetAfip6I0EoIyx2gXh6IT6VJw8upxNmbuyAzTKpzWSg3b6\nzpD+/X2URsg+tEkxQGGhOTOpnvUKz6cb4s3xCMG3WBmwMuqslhqjB+Eee/JF\nL8AmMW09quJChRfteRz4cODi5SZIATtN68IjgR0Lw0HXo2zLQ+x8ji1Gtagj\nNlSAVM5DnlVnZLjuR1SfwGmAf3Vgbm3yaqtoj66P7WdmO0u69rluPd7dLYa2\nrsm9\r\n=gMQG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1XSApRcAQoyVCoQy2Z+boRhmZMGs2C8kdKlfmkrRLpAiAoQQQTesBPfV++zkiD6az+gUBUg+j75EaNkdziGs8/fw=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.17_1602555251454_0.2244978653020402"},"_hasShrinkwrap":false},"2.0.0-beta.18":{"name":"@flood/element-cli","version":"2.0.0-beta.18","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.18","@flood/element-api":"2.0.0-beta.18","@flood/element-core":"2.0.0-beta.18","@flood/element-flood-runner":"2.0.0-beta.18","@flood/element-scheduler":"2.0.0-beta.18","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"72a48da706eb01ecfd509bfd1c999959eb7a1ce7","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.18","_nodeVersion":"12.18.4","_npmVersion":"lerna/3.20.2/node@v12.18.4+x64 (linux)","dist":{"integrity":"sha512-a62Pfe5qvOpyavA+Qj60/1JB8SZbrfFL9PmvIZQokpPKe3+3SuBXbvf0WdB/82kjDw12JuStOKdlCpnWa8BtBQ==","shasum":"fc0f0c1b1c489afcc903e8804bbc26c904e7d4ae","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.18.tgz","fileCount":73,"unpackedSize":484302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiGgRCRA9TVsSAnZWagAANdoP/2BFff/rwMuoHXlogBye\nl7bWkIMnFzfIAFc7jD1C51f1NJncxOGG84T5KNKC9FsH2qEBh2oDhpDCC85X\nLdlKSjiUDtvXwJH87YizQMxGP1ZljAYBDlfhYAOAnk9SpWRjd791eJhYsUt5\n1uCjK75mno+/vpnXOwGPo06Kgv++IpH7gMsND7PFFpBJFeOJJfAw+QpaMlZB\nx8dqzmy+4UHAZfCRRsL1unia+pibdD/NSkQzZUx2WW6e0AVqbg6IqBJNhoh/\nklWR8JY4YrDVzBSVMVQprv0TrBZol31LEiwoCE2/YnZSrxVX0de5DmnD4neu\nMrPbumMD2Ncv61pDoHqWG9NYMpXtB6IggA4p85Bf5fLUJ8jtdDmGadt/LgsN\nOan+CEiTx8QK7obvsGJq1SUwLePzFeFTo0QJTPdqw615PT1rYBj5tZwjWOW9\nyMXING7hKBPirlLTwSUHcssY8Mmb/AyMTVqKPfBshmXPut1WykEITK+TyC8Y\nJVakQSPmAr6lUc8uqSt3Lyk2YxIlLkVr20aYt9Nq6DYFtRPxjBtPeIFLnC/Z\naRx0LU2vMuuc4wIg3wpugVXbPB6BTRX/PZDpyeD3Yc4o0JENllXHlXARK0Tk\nte8iccW6XVyKkQ8J+1BhG6xT5n/cTnQiO2PbdhmceQ/JSrsiew4/QNqeAEjf\nSdRK\r\n=0YWr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEO8pgmkqS4SGZRkuJF7uSE+p4raYeHi9ZQtYA5aM+SsAiA0nnGywxrKqdZ72r9LR7EtbJ6u3Wf64a4DMfQEFJT+MQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.18_1602775056904_0.6574724861514836"},"_hasShrinkwrap":false},"2.0.0-beta.19":{"name":"@flood/element-cli","version":"2.0.0-beta.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.19","@flood/element-api":"2.0.0-beta.19","@flood/element-core":"2.0.0-beta.19","@flood/element-flood-runner":"2.0.0-beta.19","@flood/element-scheduler":"2.0.0-beta.19","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2d5750289100cde5d406768b6647b09614f14e0e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.19","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-g10F3482OsSw+orpTlohefFZ3/I/iJdmJirQT09Yq5tSmwylesS5D/rEsaV7HpZu+piQnfFDKbVo2swhfxIPVQ==","shasum":"8714ecc9883fdaf2e331cb216c449f0bb7240800","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.19.tgz","fileCount":73,"unpackedSize":484475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl866CRA9TVsSAnZWagAAeBcQAJSHEfmKdYepLibx1IDd\nEkzSiUu/jXV74Fn8Re2ZvI8MJ9HCVX3pik6Thz37SjBaqCLjRt8h2YBtgIL4\ngllw6cHULRy8MTR1Q+1/S7SvyDe8x3YRAu3CAll2aKcvG+X/vUGY+aWUyzmi\n/TGR2Tj9QqH6wc0lprlNrJ3OZzXfwxszaqDCUAeQXkkbUWGjMAXUE5phArz3\nIyyvYn9SAc8pimEu6wCg7XwiVdAcVEkYMbnOPcRM5qnHDohPs0d8gqzOn/zX\nyiIV3xQflm2HO3IjfLhXgN1HedUCEpWsSC8twxh6CenaGTAZuEZQ9oRtb8QX\nEkXX3ZjG4eslZzjx7ea7taS1zLIfgOP0gKkay9ut3eddJNzlhGWzu7Jjres1\nZkfW1NtEEsFCKNiz1wECPOmQF3MW5FubCXL1vK0e5TJRmG7Kr8uR05po1jbb\nAoOFeSHOF+KsVNdsoUIo8SZ7sR+iYrppdGglWB95Jj4TS7uFoLR8MNjkkuil\nbkgsm2honeFzeayF+/Rgo3vhT0Gl7Kwltm6y5ONW4EQmf5vD1QACOk8pvee4\n3HNtjg8L+rGzhNdMQf4NmpsmaL9fJA2Y+70o5RLfM1PscSA8U18dJkcPypkj\n1pYfMpYETuwJpQkvXW024QNpHouVNGtug7pJ7KGXuCpTggc0+CRlYTzHVZiN\nUh6J\r\n=HGKp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhZPMf4lUNq1lQLhEskMgV9XHZaWrP43N+gLRTymnY2AiEAtTQ2kBVvUtMUHpVSVnOz1ukFjvWYZiTunOkW5k1StHY="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.19_1603784377529_0.6596746638930582"},"_hasShrinkwrap":false},"2.0.0-beta.20":{"name":"@flood/element-cli","version":"2.0.0-beta.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.20","@flood/element-api":"2.0.0-beta.20","@flood/element-core":"2.0.0-beta.20","@flood/element-flood-runner":"2.0.0-beta.20","@flood/element-scheduler":"2.0.0-beta.20","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1f08694ea7979bad2eef8112e7d13ec8eb89f76b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.20","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-JNzAMlIgRBlsZ8gmGJywrZLUyE0y+h4VOPbq0QY17CLSdYigjUFBoDUzFD672Z5alJlo2n3Qt6J+3fZDTpDNhg==","shasum":"c6b28deeaa68b5e6b3e7a6c3a44609a7a9a5c9f4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.20.tgz","fileCount":73,"unpackedSize":484648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmSwiCRA9TVsSAnZWagAA9wYP/1y5SX4NDtFtRqJqrU+o\noC2wrn+z1pcXM6Sh0txmuKg+7prmYkOF8mCqvsfAeeH2fZWkJKmNsGmA5D7i\ntLo33IE1VwWuN4u1s+PKQs7kjWddgD/JpQWh21vkde11eVGiclk3YH6HzWl2\nldK6GoRVG/SxSXkvDBiT6VgllMHM/IVOZDX27IMEtyB7yQmwip62q5b2i+re\nF4wgwnQ5wsoGBd/KnjBxRDRQOk3/ogLR6xkfJ43F6bVCIZdiYUw1HdLhht1e\nVKWUIL5UeM2kk8iDgw+eXd+8zuVvrPLoceUZWYr4BVaVuLurGUGBDjiw2Abd\neu9sh8bMPy5oBDW2jUFfn7aCddTzBxsXOkASWPesS7Kw2ouDYEhMNaKk444M\nDlvN5WprWMBPvj7aR4M3zcFoAqzndwkpKTdJGC4cgsYr7qEG5/t8MH+16xqF\nJcCF+JInUe73ervJcHGakHukzOZswtYkswGbUdbxNa/MzhLshl6MOiRDF40i\nfs0dZbyFaQrrzXNFdZLum2tCOtfUZ7NaZ+iRpLiRMkNZCDNhOqfkUjdJ2JOO\nXH+lmZ69aLl6zDaSVT6PrDr7N1qNnZZKg9NlgtCvN0fNdZbrbMyOry7/9A6b\n6apQQj9sBJW7424wriMUt/D9dDBKTBP90LL+c4H3Q6NBxG80a4jCNjIRh8Ox\nZcFs\r\n=rGY3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGb7BaeaVOY8Pju6/jWyJCLSfVazzddZ3ZbP94ZwpbesAiEAwLag+PVdZGEldFgkxgVGvr+ZHtb8JDfRxf3iA6t+1ok="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.20_1603873825939_0.6583235141031059"},"_hasShrinkwrap":false},"1.3.9":{"name":"@flood/element-cli","version":"1.3.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"^1.3.9","@flood/element-api":"^1.3.9","@flood/element-core":"^1.3.9","@flood/element-flood-runner":"^1.3.9","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"097617afbd454b758486475b5d6c4da7b5e9db72","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.9","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-1Y4wO+fYF6qgNaVDaRHxevjVF3dmWFy2vHiZXbmLJRJ9cUXdmo2HrRy5pACIEs7g6TsevCtvWxOpL8IDHuYQpA==","shasum":"6fb8c63176ed9aa99278cb9ee163338c8d6855d9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.9.tgz","fileCount":73,"unpackedSize":473345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn5LtCRA9TVsSAnZWagAA6/4P/RNkAh1sywlNHydfV7wV\n+p9Q88h4ApV8XmHLRbpveaiAsZjnX6LAUB8/YRsH6ZRK9kg1KzZeLV8Egxkg\nZC5SrNiM/Spx8BeJJP4ZS7+SLYDZRw+9lu4wTWVxmCmDEMaiaFPqhYrUia1y\nfAv9Gjd+HNMTAn1Hd3TyFXu+DrM+R6+TwNufJNu9N4pQey2wzVpLrPFgdxW8\n9rl66JMXY6TOC9Y/NLQZm2W/4lg8fZ2rUo9cb62dxui0S3ftoVqouuOcEcJH\nEfpCVXQFi37POWcZsy3UI1qZj8KHNbrCRUcc6Up3pug+AXDPt1yK2WJh1IL0\n5Zypvf0T7ENbIaETQr1O8AoDgIc0EH7SS+P9oi+F8aYxjPUjhfQ14m1abCEp\nqUKwzdCWKwbILUc6SKF9RsJEkgXarhhitibBFzvjdz5oAfyxwyzqmVdWI784\nRWAXNdvlOjQ8gOCwxksKvoryUUcyisNjhpvhGrYu/6V9gItA45i4oVG8Mqf7\nZvFQpnGEePbf3ay7H3Oak3Q7wdv+YqwuKhiBw492vM7Pjg7LZ0Bs58s4MrJd\n0PZ2hMEe4ImIErFQK6f/XKrkNCpBagMGBaO544suNyfddDbU7tE1WgIK4XSM\nzfRMS6zzlUDB+AEeTwOtBtUbR6A74NfbMUxU1bXbizxw0OpHMlJQRYb1qM/Z\nE3TF\r\n=T0v6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRXwAG/CRjP/phKko/UZ7Nrzc+wrrPZGSQ5DVhCNTmawIgFWIIikHm86DEfvBp6X3/P64fI8IFeoFERpVyOlYjf90="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.9_1604293356681_0.19179446335771955"},"_hasShrinkwrap":false},"2.0.0-beta.21":{"name":"@flood/element-cli","version":"2.0.0-beta.21","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.21","@flood/element-api":"2.0.0-beta.21","@flood/element-core":"2.0.0-beta.21","@flood/element-flood-runner":"2.0.0-beta.21","@flood/element-scheduler":"2.0.0-beta.21","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a2529fce1ed8cf0e05e5cb36c6b36fda89babe23","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.21","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-hrseNh0WlwnfGx8LEkey2z1IgqEeFEG6lNoz77f2D9LFjjo3nBzMN0l2C2ur2j9KMjlepuGjIbNemyFXzevlgQ==","shasum":"fb80d6dd4d4827092988912a84b6e873032f8d5d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.21.tgz","fileCount":73,"unpackedSize":484821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn7twCRA9TVsSAnZWagAAddgP/R+H81m9mCavulGTCWrA\n8kvhf+iMlo/8YV8Ia2IV1WbXTp161GxdZ3c1pLgksyla0kvNqXHbTfZ4CPZS\nzoOttRvKL2SIU8gl0lAwiPA6rop7gesNCjaB2TzRJhRC5wUChmUdNsvtQBjX\n5RFjAFwLs9G3UlwXbdEldA+FH+RkQdJc73oKfaIH/wIxmbONVbElC154NeuM\nvmQSWAkjLoTty28567ISOBH4jas+R2hv1vLsyzknlGS7dBJLYPcnuk/iGt/V\nH9/wDcjN1y/vi2LiOCxvlllWi/53INjPc9KAL4ZnQxlQn5WzPfvHzgxf4zU/\nmkNTgb59yW2+jmyQbCNuviH1NUjrvZyPZ2O0Mo9C7PG7SPOnYviZZbn56SER\n878ITwOaSS3OPTVY0lTCYY3pNpIinjxnwKwXyOzMGk9No29xlBu1mYQNM4Vd\n6UvffHkvjzTKo3/+K+KwUSX2TLBx6wE5JgJezkcAkVSW9j4/wswawuygHg/6\nlgiMqPdlT6Gq+OBzTvh+ILiIRD3YethODhL3sckpW+jSejRT25qS5IA2C6gb\n4P1wNjHoE8I8YkwEj5F6mamrDxjpBkxYBN7B1m6kN8UE0oMcEqtfW6D6usgg\nG2ITAGusAMFq6+9R+IYE2Q1/ltVeUDlE3vG91mxmIwnycGHNpS4zdVYvUXkh\nv4wn\r\n=TqWN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5gtAv6ycPpxn6y6wdD1XmChRvuSD1Wt29CjmFFISZFAiAI0bvQ9bYrle1odBKd0emruulIuDpYCN8UGC2luaUQgQ=="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.21_1604303727945_0.3275401802642883"},"_hasShrinkwrap":false},"2.0.0-beta.22":{"name":"@flood/element-cli","version":"2.0.0-beta.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.22","@flood/element-api":"2.0.0-beta.22","@flood/element-core":"2.0.0-beta.22","@flood/element-flood-runner":"2.0.0-beta.22","@flood/element-scheduler":"2.0.0-beta.22","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b8b312db6eb020948a95fbd9b49c0ad6d01968a4","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.22","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-Yvz0snAhgAe63rH5eYYIGKe/2+2HdM75I1w9e+/xFYppsSdJCLcrjtG06qWAXrmREx79WclLZ/J05chNDP04KQ==","shasum":"6716824c4eac26a6e56fee49f739797e5c5b0092","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.22.tgz","fileCount":73,"unpackedSize":484994,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn8LICRA9TVsSAnZWagAAW6QP/jbNMwahB0wRZE0Irfzk\nTN8/kPHQ7+RGSYZr6lHdVkrV+TRUBLoMnX1S+SBqyi+gMgomvaPkKfbpq3jH\nV1/DDGa4OCSrCAGKdNlNXMZMygdIzcZCu3ICeuTXXC+bsNEIB035luDIDOpp\nlQQ23AZLC6ii3/uz41Jtp10dlVmQ2pw92LXKT+zcpSM5jwOkNjNtpArxe4w/\nbmx3jIWCfw14POAhu5OENcSZWmG8kaKkmq1Dy14VnsbOt6gVnRaWFCNVitul\niMAoxn7WlDEJ10vwRmqhVjC1HM+lR2HOvpA2p47SEYFO9aeSIUNEFrgYmN4a\nvFb6LHEduw/VA4R0KCtv9m4oI7WBjM9//eNvZYfuiwhZJ6w7q1GeJTfAc1ro\nqPiN5JHK36vTvRfpQAbhv6/dYIvTutpx2ycr8ZK4BJUMWgpxvSF23OM/4s4l\n4QjlGQ6udNCsKKdCtmBuyza01CJaX8EAWNLUv+/8RypRWqDz/vTx9YaRW7Jn\n9lo3uEPctOmY2cBT3jkpiLMb4B/ADWxxC5sGfWHXnfGNB21IeT81UkbeQQOG\nck6JBB+PCnz1YeSqzsHsxYC9s5cb3DL+ls+S/zCXyQ1/nUE29M4qZ5bnxG0+\nH3dGIZTFuGYWpHoChxmBdyk5ytmv6ZGC7M921Ruy7/nmDyPniFxSjoR+1hHy\nA2YO\r\n=jgD9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHN6yiUzAz8tZyvltOK55hVmH5u5mJTVrXERjrKNSS6+AiEA8W7dGB7mQoXea5+5mnCTkTYDf8HcVFZhSR/PxsA9PBw="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.22_1604305607831_0.5410315414639395"},"_hasShrinkwrap":false},"2.0.0-beta.23":{"name":"@flood/element-cli","version":"2.0.0-beta.23","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.23","@flood/element-api":"2.0.0-beta.23","@flood/element-core":"2.0.0-beta.23","@flood/element-flood-runner":"2.0.0-beta.23","@flood/element-scheduler":"2.0.0-beta.23","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"57993a7ce599e7c450da7f7b62e56d1b36bbdd65","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.23","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-v8N++CP/Y6GLy5SnunDBKOPZ2/3FL8aNW2VzGIYDV/FQ/gWXiYyad/1fhLNsGA/ZzxgFNMJiL1Mgh5qRhLH9xA==","shasum":"7259836dadb42538f29f02980a6a229a3ccfc19c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.23.tgz","fileCount":73,"unpackedSize":485167,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfn8mYCRA9TVsSAnZWagAAQQIP/0RgdDiaQX1kotQuDCZy\nNzepcRtcciRrr761pAi/8TE2VPFtiVY4lSG3sltFwa91fNWUWYo67oueLmVN\nugDgnC9zJkzrQ4GFLpCYIO6M0GOTiRsTH0+sRpGmYzpfaaCN1CCfHFdFVsrw\n6P3EXBW0yEBiBIg0PUEPTs8PpwP5TWunkgXikpV+r9S84xKF8V8y1n3i9TV3\nt4hmHLffQSzW4VrcNEFUFMFvHej/GwDYUllptethRtessXx9Jqfo099jMZZt\nY8uWWxXm5E2avDl80QmD+i9jegICRuXq8BtrTHnC/NetS5QQlxTR6IKHSjYX\nBcQhmRXHy4kW1W75ffziCDH/W42xHvF4D7LLa9H3guw5DPzZnUDUvYA6gIPe\nMFTCnfFbyBup7Sv92WTtBIZAk+7sZQU09Az4Ty13H+UJ4HocSG+l8sXO0gtU\njK6r2R2/RlhJBiwy4nDEz5UFbDYxAUuFB1Z5Q27D5T9ynPhYUDGGd4X4BBsb\n7o7UeGdKo7AwOQ8EHOH17/qBkJnjPeQto7G/MLr6PD1Lup/AhBObzp5ii62u\nUKjCz36Fx+jz6CxD8jqGMv0iee21jjoQ8eQzVITEUi53C/9wP44Er69YmRmv\nb1A9sV39zyTUbEcEtijUQpOuhUESvNxjfhZGqv4r+RCuAhngUJwmR0JMuuAi\nDUW4\r\n=4As7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9IQ/lD7NrzNkcUO49lVl3orpUbAgpTuauf9ABkQYu9AiEAoIxUfYVS3gRWqa3LK4cYW/73bRS6xQYfGYbHlEONp3Y="}]},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.23_1604307351946_0.8098245692510748"},"_hasShrinkwrap":false},"2.0.0-beta.24":{"name":"@flood/element-cli","version":"2.0.0-beta.24","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-beta.24","@flood/element-api":"2.0.0-beta.24","@flood/element-core":"2.0.0-beta.24","@flood/element-flood-runner":"2.0.0-beta.24","@flood/element-scheduler":"2.0.0-beta.24","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"dea4227d8a683a7aa83a242caf3ee2555cc4de80","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-beta.24","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-mAvWHrUbADOgKUy4wzZBynBGvJHafpoaO+iBxPZpE5KneZF+68e89/ctopneiygsb/3j/l0ZZl6f4sLvst2bsg==","shasum":"370fdc536c1330a5fef0f160886bac4bb5354b94","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-beta.24.tgz","fileCount":73,"unpackedSize":485340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqQDgCRA9TVsSAnZWagAAoN8P/A9tR3STnu8buRqv4URC\nOVicfnhR0fuyQPg/yVOD567HGjh52LJI/+fvs2bxxeFmKga36WRRkjBuyx2L\nmGaJdnXmIpCDlPS4aTEq7wu6ZEjfo3lHYXooZmwzXy32Jjqilca+VtzbYTg3\nSu6kWonwU8mew8hzWe4jBPg2xVl5WPft69LCz4KgMkTk3JNaExnGdWXS8HNW\nt39QY262sUumHUcW0XSilS8Xr/Y5cUT41x7UleNEj93i78+YtkO0F0u+aenh\nf5YNrV5+M+Zpa+XnneYIKgCf3tQShUc3Jb0LeNFBw7WzwVhCzSpHDQ/VBPFG\ndSP0u4wxG5r8XdiWysd+DCOVqjWxqUrykhUeZVryhFcyZ33ptQPBm249jyoS\nMB657/zU6wVzpxbC8KZWgNhHpgu+fLhdCJt6fWNVabiD7kUJn6YQY53VsErw\npHP627nDcz62rakFyoFNrIyiXnjuzV/5vVGAVV+FpGXDpsVQtz7q+/2PVEME\n4hFfNUEDHcYIuXZSjq7QrqcVeQ5OReR3cBOID27F7TGnb3KpglpahC0BOh9z\nBiaINjm7vttk0IFMfrItvsppsJtXldFAHGutz8pa5UVWVBrJ1GCyKQn7szem\nLXPFfgpJpNn9jMqyqwrXWXe3x/+lqWYt9bvrLnvrYwnqv/WtLaf9Oa6BnWLW\nd3tM\r\n=3Jkq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDb5h6sOpyVK2UW6vNfgMmftM1B5vq8ZpSI0mN9Qml0ugIgZiAOMTY9kPEkdkgENsifIoUynHHkY16RFEwJfNLFiqE="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-beta.24_1604911327519_0.21957272860032262"},"_hasShrinkwrap":false},"1.3.10-canary.1":{"name":"@flood/element-cli","version":"1.3.10-canary.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.3.10-canary.1+ef8e5e7","@flood/element-api":"1.3.10-canary.1+ef8e5e7","@flood/element-core":"1.3.10-canary.1+ef8e5e7","@flood/element-flood-runner":"1.3.10-canary.1+ef8e5e7","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ef8e5e7c76b11519c3950b346f47db90b1a71524","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  - [Installation](#installation)\n  - [Getting started](#getting-started)\n    - [`element run <file>`](#element-run-file)\n    - [`element plan <file> [options]`](#element-plan-file-options)\n    - [`element init [dir] [options]`](#element-init-dir-options)\n    - [`element generate <file>`](#element-generate-file)\n    - [`element generate config [file-name]`](#element-generate-config-file-name)\n    - [`element run`](#element-run)\n    - [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  - [Run an Element script on Flood](#run-an-element-script-on-flood)\n    - [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    - [`element flood project ls`](#element-flood-project-ls)\n    - [`element flood use 'project-name'`](#element-flood-use-project-name)\n    - [`element flood project`](#element-flood-project)\n    - [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.10-canary.1","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-WsZ8Df5yhR3HJ9bIl+3J/crwlM3/938h/JRXuD6hix7s7BuDNJWWn2pZXyBsZvrJ45T1IVbNFHN1qoex/yAr+A==","shasum":"6dbf50180af0a4368fe7b8c4aa4f53736aa42b05","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.10-canary.1.tgz","fileCount":73,"unpackedSize":473431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq4ZECRA9TVsSAnZWagAAPJ4QAKNmR3vVbZYJlAJNsgwQ\nJ58eaMPon2vVEU93Wni5F5rmekeoQ6lvNPxPg7TxFw4lXMPffw5osGx4LThJ\nEAOqWaxFvW2Y7bJ30H/IclWsAg+WS+qIQoAVS+3ioVwY0lLCoLnSUWaZeK8V\nR7kZqCHclmuXMDVz7hUF3pxavoEzWBizHeSCvKOH6krOjJ3osc2Wd1CruFA8\nmmLFiZHPZ0jEG00tAEtcNuJDiEE7g3mnNGvo15j5SVXaVtep8616vB5DOcgf\nAGfyGBDrcunahD6KfIxwi8pRChjDWf8VIYuqyHgOd4g4ThS4a7AzpdL8+rXC\nZcZ2FzNac7yqpNve124G1YlgSSNEMuo8HzUeFfI2LAsGuGSUiNpK7goXhMlb\nEjjLIi8qkk8PADnaYpw8qBMToObxEltfJEaQhXrTheWN/pSfdMbgHV5VQMmy\n50UNFT5i3NxvLnQyy+yJ3cfdTpgCy9J/A7kl4Jzk6Rn48X1NowLuyIMUTgfh\n5TpY/FYa65yql9TuDaJ0Tp5rjwE/2Azf4SpgqbKuMX/oSIes86VqtARKWULP\nHEinIecDQkDiaImM0u7d1SYbLqTeK6l3fBsIaHodUAVDeeucNXjvv2iSbyyd\n+dehzX9Gb1X7PAkrNW5eX/gvuuVH8zQfiMO31oztbOse2pSIzbpBGogQan5F\nu72s\r\n=kImM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI2oyVocfD6i7HQfR0Vv7eRU4uqn+nk8KKD1HMUe93wgIgLsiaSYhM9TiTt7h8KGbPqMU3IlhbVsMWLLNI9+yUiAA="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.10-canary.1_1605076547685_0.938729640058958"},"_hasShrinkwrap":false},"2.0.0-canary.0":{"name":"@flood/element-cli","version":"2.0.0-canary.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.0+e73b54e","@flood/element-api":"2.0.0-canary.0+e73b54e","@flood/element-core":"2.0.0-canary.0+e73b54e","@flood/element-flood-runner":"2.0.0-canary.0+e73b54e","@flood/element-scheduler":"2.0.0-canary.0+e73b54e","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e73b54e7ef67b8c341d0fa4eac3e864b8d465710","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.0","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-2MBDrQS6zWQlvR2zDWlSAkhcKq+gjGuxrHX/7TwKX31ntk8kWkX+TFF4behurlU42AO68yOFP0wB+om5d0580Q==","shasum":"f3abb99474c11bdffa0b207425959aafa1013665","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.0.tgz","fileCount":73,"unpackedSize":485394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq5GfCRA9TVsSAnZWagAAlbkP/jqDCR3cfaTG8EREEwB8\nlP0cFvtxip/iMmnnxVVBEdavJGBP0J6lEQW/n62WKcdRfKpd/0ytAqfusX57\nd/Gfan/gyGREecM0A6v+J7tFE+FSfac+agTAfO+Z3JdB8LVqSQn92kWYsAiZ\nMT428iFZAI4wlQTbGp7c977iUZi8vwUfvic1oqBQ+cZeF+9GFbWFxqI0tnwa\nM+OhXnE6ZCTzc6Y9E6Tt8w0k1qxFEvFJmfI+7N+rZlQdi2Qf/X34x/duUI9D\nGm2twh0OH8OY0kr8dqVscVR0yfZMTVVoqAVh5pDPGhT9LJKLciF9GtW5SN8k\nRowSjcGvQLYsrR+tC2y5+M2LnpPc99mQuMOYl9Qm7qOB3qHdoRZ1Fh5A5n1e\ntWk/1gLlMLIcqTAp2i3VxpUpxPk414l41OJPCs5oGYJOwWeqhpordAAeWfby\n1XmtwN+/6WI1Q5lLYLS1DeWDdtABOsvOZZi66qKCcLs8bt+pYPxCxVersYm4\nfvbp1GDyGnIhXXzM58kzXG4M/mNDlho26PDab3GDCdZc6/v/jGGJBn8O7shV\nUDGqsAog+zyOoy+IPi+7mEvFFtR6bW/srAVi/JfEDcu8GvoIyMjsLm0dFvnC\nUdbUUa5wwuiSA4a+oBs1lpIq4rz7jdyyScoF8+o357JbyJWL3YVUfkWcf0Iq\nQcqp\r\n=YT5O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNPQ3Bxduyq77RMa0BguTdbA+wKj4iTfJlLpjHmhCTAgIgHJfgai1fHlCgGH02C7IuJ65L+eUjBqXjRw1NjWCUuB4="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.0_1605079455414_0.7354688461082013"},"_hasShrinkwrap":false},"2.0.0-canary.1":{"name":"@flood/element-cli","version":"2.0.0-canary.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.1+cacf0ef","@flood/element-api":"2.0.0-canary.1+cacf0ef","@flood/element-core":"2.0.0-canary.1+cacf0ef","@flood/element-flood-runner":"2.0.0-canary.1+cacf0ef","@flood/element-scheduler":"2.0.0-canary.1+cacf0ef","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"cacf0effb21b0eccf7d8ec42722ef0d8179bc106","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.1","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-vnFBPIV9iwbsXDfMnBQHIEZ8z/hdniPJ7Ye+SKh5LyqiF9SP2/ZQuq1xgSFd/ouaQ8+2ZAvGzRyA9tDCKHLU5Q==","shasum":"b6c852b0732c83a38f03dc0961e94597b24000a4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.1.tgz","fileCount":73,"unpackedSize":485394,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfq5UOCRA9TVsSAnZWagAAracP/R+5G4i2F2zg+HnF2r8c\nwLXR7+8UzAc2XYy3dWLKHV1vu7oopXspOpxyhyPVNwi8xsKOkYBh787dW42l\n+W5+l2Bp9HTV5sdmNhy7w9kqvla8kE/hM5i2+K2/zEaUaof770JeYo8PdcGz\nkmNvFDVufkndSvJLRx73uvkwdU8yu+0aoskAGpMflb7zSC47ymn06bjFVP+V\ng9/TXl7xkpJd6wNtdaywZT+/zB9116nwyC3NQqt4Ey7Y1DTVonoy0p3DVQn5\nFwQLHeLP54LtG4t3huU2o9cB3SS86aIpQMcAOy+8212Hb1+3MpFP+Zx+A0gS\n3Ldv7l2ImcCc90bDvS2UiKr1PcrQVjubm+f+Fy72NzqupUV+1SU0iyvkOavO\nUj7bZ4h0w5sFZDvEqhNl8N0yNUd16Ui/1PFBWjxYf6g2wiX0c58ondc84o5C\nZd32ZT9503VBe07A4XHvLUzRg8H6B8Zd9ThCppgSIN4/odKQ166a7esIGWOm\n8R4jtuQnC2IKtqdNH4INYJMncbCSmptDNx3yIz2eb2OWpMrwQKXypCJCvlxK\nxJ3QxaRvIOuDOAvcPR4BjojEFXta+avhPVYG8wfqqAWyOLnm0cdAu/YivJSB\nokUmd+a5Yk8QQ/RH1ZR8Nl+MPgsysZnobw27N5OORYy1GzeKp2M57qPhmsgm\ndk37\r\n=RrEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB8oZNO1F48XknRpA2kVHqt+Tn97wuJLULJatSWUJBCAiEA0EJ1XdFAULOtj9ZmeqODw+8oi6zvrly+CmYXJ0WkZJw="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.1_1605080334135_0.8868407932208053"},"_hasShrinkwrap":false},"2.0.0-canary.2":{"name":"@flood/element-cli","version":"2.0.0-canary.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.2","@flood/element-api":"2.0.0-canary.2","@flood/element-core":"2.0.0-canary.2","@flood/element-flood-runner":"2.0.0-canary.2","@flood/element-scheduler":"2.0.0-canary.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a42a2a357719320b3683c4a491a7f2eadb4338cb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.2","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-dFSIw9O7ukPu65T3zt6vWLCFpJmYYAy9bSYGPXp2hKCd3oB/Ke2coQtyE3GAMqj8ZqSXhDn+ey1PpEk9/IwxFA==","shasum":"4e39248a8ed67dd4a1147f88622b82e38f49b995","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.2.tgz","fileCount":78,"unpackedSize":540492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsfWnCRA9TVsSAnZWagAAxqwP/R9OuvdUj4GY4AN3iyTF\nDRZYSNcxIpm8bNcX+Af29qX5AsHH2ralbdTOLBww5b29neXXhKokY24sIdff\nxEpjwXoLIefVrSzhgt6+th6x72nngi7CQpaKsuXiTBRHO20lsDXHi50l3nGM\nayAwvOHpia+6+j1EGvrygp2UaRwcTlZnZtkmWfJUvNiLSJOoD2HH55+aTaSy\nCdyv7i9TaeA2bEs8Lx/Ih1NR9HNRqEtE7C/o0Nks9r5ipbM8RgUkud+8vUwh\nPXQulw8KOp2HF0QRrrLkG/rSVm3i4SPOF/1Ihnum6NVvSkOZeWH0FsMFFSVg\nSJ4owclHFDtZBwthXWkwiFVBltFFgIiEBCgEiZmbkoi3hmk28au4qKSzZW8P\nw2fl8Pz7cZdM//+XGhM+HI/Pd/uj5UiO+r6O1BeIMAJ4jUJTzfSZGn4SG2Lm\norpu+Jjv0Zf+qf4QePwQJmV0cTUXRG2gt0N+R1HIJz8TEZZDe5YMWrxuPv2K\nwzjdXI1RRz7v8XvPEHmIRK19O43tPP3vhMu0xdAre4znXAS2lLa7HB97FSzy\nPDf5ara1nAJgBCmtu19Vswj+LJcf98Hp5WyFAWybYZjFXY2AsYvzYugty6ZN\nuPRZ3j1r8LlMIkjZz3jFDaq1tPh8Jr4PUJri/GTlVXYDzEtHzxV1tBdNKXbT\nwuX1\r\n=UzCT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAHKFCFeXjfHxywffqcC742DuI3ixsc8HchXbADqI17AiA8bvaY5xIG8vQ2VGoX8LKGX3anKDCr86tWdBwWb0oLhQ=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.2_1605498278693_0.6889778118634484"},"_hasShrinkwrap":false},"1.4.0-beta.0":{"name":"@flood/element-cli","version":"1.4.0-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.0","@flood/element-api":"1.4.0-beta.0","@flood/element-core":"1.4.0-beta.0","@flood/element-flood-runner":"1.4.0-beta.0","@flood/element-scheduler":"1.4.0-beta.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"dc1d2cb0000356e07f9779dd23185fa080e79fbb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.0","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-VYUabYx1TcSVcC1cgjaNlsOqmvy1t4p81YL3qo8fyf5XUMlKYuSruRFUq8ntP3p3DjjsZkD8/Y+5uKslBkOAzQ==","shasum":"d92a4ee5b3f263e41e22eec354a9880c1d79d528","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.0.tgz","fileCount":73,"unpackedSize":485590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfslBBCRA9TVsSAnZWagAAdKsQAKOhyxS00gxzfoJCNNLZ\nIsVrORATQAG0q4lVs74eTvGJhuGsbNvzoRtSlcaiMu58JBL5bNVmDaHGQC2i\nesKabhWWJugVOvtVlTrSNZUsexZt7t0v0sU4c9Nsy8tB+uhKq6cffeuxSHXR\nwxHVUbDRGEQeCGFLeLAlbF4wc+HW2ADE0ffI/WSmqHcDdYg2OonMRDQj7TlS\np400WCRmMMMYXBuCEUFOr5khDHtWzLZ3DKefzKdZwbFAIVGe9+wJnZ4YurS9\neBvFTiJov/uwFMzbFT+I5yQJOUv4i3NGff2iXewf6+obVF4wsXuEJedgbUpr\nFP+bW9Pun5HgDKgEPoWK5+k19onDErUfZgauyBycqwG++qJIYVefhcf2v5Km\nMUdk8IrO9Ds4cLA0bTGGuomgmy+MY8Qsk9lbalWr3lrTUcQEbrEEG0Wra+Fu\nwSe2CHVwc8fDAPNEMiRC8OshPvJ45Amu51GgXzzTuZhB0NdGPK+YAnbIlvAX\nV+phoOxZymtBFoKf4F+ijNPzYOIt6C/Eli5NLnjXE6TkC/HSIJch62dphqRl\nZZkHxSDYQx74CT6+NY6tQerlVjAATCwQgeGTrn7ajHLJnWM/ROp1044IiYmc\nCU0ivMPB9wHbtO5xsbcm4i3l7EMdTV1Ep4WyAsiYWuD7ZA/tF2LZrNotJLYd\n0CR7\r\n=CLN0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZlvZq29K0zuPUrtMXAVNL9Wqz3VO/OfxUbA2fwzNTaAiAUZOTJKdllSrX31BJzCt1LW8n5B1F70zv8hI32XevS9w=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.0_1605521472796_0.7032889669691387"},"_hasShrinkwrap":false},"2.0.0-canary.3":{"name":"@flood/element-cli","version":"2.0.0-canary.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.3","@flood/element-api":"2.0.0-canary.3","@flood/element-core":"2.0.0-canary.3","@flood/element-flood-runner":"2.0.0-canary.3","@flood/element-scheduler":"2.0.0-canary.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"35c73af0126437c04f4e21fb85ee77004b569ae0","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.3","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-j/SvUeGef/aNQrJISeiHiLl4pNkbn7BKHjPt0k4ulOiVZQ5OUbMObtxEkwIDJisGD4BNtRV08mnUfGME5UCLwQ==","shasum":"a470d3062be2b3c67324070e52ba48c478d24072","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.3.tgz","fileCount":78,"unpackedSize":540668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfteN2CRA9TVsSAnZWagAAMxkP/jAGk4uBf5SqNunsijr4\ncz4BCVDalx0TRxfMD+S9kq1ZYqOVInyVc3oTamus2LOXPpsS+5Cn0MO/2wg4\nAKGjRFq1iEVu8azBvM+JSH6ipi0ydlFPTLWPGiUddeecKeB0S/MWoc/KYsIm\nGMB+wbOyMKjSirIZ6qzVJqqp3sHNT/DgerYlMeoJlgSHI/S7BXiO9lUn7Jl7\nsZwA8y+Xtsqu698cejwLowSV7XYk3vRn689RcTmBvNnbAKkOa4MbrDFCekzA\nr6l6ye3F4/ybsc0X7IHZWlTdcWI8fasC+vWYZfsbsXcuiDpMaRZ/bWz5bGji\nxFvulu/GKh6pk9vlWBhFy7fSjxrpajhDIgO65nGQcuJcwugSZXMawdA4bGhJ\nNtvw/b8GV2potXCn4iHv6MPxkaHZJu9pIxLCL44ZcK0gjwm5yQwkwePqtYXp\ntphh1bkEQYobukk/Tjofp8X+usfgMI74PiPHepVWVp8ZX/YlfTu0eCXWQioR\n0cWcak9ylSg4AJrO7Npa4zEHqdDF98yN65lZmXFTqLYhtbasdRn2bzJ9jL+p\n2atkncExKYLUUL+PYjka1bFkk20eVrkQHvEfr8W1ZJ3NrCo189BdHOQu5veo\nxRM6RopMBmjMuphJ7hJAQ0v7zK2i58co6SqU5lIfRuYy6v6ag6dAHWzyWkkB\nadYb\r\n=T4mM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlWF/lvteQwlz1ZttA4OIrjkaAzgCzk+xqnCVPBHeA7AiBtjWTGYrCFZfDY4oUmaH46xVNUcfH/FEYBQ6Mlr7nYzw=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.3_1605755765857_0.03879710828493654"},"_hasShrinkwrap":false},"2.0.0-canary.4":{"name":"@flood/element-cli","version":"2.0.0-canary.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.4","@flood/element-api":"2.0.0-canary.4","@flood/element-core":"2.0.0-canary.4","@flood/element-flood-runner":"2.0.0-canary.4","@flood/element-scheduler":"2.0.0-canary.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2c95e104047e2a9bd1d500b21a0e93835d6f914f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.4","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-Ltdp+9MdOFrTQXWgMmg7vlEoLYlPMbb/QrsPhYrqeLGRNeUE8N6kX3Rt/fi9zQloOpXv9Y0RTSTXCuZVGVCxRQ==","shasum":"b50f8df59e0f3391573450ddf3980237a34f22a4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.4.tgz","fileCount":78,"unpackedSize":540844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftjkZCRA9TVsSAnZWagAAej4P/i8RW2Um0BNPQBaItY4H\nVcOYtIRzse6V6peDlxarsmbKJbz/YiHJ0PdNWOm161WBJUUzvZm83ChsIsto\nyRuhzy01d/KOj8Xwr6fflmIGM4hnTmG5tJtmCZ/uFi6wS9VF7X0lPEbwnSIN\n8cJOL/Q2KZK6+V8oQnbEZuI/7a2YLPDZRG582XP2CovQRb0+wmZytSaJ44ST\nIVa31idDEjg+cevXD0qDVRPq7RXlFjfLMTK67BL0FCdqfMV+pHxdHhDMuTGn\n3u3dQdpNjwTDOsgbrBRHoR25SXgS7D1hUvS7QQF+AwzOAermivZguqNVGwqb\nhmHnQurwcP5GJKnb/7HWIYb872nvr+AthqMrQkEIfhv4Pw4blhP5Pedf8/Rf\nwOxXRgsHCmTpqbXjTG4JA6TZcfXJYS/cYjtydViM2Ql0O7C6tl3pxWEQ+xTq\n3zHU/6+9rYLYzxbIOWV00oy02piireUPMicmI1fDfNou6un9T7ePWbbQ7czM\nZs7fQQQs0KG3/HKCVPIDUGTrruBh3hi8ivjH+FJof8BuYyAYwDbQ1RidXkub\nDDqjfBSDWixhmEXAQdJupcisVvpECkzC3jWAYKGKXTOQGUk0uiOrZsdmJX9g\nH66uBfokGPIx1JA3gntQkbSKSkpPn5SUZYbx7+ocI6o4f73KaPHWTLdAVXgb\nSd3s\r\n=DYsb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOlITEIxjmvRjosyVWfLS8JEIcKtYo3MjmJOSJM43L/wIhAKdhGHJzwzEIHcavg4Q8eqDYytyq0tB29NVQhUR/T3Mi"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.4_1605777689090_0.05398069728958732"},"_hasShrinkwrap":false},"1.4.0-beta.1":{"name":"@flood/element-cli","version":"1.4.0-beta.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.1","@flood/element-api":"1.4.0-beta.1","@flood/element-core":"1.4.0-beta.1","@flood/element-flood-runner":"1.4.0-beta.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^2.0.4","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/chokidar":"^1.7.5","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"dc7cdcd8eef8ea8846ffa7ebdde184b63e499b85","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Installation](#installation)\n- [Getting started](#getting-started)\n- Commands\n  - [`element run`](#element-run)\n  - [`element plan`](#element-plan)\n  - [`element init`](#element-init)\n  - [`element generate`](#element-generate)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n## `element run`\n\n`element run test.ts` runs one iteration of your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n### `--chrome-version <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with puppeteer.\n\n- `--chrome-version` with no arguments attempts to find and use the version of Chrome installed on your system.\n- `--chrome-version /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n### `--verbose`\n\n### (advanced) `--strict`\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n### (advanced) `--work-root`\n### (advanced) `--test-data-root`\n\n## `element plan`\nTODO\n\n## `element init`\nTODO\n\n## `element generate`\nTODO\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.1","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-xhzck5m/SJx/lr84NqZ2aN2zJn5b1jXixsx+jDdsAMyweBOw7tK4bQxg8QTkwVIeECtO4GphWrGcyxoMfKsTqg==","shasum":"a475d71c029b2fd1e63fdeb939a8b427f6900f90","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.1.tgz","fileCount":73,"unpackedSize":464355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuzNlCRA9TVsSAnZWagAAw8sQAIxar1QaY3rXlVhlKaql\nYvmdjRa/c6u1LLAmElxsJxalt6YbUVXrw85oSuGU5MXEyvv52F0c1xW3pWq4\nALEHmX8lS9hXaxmx5cSSIMBlGy/PYnwTMiKM+YWTdr8JGhNfLmjD0hkr3SfF\nZqRYLl8yduJgnUMcbDkba0EQuz2h5vpcjCPDW/UHs2VjOiw2Scf+qGfTHCRB\n4dIgvyusvQQinBzipksOCr1FyeOLxMOfkvsl6VJM2p6rCM+IG2QL1RrnbDkz\nPOXS4AvFI/3nlG+fAWPce/XiHQO3mj1GS+iZCzBEFTIALZp2wusnrgHhrOlD\nyZpyHRhfjJ1StzV5nR0Fj7rQ98rAvAgz5wTfEpg5Yva0Inw63SZPc3RJbxiE\nhZl3XnE1JrfOrk/lt5vbkrveMw8rK8DFm/mVTlI8aF8y6ylJ79Bi2Y0C0/Zv\nEoqO1KTlsi4o7vjatbWKyJieZ2l4C/DKvweoXl753z0vz/6UvFJeuFJQwagv\nKlztLPMm5Q67OEXNSu3fMtRtghEtex7fv6eoGYX03kLsdyRCFLH7Jqdh1jAU\n1WvxaBZVVh3vx2Fr6C0PbySVDE9C1BhTRb06zS3+yY3f/DjFB2E5I87c+yZr\nLFNbf2glR8uL1bpfRwzJBYrAVinWvbfLNNrCXWzEOY0dHD4HoU4FujiFJ0+k\nCxHJ\r\n=exMS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlqaKL1oAq0AoBvRf6uh1HwfSe5aHWM77hREB3DX1ItAiBMZcfnTLZ/e3I4F5fHLY3v2dSCqEL3nEWMVAyfvaAT7A=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.1_1606103909415_0.5064547242124349"},"_hasShrinkwrap":false},"2.0.0-canary.5":{"name":"@flood/element-cli","version":"2.0.0-canary.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.5","@flood/element-api":"2.0.0-canary.5","@flood/element-core":"2.0.0-canary.5","@flood/element-flood-runner":"2.0.0-canary.5","@flood/element-scheduler":"2.0.0-canary.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"58a2269730e3d74c15f0fa704a98f2f3e2765704","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.5","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-5br0u4zcAg3UEbqmZQxXMNTY+AhJ+tdQiiNuORoqeA4y1BvzGLnGbtz+2nxxM2uMiECOLegrl0QdqrwdS4jWDQ==","shasum":"e7fc707b2d21517f762722821abb2dd06fc04ac7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.5.tgz","fileCount":78,"unpackedSize":545886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu3k5CRA9TVsSAnZWagAAZKYQAIHBOt6ZNOLYvguHagA0\nReazhF3vnh8IJmnSqFsIp5U5IiyZ8vSJqDwsXUKFAsHKh0FJTLF0Xe17X27o\n1Nc0Z0AsxN2NUlz0+ImaZSDAuKeQSscOs5o/Swz1EugyU7xD+9BCdKK1wxLG\n1YkkT+hxwYEm7HVdfSoMzVDp1/vsGkDiKfnMUEjKe3Ze4mi38XQNDk8NB9+3\n1rAFnxyxClo6pRW+OLvPVdGgV+crPAiKjOfaMA+WoB8rCQu6cVuypSd//7pj\nZkixA1bR8526ZErND9z8TMYt/OlwtjH3uaOIpKnfYMLzbwntlnM/sSzoeZMo\nFbz2gmhKPfe5PdxdbvNjWWM7roRDf9Dbq0Ms9x7MefQ3x9nQ3+iyS/vEtgvk\nUqGRF2cpi1VAXgqCymS9fFK262tTMB7Mb2UWvRSTg+GIKhR6IpNbcmKIi8QA\nfXb339KaCFF25OJGkJxqT6rgO5Dz3RE5haQ+Pl3lb7e8uyy1UcX80HLMDnQ3\no971+iTvnrlCeYpiFvrWivKEYHwOTlCkuWv+KiPS1AW1sHsk76FaS3v6AKdn\nKc+sde/VRNmeAjSpA9VHO5l8OKWTTKB6mgXxltfMMSU+4YL4DHlZcankaXkF\nyNJAZ+Y661jYk36+rolPgygIjvEF6fMi/0dtZ4cTTu0dzZ3voXjabXgQ7dmY\n3EUW\r\n=Tayu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRIZpr7ZRorw3u3rHsecIaST2V25zfGQiwgFFtRMPDugIhAK/rmXMFy1w+YIHAGoXtdfvBf2saosO7PFs+h0CJ8p5l"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.5_1606121785546_0.4359738311032735"},"_hasShrinkwrap":false},"1.4.0-beta.2":{"name":"@flood/element-cli","version":"1.4.0-beta.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.2","@flood/element-api":"1.4.0-beta.2","@flood/element-core":"1.4.0-beta.2","@flood/element-flood-runner":"1.4.0-beta.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d74345c0c849604193322636eb5edde3e7746e98","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.2","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-gefCE5mIQiQ+QxAT82H1LvFJI8XAUYOnsA6QQ69Cti3NL85QtlFQzE2KKEhGxYS8CM+2Cm/EKkQO5IFG54MV1g==","shasum":"685de4c1c2c9f7dbb42dd0c9b0450c52920ca5dc","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.2.tgz","fileCount":73,"unpackedSize":472696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvHkxCRA9TVsSAnZWagAA9UkP/iyMH6BxxVQjkjk5u9sM\niQhnBYjofNjXDfbXGyYu1OtxmWoMOReULZmJFIDZq8mZGhQx3mxm5sfuhNh3\nZRvgQLzXP8QEwhxmyTm4YkZhz6lj53DJ4g6o4zlNzGK/DgjI7Yj05AqurKFx\n8lG2FW52IH+8bZWlxVmXfKgLe85twn2CUt1tQY8FtD1hFF1D8AqwjOgND3uc\nTNcuh5nSng6Un4GCXTPzmkLcXR31pa26fU1fZZDZuFF1zcHywzrCu6iQyfYn\nqrjyQE+bDx/rlmvKriD8J47knUsSztBDSAQycD+E/sD5ac6U3X06/DvskG/T\n1EYHCgyg2IwebO2wZw4ANQ4tk0RsRp/8+KBud3zFD0n+l2ucNWjL1MHoIpve\ngIbVZSgipyc6giDgSX1OzC3JE397jadqNTzvUIRE0amQuDhcyNVx+XRSxKxf\nAea1fFZokvphtdUSyS5WL+w0ElnZnlpQm8EekfXItSnGhH+gEZBc0O5JqhW0\n+tUk4KxGYZDzs6UU09gF0KZBIoBETtyqLwJ4Vh2G8fCgE8Mo/S7W4mSIsttt\n5RMV6MNO1z44HZMu/fsjQ6sdkFpJRLrGxCLXCR0kIS8uSDg+e9UjPBMBt5Vq\nf0Vg4cEHpAcmLrXaH2LeEqsnrNkDFzyN9/3mcvbcHk8Y8xM/qA69AHPe8rrW\nxRhU\r\n=bRHh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ1wbZvgAO5SuaBTzlOkqG08DqnL1FBOQLFHrqF94wIwIhAObuxjSD/WnxqJy6t5DH2USdB5xESRsFjwzdPB8CuIiB"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.2_1606187312729_0.178160343511911"},"_hasShrinkwrap":false},"2.0.0-canary.6":{"name":"@flood/element-cli","version":"2.0.0-canary.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.6","@flood/element-api":"2.0.0-canary.6","@flood/element-core":"2.0.0-canary.6","@flood/element-flood-runner":"2.0.0-canary.6","@flood/element-scheduler":"2.0.0-canary.6","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1711596521213b361909302e4464286026befce0","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.6","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-kYz5I+Sdf+RTdbEGOhSvMuqv3cETrfhl7+vijzBt9XB+aGelgfwNtVViFqQyur415aS7HDoIpYXqgi01Z7ayOw==","shasum":"32c3302dc622d5c1eb483c2a34f4fbb74d5d4c4c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.6.tgz","fileCount":78,"unpackedSize":546062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvLdWCRA9TVsSAnZWagAAuOwP/0PyZxgq4/idPhSmKh84\nq8L99O4XelT/9W/j29Y5uKFxJjAsFSiyPteFDT7a+kuV9FBRUuzLpXSHxGb0\n2gM3eO8afvyPQlYUkj58G+qciQbpYMtEcwkJyHyrD9tV4/e9CqB2NP2eIhX+\nwN9ekaabFGB4GtMQGiI5h/fy88kWvXURL0Dt9qnjSYKenjZVeIRB9xkbFHq4\nXVNgpPmNCj67WeErkgCkDykurbI5gmzh+E82pE2kH07K9BhL3GyekRlW00h/\nqHaD02kMjts+bxsReq4oo3bosWmCCcPc74qs8hmv5DWi9W6NXbSiPtqwag/t\nCmkaAuH2qmk2xREn0XplCui5y7cgkFwun4XDQnQl6ZZeyu8n4PXQwDcUwtoC\nLLN4D2978Zrx688o3Hkq1FCDGdsnBrGJL7HdzQyxEZmYxyIQ7PPOyxRjTMzO\nu3LiyIclznN+vIhD2bYrb86C3liYPjzC4TTO8ZTT+63bnjwtZJLGdZZIz7ly\nn+5L5W6LlOaipemDrJdJaK1+ZpLlgLfxa2BlDbuvVBJE8G6RIeqOGrA5dvyS\n6oEwin0vcj8QagP56ruSiMl9DPL5fxkOOmG4OLRdkQVNVkP48e82DJFiJ2JO\n5T4AT8hRlOntHsTetrkZOB2YTO4xKjlU1Wuc3y5EEZhXG7EcG2g2+YAeXufL\nngbT\r\n=7pLw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHc7iwwd+bfGT+sR4rCFHhpZvOG5EIN7kKEXnZLpgTPYAiEAzN/g97zY/HVKGk52Fzxey1wBQPrgPdWm0oQaiHJgM9I="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.6_1606203221856_0.7646865986950999"},"_hasShrinkwrap":false},"1.4.0-beta.3":{"name":"@flood/element-cli","version":"1.4.0-beta.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.3","@flood/element-api":"1.4.0-beta.3","@flood/element-core":"1.4.0-beta.3","@flood/element-flood-runner":"1.4.0-beta.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9e0dad82af4e7f1684fcde404861602c7b644550","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.3","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-uudwqcISCKTeYr40XhZeJEknJO/V/PQIWDgsoe7wD6Y9+9mKHlxo8g9abPZFwTWgLD+SDAb8vuTF8jCielje7A==","shasum":"af11cdaa22375cb32133d1bbcfe99d763b4212ab","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.3.tgz","fileCount":73,"unpackedSize":471414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvfz1CRA9TVsSAnZWagAAB1QP/A3Dd2G5pzI7Tp5llwwN\nHYxKXMJi+INnrSKPNDupxIqn9GZkwhLECYM5jby4Vq3QwKZq6BGOFwIfyU+V\n0NCnnW/dd7OXf1ZsbpuXJiJT30ncL9nTfCJGu47/5QhLB4FkF5EzixwpKMtM\no9EP0MLJAGXIijV6WA/ZC09NgudJmX6Ii/6gTSgCEW4IpHioGt5t6m2oGUVZ\nBG8h0Y+4CCctaHHIEwE5zZv5iUcit+/J5ehBR5HluORtdICcLOY2Ju/qUNLF\nMM4GF8QctlSSoJqXKVbPC/97Mkb60AtoAhB6kIo39RrFMnviCXmDCbTWuOwp\nnEjT5st/ucBvlKiU0wpNdiWNwh3GFm93Zc7zgDbEoHZSjq4NyQWydGkOj2gp\nGpv3KN8qd9KcOcysfH4Bf3SlLTmEPAxjNWaWMySKSPZ/nDfJ9Zs4JD6uYUIy\nq7njNE2JnB7PFkY4KrGdfRfahonujKHcOeoIziqANJPTeCYB/JjhNWlii3JS\nSrrxVQSD5HbRKR1o1BePMogS2hb7cRotS1Nomq/go5/qM0cBFne5GZgQulxc\nTZ+mg0d6wk9P6md6Yktqqf6T4iYetojnD0jesHJYDpFsDPz/Ls7qNSe/Y2sH\n2T39hoJq5kYbXHroevYWIrpqf4ZbL1WEYkG3VtxXF/hjoT+KetzNXyxZ5GVV\ncMmJ\r\n=gaLY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoI1AQKfMRhIeRzEW2TflpCRzsxkGa0gJLS5Jph5kuDQIhAKTB8Cy0KYVtuzKZmhf27o5MK1t8TBVjMYRljqntcWOh"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.3_1606286580853_0.697000751992142"},"_hasShrinkwrap":false},"2.0.0-canary.7":{"name":"@flood/element-cli","version":"2.0.0-canary.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.7","@flood/element-api":"2.0.0-canary.7","@flood/element-core":"2.0.0-canary.7","@flood/element-flood-runner":"2.0.0-canary.7","@flood/element-scheduler":"2.0.0-canary.7","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"7952301853fce6d4443ef91c5907909f28516e02","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.7","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-m+xodSzVGzi05yxJb+UoT46/2Rm7aWCfAJ+9YtTyIGllrBYXv87STimcXFiUGmIAaU3cgYGJ7woTrVLtFqROlQ==","shasum":"5bb4adf57d076bb5dcb195ce6c0cd24dc03271da","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.7.tgz","fileCount":78,"unpackedSize":546460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv0vACRA9TVsSAnZWagAARAsP/3RzoTRoZU8PP7iDixRh\nrOX6cMxqSJ8wjjxNxpLEEDBU4y+xGEwNwxo8im/+qYZSc6o5FyfD3cAikn3/\n0edGJB04SF9ZiTIJSn0TYuhX/MOHbFTEZU4/QmAtWdCI5i5lp/YpRhMcy2Bf\naPJCfi6ClOryDyAzSXTSbB7n/TJznI//BCZZR0AjJ0iekqyH1mkwlS3y6ytP\nAvQ9n0hsr4QZm+182xObDGXC0A0uuYy0dks43KxhLPbCin/4bYhPJcxkMJ/u\npZbMl79SpR6K5meZGY9BZ3URcMhx4KJQ29IagtLg8PXy9g1l245Hj9eQCX2f\nrYuef2guh0fHveiT9+80op5F/zya/mZ4A3L0KcAgoSMLTZa5Bbl/EZUdBib9\n5FGXcNBdkbcm970klA1xDa5D/SFwXLDFSnIhsQqPk/p2FMdKTDhA6HHTPEtW\n7OQprV37actqXf/Taka2V4VeDDVNYfWHdQXo5U/1RfotXSJ8kWu6fYTH5U9U\nozeeSP3wAbAAKOsl8kEpO+gfOOYXM7j8wBzCmcLUOBQ15PSjaMi87Sm1zTtP\nYEiQeWyUaXMiu43XgmDEIwwaMiiLwRwGKwkPeD1x0oseL2SO+DORVbjAFl/x\n2CZ545QYaSVzNR6N8GhAkQ2eWBnPOSJgi0a128UcYBNoPtN3Z3PAyLZPblTO\nAFr7\r\n=FSAB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeGb3cUps+GNYoLrMHLJE9A1EokhOuSuC4FqKGtFrs4gIgY8MeZ+LviQZmJC0vWocnLWO2ZJo9mkopY1MNXo76wXs="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.7_1606372287806_0.5349958607533698"},"_hasShrinkwrap":false},"2.0.0-canary.8":{"name":"@flood/element-cli","version":"2.0.0-canary.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.8","@flood/element-api":"2.0.0-canary.8","@flood/element-core":"2.0.0-canary.8","@flood/element-flood-runner":"2.0.0-canary.8","@flood/element-scheduler":"2.0.0-canary.8","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"74c0ffd5543e3f28c5fc28d5965dc94ed232233d","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.8","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-gBnvae5GELJlvKvJimETi+gAJhuTZPIFG+e/wYCRGHdmTCofOxqQVDMCGB+QSQsrqoRcVFW1mjrFLAtG5PrdmQ==","shasum":"829ac644f4061ff80a516baeea0dace39e310b87","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.8.tgz","fileCount":78,"unpackedSize":546636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwKKNCRA9TVsSAnZWagAA9+oP/jyY42FTgkJbMJLKSlWK\nRB13MEdB6geHdIOe6pmeMvKk2hNC5vtYr7jB7MGEFIDrbQPFd19aq2J+heCR\n1Omny9M0rchuO9XTi60CF45+aFkiVgBTtY+/PxxhuKFRFnC3ywb5x8IeuP2Y\neaWrsYwZqyNWyW4DTx6Oc4SpMaLwiwgH/ru4XjJc8G+k8yAxqOwiVdOaEWbi\nSqoRehMsnVxcjrNwa9nRUWLlzddkdarww8JaW+gXBecGDWc6tsltvbBqoP10\n6ZzrhJCa7gSLQIagCilrBuzzSOeibRK2xEXdmOlRcDrk3y2P6Py07qHDKf2e\nKnUl4FgbTSr3+HVrWmYnuiYsNboEzawPeOKootxlodypno3EuF4VdNb75J3v\ncYagwevAo2VP+MpJZAiVsr6yjXuCU1g7uXt8qPK52HTiGYB4NKAjD0vHmP2A\nbFlgpP7ZJHPUT+gf2wxue9BCIJWI/7eju3SVvYwJTtRB/Y4ESXnc7X1UonZP\nAJ202jwi01ATNJZKOVvmaTMftN6EHORzIgFSnPZDyFsH1/JXv87ybG8dnefx\n630e1dpAt5kS++DEQZq0r+Mbtqkxbt6VhEewh4AhTXHsTzCVIJLYqdJhb839\nn6aeZhb9l5A4VieOhuiQJjxZsw7cY9qvmdqikjswyUXzko+4tCspnyx2dfGI\nZb1F\r\n=xfOO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmKjDX+1b4E5kfMWMTX08Zc7uDVoJdTgDwAPZXJjBH3QIgcLQ6lq/9NEtAWJtg6KphthueYBxZEhWYVb5LnB2hnVo="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.8_1606460044846_0.25516420906481097"},"_hasShrinkwrap":false},"2.0.0-canary.9":{"name":"@flood/element-cli","version":"2.0.0-canary.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.9","@flood/element-api":"2.0.0-canary.9","@flood/element-core":"2.0.0-canary.9","@flood/element-flood-runner":"2.0.0-canary.9","@flood/element-scheduler":"2.0.0-canary.9","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"34b6d3f59bf567047c43aebc839135f63689ecf4","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.9","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-Ub3nK4QS7Xz4Vc21qNMrufjzshdmRixj1VbHqUbLEhEf/bKB3/O+ODR2YAjHBCMdR9rCoRLMlYev2ep2Csnjbg==","shasum":"6727f28768d04993899bea58e4a2c4c7b3920339","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.9.tgz","fileCount":78,"unpackedSize":546812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfx01dCRA9TVsSAnZWagAAX2IP/2FHkIlUbBl4RWr3dHD+\npVtzbArICjJNy4fqCZdC4BE9evl/vGsRJLeWbFj+Bttwz/UAR3/7/CemgoB+\ncjwiQR0nfSDDuwaS6+oxiA+mQHma1yr7/eyDSKVe93+bfxg4UWynM9wdT+Az\nsOyX3Gvys2ttTTCaPTzG9X9IwPgCZnNzR4zyI5siwlkU/Taq46VjGm5IWkvU\n3MQ5OizExqxuEqQ/0cHD1vMeoeHnlV9snuqCAcDkkSjxLY1EVPvIWisI+RTO\nymIoM/dtnn239wm7sE+IsR3WRXFT6XDusSwpqNb1+YMsVWAJFwG39dHW7BwJ\nH7KBWohHejj0NrBtoVQ0H3o1erni851qsdQdFA/Mkbce/DQtAMk3NlyAxu6w\nSaF8kJa1WcLIYc1uv+VacpjwpCfoYm5+miYcMDkJ1YVPi/F9fu7nWqX8o62O\nzIiY4MxXy8UY+AlZLalRaogT7H4+cUXlW7cJDs5BG2FVu6QdHKc751k9uWuG\ngNmTpDiES4yjqRiniQ0KAoO9HnMduCnwQ8nlrAI29sFELIAE28YFshplL8P+\nF88MLOScOcvEsrK7mNwoW4/VALOf0KhFlJ08EV1E/Ne3cy1O4GMsvbBwRn+D\nrfTuKs4RMdPkrhA+wL6em76vHKeUp9/6JZsvLiCPTWX2fSxBlGjqJjB37Oqb\n+QIb\r\n=f5HD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUUwYu9Md/NLjcQqnxpV8eAEinSIAbyeWTWUUomDT5zAiArabN8Po1L1gae9/ZVuT23wDtALfalhxCnM8gpBfZO6w=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.9_1606896988463_0.42853969219013344"},"_hasShrinkwrap":false},"1.4.0-beta.4":{"name":"@flood/element-cli","version":"1.4.0-beta.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.4","@flood/element-api":"1.4.0-beta.4","@flood/element-core":"1.4.0-beta.4","@flood/element-flood-runner":"1.4.0-beta.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"3b1a83fdd4ebcfd3c0aea8755d6b3ae4508ad82e","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.4","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-ke8NJMQsImVZOrEsEfXUwHWSlb/OYeCvZsLViT9hKYHSf/T/IupUsieQNMuahNbCztrLuGIZYZQmf3ji0QC3EA==","shasum":"090e582e09bb470fe26c06dc05f4eea2efc23dbd","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.4.tgz","fileCount":73,"unpackedSize":472524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyDg4CRA9TVsSAnZWagAAzGIP/RyCLhfk40iZm6sFQ1eX\npFdDAgYXOJDkx/wXP2Ogv7JDXSpYX4aEzAcT/v1YQSjlRTRlBbYEdzOoqhFQ\nNGoyHYjde3ojhIuuWwWJRzBK4a9r+WlN1Dvu3AITJKJdJSm4/xl3TfzzN3gI\nO6ummMRTM3nmw9YDCAdrCO4STil2rJ82entYes8h43IYcrWD4c3DgcSJNT8b\n7mKRMvWNkdbO60ODcWEiCqbodhdcvHQbJuB5mcRI7Fr3sygwjJEJxudXgLy9\nUJUlpDv/5nQJfWg4M5zfrzUKnZzknhpYkqRNxkIxgnJkCilji2CG07FwIDIn\nWr/oWm1pLtXolAiIKj7yo7dVSmWCFpPpL/dZCtKUqNzbDqX4urHgXpYYGmPG\nw+xiKNLS8kC5T/XCTRDaN//sgNgl7LHi331m3EiSPzU27kfVX7BujEfpOTgd\n1Bz+rcnxi79Ncfng69pWrgkj1EafPuHVtaksys6aT/rEPoYK1Wm+No2epOCa\nPbROnnimE1luzCcLtZsAC/7lkRr8T+tmvODukWWACBgPVxtjsGudQ4zkKTbl\nSVWUnH3fjMWOibZ6g3u3u6TimQ6tcna++15fftUI08VYhgwFmbolLxfFZY+/\nhW7WNW3DxyKdygOCNCoMbj1TJdvElS03Al9sU2KBNnWCVdlthKTd3Etuqmxa\nsck8\r\n=QFru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyx2Zjv4PIkHhSnDJNeuvEwNtyCJdDUY7F59lNtkEcOAiBZyVBhpjEEc2WfFfO23tcqBNlQEbAmCxtIRVkhcQuVeA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.4_1606957111717_0.7499762239389001"},"_hasShrinkwrap":false},"2.0.0-canary.10":{"name":"@flood/element-cli","version":"2.0.0-canary.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.10","@flood/element-api":"2.0.0-canary.10","@flood/element-core":"2.0.0-canary.10","@flood/element-flood-runner":"2.0.0-canary.10","@flood/element-scheduler":"2.0.0-canary.10","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"62ab7d72e41bd6081d4915d70920b471bd47cda4","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.10","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.20.2/node@v12.19.0+x64 (linux)","dist":{"integrity":"sha512-5qorjgvhgqtHCwMtQWsG2JuW5sQRdEf0uxrwQaVwDCAy7wTKesYqcjZ5NK7jt+i6JvH51bMsMULmtjChcJAH6g==","shasum":"9f8b4a0084b8c7cf72bddd2ca645cfc964163c6c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.10.tgz","fileCount":78,"unpackedSize":547924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyDhcCRA9TVsSAnZWagAA0vIP/1lpWfFevXrCB5v9mk2u\nwm2QV+bOmb5dNQwvCZz2Lr5Sscq1ve5YIR345rU/aeIrMO/FoqUeqC0QuIJD\nhDHsQQq1w3FRDCKGMQuA8SVNETxsb3ITMkDHnOu5zIZZJ4fMMOx+RweEyCYs\nh0kdpldG694k80JYXgLu/Mo5GZZpzamTq89DpmLOeiKyqli+gHsTWHinihLr\nkxaiVZ7VrUU0SO3qMsmJpt7KhDLxFzGSoKeEf5KfcSaP9wrFCdlT2YNniAQX\ndLCGVtJtNWmLrNzWOrpwVgTaYseQcgp0z2N6t8HRsgxi34MbCK2D+lJsfqiI\nVC5PuM0WBvdWM6bQs41t8dNvlas3O6JMmSOwspD1gZxtYNFvYcToTwfCFvyh\nxTBNyhcc1CNSDFqNzTg1RLkhOjtnnmSUfouYJOP2bwGEcZwI7x9BfEVRFc16\nEElBam0+lh/mCXiOQ/3zPOhzx3J/dfh+DPqSE1Ifnd6tG/doQqW3xwUW5l+V\nabupd0TpGTsYXip0qhpmt9VEd6hC5KOt2wILZ3nYgfC8AT6ogSrYqGknthzl\nJU4+ujDDwJC8rSA2oyBdWa6H7ljwN052xpF4BFT19URGwF4cBekGcB+DT/b9\n7f8gMbKLB6rij7LXGCXtZuFIdV9YHYRgRTsS05YcwLCUIWY/TFpeRKANn+pw\ny7o3\r\n=dCJ/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxiZGg/rqyet5eIAPrMHA2tLZzJ+ZThAxG/eVSg2LOvgIhALvfgPM8xwAbuLcoKPoyjZkBY6vFsbgfhZKrKziOqAfQ"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.10_1606957147778_0.2193301360499258"},"_hasShrinkwrap":false},"1.3.10-beta.0":{"name":"@flood/element-cli","version":"1.3.10-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.3.10-beta.0","@flood/element-api":"1.3.10-beta.0","@flood/element-core":"1.3.10-beta.0","@flood/element-flood-runner":"1.3.10-beta.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ca76bfff17e08253726b271761397a6901d9bc76","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.3.10-beta.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-mMHaCHrtBOodaBUX/drDv4cIp/4u+zxjYkZGh86DuO+3GSt0If4kJ0l7yB9JsDIaPTAI5075AaxteUmt/rqXUw==","shasum":"a2e7c606fb016d42098d21e24b43c639895ab105","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.3.10-beta.0.tgz","fileCount":73,"unpackedSize":474367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyZ1hCRA9TVsSAnZWagAAOEoQAKMeatjvK4fTR1Z7De6a\nlfSoVia5UbD3u4oVUPqfbVa9B+dhdRc3XiZSZxwiS8yBy3ValXKQ2TecBn/8\nO6+khZXqDc1PZruOa1d3Hv6MRFxI5PXf1hOc1WOJU9EGbJs4LiWN++yHFvcH\nT5QB8dOKsErI1YZTk77QPxlwSoAM7pR+QrXPazuYG67mzziiDT0Fxj/r1sQw\n4Md8BptPw4Yc8CXsgudYn+f7wT+igyoh7F3ScQut3+mAhGM6FeikeDfS+hyb\niRyNz2HFlwOY5HYfsXfGPSKKIC6WBN+Czg28cY0CXovAsW9dx0XITSeWBtw3\nK5oN4YBhqck3IJNIDrPk+XckQIRVeOkx+qcTpUWY0E6hOnSU5yhfS7c4n/hp\nzKnXqpo1GcSvn5LlpCundjNqtqNDyNg/p6xQsbpP9MS0Q84Fx+uMmkEaX5uk\nhM1l/vc2cvcSOG7fJc5Y5uBO0X70MYS9pUJjBGJ2Tch5OU/kLnU009VL+1e9\nQ70R2JzxNJcOiJ/3lP34ZebpqKOmrqhpLfo2N95WN71yftd9iw8tDZLD0jAq\nwqJx/rBzBVlo6GmYTG6AZih+Q858tVKlBn+RzrvoSt4NtC9nB+qKwCRHhSsI\nmpsNKdLmET+HHwjKJY4wgAjMutnI3RJCZ1tzQ7jeecBtXW6UKSgOaJLYbqSq\nkp+H\r\n=7Puz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxkLFn8NU20z1Lp6/cmbzYxQTuXyHrv/lIbEkWwM5RiAiANGV6GeJneXAYp/PdIfvFszpNPnKZIrYVIPOBVHvscXQ=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.3.10-beta.0_1607048544629_0.27849227680245736"},"_hasShrinkwrap":false},"1.4.0-beta.5":{"name":"@flood/element-cli","version":"1.4.0-beta.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.5","@flood/element-api":"1.4.0-beta.5","@flood/element-core":"1.4.0-beta.5","@flood/element-flood-runner":"1.4.0-beta.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"56ba74dde97a7eeceef24388fb9e714d1f74e6f7","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.5","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-9FsEuZJ9EEn01D88xuM0ZZaFGnXnnK0mJo6THDbR4Y1aeArv8JTNaQ12VdZJpRYB2QPZUDWN9xTikAFZ4i1kiQ==","shasum":"76e41932fbf6a3edb288ccfcd8c6b386f63f061a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.5.tgz","fileCount":73,"unpackedSize":473062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyePZCRA9TVsSAnZWagAA7v4QAI9PrDMBCnKA0xKRpMEL\nwjXZn+uxSyu8f+gaAEVph7QEjw+csMbEfV4pANt9Ykx3Mrs3JlGcRbM55VAm\ndy2AZW+RPNgcYGXj0BpiqMGH+STjwakANd7/Ij7h21QMrkoigALdYRZsygUL\nm9aVQdA/7SMLRoknp3Q+J0VQM5ee3TgmKiVgQjt2fG7Bpg+Elv884AsI2Qe8\nkPFafjlqU9SvCLQs9k1NhoOAGyyPQR1gg9qaRX5VApMj1gjOFXdvqTfoBTch\nO4jnHg6qYX0/RGjZQxtU8Yx6luxN+b+0gno4CjG4eR7RS2pMvmWn7tuxkqVT\n2eqcGy5IojkaqRdpZv5AUoGyUW+HoIhB2lMhbfqmP1lgMGfal5EyWY1tvLqp\ngfvxBdlt/GoPFUR/gRhq0EG20bPfHl6ks9q4iJsKQZF2o5L3tOuIhWCDW8Cx\nwjaVFmSMK3wE7V9JOmlJXA6+5pQE4SuNBlgYODd1qLZnJierEXGTs+M8pHmp\nQX/R5Z/5W7zfl70X+KEDgKQmVutnG7lI34IJz0AZxTOqg6V5nnrYFa1yPCdP\nmrAemR4b6A1MN1qSPvKqgBO8cVEGbMW2mGTsm/2rFcUzCXDDHBJKTslH7Dqn\nzjfR0UY6k8bY/wrbeVmrKFhhMCFLeHbcaXLrQZFWk28jAMx9tcqs8EKG/eGZ\narVf\r\n=QLh5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYNlhIv/9m5NfXouE/hDAjZLylBH70AY+FOt+zjtJb1QIgLUod2oBETW93hbYSj7VMZPMG548bMOEcJLKnpusyvEI="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andy-flood","email":"andy@flood.io"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.5_1607066584990_0.11982311484370745"},"_hasShrinkwrap":false},"1.4.0-beta.6":{"name":"@flood/element-cli","version":"1.4.0-beta.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.6","@flood/element-api":"1.4.0-beta.6","@flood/element-core":"1.4.0-beta.6","@flood/element-flood-runner":"1.4.0-beta.6","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"24fcfb9e892a986f03f52279f05d2cd1d6bf83d2","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.6","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-mG0ZLxq2BCfWUJCc5PIhm2zRy5aJNJfAXj908w+pMT2k0OCS3pmDgeS7ngAUxTS/X+pQ5DsvNlMBxH2QjRB+gA==","shasum":"0d6d066fed66ecea31be88be360003cf2c6ef8d6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.6.tgz","fileCount":73,"unpackedSize":473232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyfReCRA9TVsSAnZWagAAX1MP/iTNNMEI0AoTTLCAF3NB\nraBqIesT0K7Sjuc4xoL2Z5jCXKZgjlC1YoJ/Rr6hCBiCSTaQocxGYRWFghmK\nNI7fv3Ab8v3AlaoyuwHAxcceyotA//Gm3Al65A+3dRthoWsqUCnEzwtZtFtl\nGKP9SLAnAEkEI+H29zTia/OenFvIANt2SMZWdBzdTEi8/7UNVyjgVhpVEBBe\nZh8Dx1ygK8CGHlrp+mY+VHRZN8IYAD2jg9bJD/xsz29xn/7vUDpwEPMuIYqt\n1FVIP9fwV1RkW664w1/ULAQ+eTAV1sXEhW8xOSm9TZHcyX/hxfaMUXS/OSzS\naFMRC7hZzpwyYpzdUKBc973RWhvPwVy2cw9c2tBSvdbkKtHek1uPu/G41v/t\nsW6LYXzzW3bV6YKft8SCNO7F67dyoX9x1gxi5BcVduiz1/4HnJjI+wzXqQKZ\nAS4HkY67yYEP/1vR8GOOmAgT44wuZp/BdUSpC8XENsyVuRhLDkiqvs24fC3i\nOf8Rqil2G77RIHXZm6sMXqGGT8qOZ8zZcfCH8zmiyoOmAPIaxhhXtrHoVUB5\nRQAWtvP3ksOQkUGx0GoqKXwKVrbfzYm9KxIf2HBdHKhhI7VdgW1Wf2cTXqBY\n57TqxlLcYC6UFJp9g4G4njqo8JNTwABzyvMw0bxlVnm66btNJg1Qgzl6cB83\naxXE\r\n=+T1s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDum8daY/51efG5kXBecpKLR9B3th2uarAqZ8asX2toNgIgKKr3tdqfnnMuX6XMiETzI1wWAiU2eNfPodxK4f0+dNU="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andy-flood","email":"andy@flood.io"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.6_1607070813983_0.8501465035121796"},"_hasShrinkwrap":false},"2.0.0-canary.11":{"name":"@flood/element-cli","version":"2.0.0-canary.11","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.11","@flood/element-api":"2.0.0-canary.11","@flood/element-core":"2.0.0-canary.11","@flood/element-flood-runner":"2.0.0-canary.11","@flood/element-scheduler":"2.0.0-canary.11","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"38458ce54da9c1c973f27b8db90527fa87720eca","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.11","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-2a5By7QuLxpTfBaIa9J58dE9RNM4eWpj+0DVRlsqdMl+gpFE5S1JEko9cK7+nNz6zwwxlo4h0P/NAXf6M/9QTg==","shasum":"cdeedd6bb96aabe6f721fba2a3d6e05e92dfaa08","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.11.tgz","fileCount":78,"unpackedSize":549185,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2B59CRA9TVsSAnZWagAAeM0P/24Sdzglj8V8Q0UDTycq\nywvZNT9DPMP+NC1NnYdEeUzj5llp7QNh4KaVGqMZ/ZGyrHFT2MmEKO31nbfY\nb0pARB2Q29kud0LgWA5N6Xdld+IVPTASElyR/LhG/dbqtnzldf7HLuU8ixkE\n+olZdKfGOy+rlvbklojHf7zl9VHbyy6SBW+1yEBEkeP+BoS2zqMwB1FPvxHX\nAN6hGlaWOOsv4eXPDMMIRBld4RXnsVF5M5/IWFH4owLPdLY2MiZ8vbgs7qb0\nABbzFeWvcd5AdOkUuKk9QTwOsi8L1vJLAouCxwMPfrMMPkEKEc/vaODjSJCH\nM9BKiQHBMRenCjE4YTkYGCASudIzGNQYdWz41c1jx4ltCv+6LmsH6wQ81GX1\npkbkRYNPznOy+BdlyB7QdpbZt8QLX+dBJeFZtpPyoFbfrCbJNbc5RpjdX0Mp\ncPyMx2kEHnt7TnXRvnJZNG/M1r3d0B4XXfX0N+/KtP8JeKfh3tY2L2J/aeGy\nJQ5EqZKewtMojbPNU66tUTB7TFWD/Gt+K9eRkTS4RtA618G1321v9G+1aXLE\n6S3ONAqFCIe+FmzI/nMoKBm2geeBYpxUUOJo2PC1FsOqEwZLRqa1ec3cMpXF\niGAmfrWpuMmYGVX4bbw30+FTsVmyRV+rySxSQfzCoXlA9YqTUGifrQcm61SD\nzvht\r\n=nj/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeoK3qOSoYNcD83/4JH746rWUQvSHnz52rJqFlKndwiwIgAtAH9t8272QNJRmjSK7ZM3ZOXhTcLwI31PBxvQsjlOU="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.11_1607999100987_0.5527413970596278"},"_hasShrinkwrap":false},"2.0.0-canary.12":{"name":"@flood/element-cli","version":"2.0.0-canary.12","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.12","@flood/element-api":"2.0.0-canary.12","@flood/element-core":"2.0.0-canary.12","@flood/element-flood-runner":"2.0.0-canary.12","@flood/element-scheduler":"2.0.0-canary.12","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d1bcf7967a07b5eb9a7ad2031fd818b46a16ae3f","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.12","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-vL+8oZ9OuUCUub8A0fQJ/XONMfoAGG/pGK8ggFEaWYnR+6reA4EOT6IfzVNvKT2OrZAW54ytd7D5Dm/LSFvP7A==","shasum":"d78c7caa3a706f7d9dcd0b4ec777b1fea2b10a61","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.12.tgz","fileCount":78,"unpackedSize":551909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4vbxCRA9TVsSAnZWagAALtAP/22i+VEUsM+08BhjwRIE\nNolDu59+wxy6qZHxZ14iG0WjK86SR4JcNBPzHDgkK7smbMoPUNjswGPfycCy\nihKAVMa+oIizWLcCpe6cIa/XmavtNGmUVmMJDSFN78Bj+XuW5Z3hLRCmR+PC\nHxeZeIuOCLXjdRgZ35I7XroGtMrjPm0hlAleR+Xt1+x+SdX3M2UKye/2ktOS\noy0Np22Gq3MRcAkVF6ZqlhGHHUm32bwKO2cRUW3pQbjV0y4nok1GHbTQRqVl\nhSc9iBxK7dLTgF/meTKlUCegfMAgWB5ILTIXLC1XZ2qSzYvfWwebYz4wghl2\nr7U9dbvkas1cfVKGVbM9xmk591zYtTGYf3KjOvmjGrhWJovOC60KaAuhH7Lz\n1iRq1z4PW2TGa7NCDDTtb+wKBVF12GuNuKkpRuq1k2+U8tmooYfG125JWYrv\nQWF+EtzeErmM1yzDIegGTrtFaMHsD2iUQvqcnqJEdWImaCu85HvYoQ3vr4lL\nlVxsXVPm6GZdjrjF1WjhyBociD5ktWygBjmvRYQE0CI1I2AagMQsRwfQ3fU0\nT9mTuYTvI/dIuGvxoEXH39l7rweJaydFmNJeT0voF9dhl5gP0TvFwLFp1RhK\nsHgnO6qLOHz1gMtFIvvMuGGt+U7Sk66S6sRp02EezL3Vu/Mz1kyvtSAH+EKG\nNuSX\r\n=LSxZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGw3svns3d8beW5fg3w9KLbUVLhgQThr83X/4GIgwOElAiBVrQ/dcRT11/NUL3iaRWhEHj8tD4qjXjBkN42HzEYdIw=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.12_1608709872618_0.4104483415877829"},"_hasShrinkwrap":false},"2.0.0-canary.13":{"name":"@flood/element-cli","version":"2.0.0-canary.13","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.13","@flood/element-api":"2.0.0-canary.13","@flood/element-core":"2.0.0-canary.13","@flood/element-flood-runner":"2.0.0-canary.13","@flood/element-scheduler":"2.0.0-canary.13","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a531236a157c27d7bf50127ddcc3eb0359d0499b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.13","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-GHPI5THBkXRlGDqA/U4sTXd2+Laua8faDe7WJRNLoHwX0gTFCnOXPqp6QSBoO7N29DF0uamSeS+QzKaRuKcNWw==","shasum":"e21d8f814bf0eead1a6100963b380277df2747a9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.13.tgz","fileCount":78,"unpackedSize":552604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6XxOCRA9TVsSAnZWagAALjUP/0tpSh2sJdYFb4+ZvHZ1\nSeFvBQKfQFAs2rS6y1Z9JCnKC+1KDrv2DpXMEgFdrJlwJ00gFUq56jm0hbrB\nIeBSO4HQiYTV2XRyz5ySADZgR8gKwlkLqNOT+Xkjvep8b2eMjNnRV8+a2d6R\nPs5hGluxd3HvTyYy39BJYKWehakstGycHy5RTM7w98zx7xQu8Gehsq/gBrap\nD6VA+kppHi/+k+QDSzNSLogQ6Zgu67c31DVaO3y+cNRi3EAPX2D7KUIMKave\nCM+UjeGCK8F5z1j124TcSTVAdgoI/83laD1CtFcbq1WCeiw+tYe2q6OA6g9b\nRvj87E4GZAeg65zZriUEF4Bx17vuTkV+hX6EqGrYULlDH1zkIYWgwoi3u5b7\ne5weBtSOFfmUplel4IwYdsGe8y0udOLRZ5WUReUcBGoZu9gYXjoH90MseQzv\n6dhZ5cYaOosAmHZBtB7D9LN99QdqGQqIX5mjklvj2pTD5OmSHKX9cMN7uurD\nuFx1m31xhi+G/4p+CPqZYLJ5pUGjC13zU9LijsLkgKHTornF1Y3uxp3G4yhf\n+vXWd/VutzCvsMtgQFh8YDnno+Qxr/wFnmCt4Iqk1aRsXkDM2FtPCYm/PvZI\n+njnuvBUa5irkGuQJh1SzUsoePs99KuGpFytATsMJltyG6MPrayhb+iL55ke\nIX9r\r\n=85Ej\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFCoDYtTlADe0W6qsElEmc7j+5JfdZpyr7PVH4qSI7EAiAenRYUOhbepoSE8tKRXRrJd0L7px/jG5Qs9wHLJJAT5g=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.13_1609137230372_0.31237418465593825"},"_hasShrinkwrap":false},"2.0.0-canary.14":{"name":"@flood/element-cli","version":"2.0.0-canary.14","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.14","@flood/element-api":"2.0.0-canary.14","@flood/element-core":"2.0.0-canary.14","@flood/element-flood-runner":"2.0.0-canary.14","@flood/element-scheduler":"2.0.0-canary.14","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"691f007bf3c3a24d4b8445910fbd3c04ede03a4b","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.14","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-4UjUvdkzSeYa6bwgSvx/mFN3BhytLFFBZv0TPXX6jvoEn7hR5uSXC1kswZ5as5KHVjLaaA331Pm5BBSmN7DrBA==","shasum":"7498013ea732fb91e5ece95fb97bed2c9fb92b9a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.14.tgz","fileCount":78,"unpackedSize":554499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8rncCRA9TVsSAnZWagAAKLcP/RLpehA8zjdgumFNtt6V\nDskjp9wSv5Rfqmnf3Y5aBsgmZgIityuOC0oHTHnC+QKc8u+O3LGIMteaeZEG\nIxWrdvV8zaDIAvsbac2keq94WoqHIkraLK7dOLS4bEm/s0Qzh9rNXcCZ15Tk\n2yDBV1ygJjl1gVtRUhQTThbKmsZ+OwwZkN8xqBkfYhgaVR//+2vzTXZOR8HQ\npdgEJooFd592mg7R3it5Bl/gfGgoXWuCbM6PJWJLRZfoifMVQvCNP8OgycbQ\nwARhNWOtfy7HMyLjI7vd77/ElC48OHfCPEApzbcGkEFAO9Qn0b/XTwMN28nh\n1320DXJQNXiVXvtuHIIQOO1BkKMAI9hDK07HkWor8EIvfQ5M2zG/UyxyM1wf\nUYUgN8rAuIQ5V9ImbpVgNABD0EBcCd1WH7pI9Qvy6Vk2mHeZf8HtjgRNqNA3\nYmmtq/cPMXnSqT9wgbPvou9uaFA+FhTzM0K6h5XyG0kn4YRtxCwKEisKk57O\n2ZvZqtn3H2cO8eELN5xeqq/jPT2L4ZBXk7qNJ5MHR0kK53jI/Z5B37HDmC0W\nwpPP5TV1b2+SQxDA0O1wcE4Wf0INJxJov9sGEfTKe19HTCNOqoCLjmnNuyxe\nNuQNcvCVcKK9JCjL2TKIJ1NTXOho8ysQgeubo+qhLXy830Nx/Ro7rj/6p12o\nL3Hj\r\n=XH/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDfd+s/aMx74euw1MiO+2D/1lBxjWZgXdvhVrlK3OPXAAiEA/15Fs3H4ONWD5u25MNEJhnfas9jTegZkc7mxNAZv6gU="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.14_1609742811982_0.8763038042852325"},"_hasShrinkwrap":false},"2.0.0-canary.15":{"name":"@flood/element-cli","version":"2.0.0-canary.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.15","@flood/element-api":"2.0.0-canary.15","@flood/element-core":"2.0.0-canary.15","@flood/element-flood-runner":"2.0.0-canary.15","@flood/element-scheduler":"2.0.0-canary.15","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"675b220975146e277aae4aac6fe94f88ff7b98c0","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.15","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-6zNqLQ0ThZTTdsAuzDRYaNXRoqalgcWVI8Mvdz4sc79IqN/3dM+9XiFP0pFcqG2gOgTuEHIUkw/nRAF0wBvujg==","shasum":"749ffb0636f0f80c27a27e85525641476afc926e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.15.tgz","fileCount":78,"unpackedSize":554922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9WICCRA9TVsSAnZWagAAFyIP/R3onZu8SMrm6fkgLbRi\nZHjEnGrdbflcZPIGRayu5CNYyWI7qQ0y01jUpF9hzOID57uaQqbRK08Z+Q1x\nXOIpSnJbZ8lacV/yt4D5PhR/BkILJHX3CdMVIDOBjoAKrzz3ScP6is0QXRPl\nAJVXXHSnUdNpG1lNy8SfsXxGTtac5gaJaXdp0RG6bY+MJO9llIQJTVLMYksC\nCRiBx8UrK8f9zjfEOfhRCUafgcbCnM6Io3srafGy8ghF+ixF0RdH+XMcYjzF\nULtd3f8mc9StEZlARxc1adNR+pXtDafmFQYXVP+FuusERI2BC7becCAnJ7c0\nmIld2cMs6Sk4DG4LZrHpr6AtpRLp27BdroNr/nsdJdbuafF6MWTomPUc2MgI\nRRmWfujwJaR5/92rO0QDdtXOkUnTPwV50qkl4UTyQEg3cez/TW/rzvwWZM3u\nOTec9YBL0fBAU4w/zHnzlPk7QcB2c3G1Lq4Eq9nyBdbRa3XmUWgeR8IB5emP\nmtjxeFqyhmNc8zIQUA0xqsZY++pkcKmWwqArcWpoOU6oMkW31VZtSz1pwQfy\nbZSaYNEBMj7344rw+mMzmK993gmVcPdU9tKIcIwujTM6YHlvo/rMQBdHc+ir\nCjl7S9OqJK0Drx7TqAByDfMrOfZFe9MFiCcn8T7uTHrNvfqsY4jxyC8csiFz\nEzU7\r\n=OkXy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSMwoSK6T+oEBxQgRfnY0Em9xrZ833L8sd2ELnplHI9AIgEK0OdEDSLnUfVwrBDdnIxdVkOCwVenmtXu7t3drAEIM="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.15_1609916930505_0.7448001104262649"},"_hasShrinkwrap":false},"2.0.0-canary.16":{"name":"@flood/element-cli","version":"2.0.0-canary.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.16","@flood/element-api":"2.0.0-canary.16","@flood/element-core":"2.0.0-canary.16","@flood/element-flood-runner":"2.0.0-canary.16","@flood/element-scheduler":"2.0.0-canary.16","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"e59a26cc498140d9f625a51649d122ee76300375","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.16","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-xngWnBkf7Kc4LaC4AMtXGuSXejJEtpobB4zNAg2S18gVP6nLDyMAhuwxMt/c9KaxeTowzNefLRZz/pziDvXRKw==","shasum":"e605a7e7260c3677c9a0c2e7705e5704fa066e3a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.16.tgz","fileCount":78,"unpackedSize":555101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9oDuCRA9TVsSAnZWagAAqfkQAI8s7G4r+XW7OazXJVIO\nfaSkbOOL4+b9SKktinFLQGiO778GuIHPNoZjb0fYs9xqhyOHPsirBb7S2z85\nx6oHSLeXsdzMkLOyB6ztoSpVPzXe5jKftrGBkIo1pzg/i7XBhKUyECbtpezJ\nDTQSTBJuZFvc2mBJPSFFx3qp5jB27Xvbg5mUpfb3Tgu3Ibq6c9T6w+Qyl8YQ\n3EMVS7b7va4q+QrZS+h0v1wU7au6EvGQeKrKECbH0xJYzEQG0BGHPV1Vm9Sl\n+BneGv92EjibqpFVrByOfLd0DE2QYSqOT6K+GhXp52OTrbXDaoSo5eMOncOQ\nwfodaLBXa2A6+8KUhoMKJd5xX2tcOZOdgoLp3Ocp9gvcb1RCTg0wtTIVThRm\nUBJ/WBdFj/nrNsfLnwJsJlIhR8nceSUn++4WUSIq587WWiYcz3qA6QCmluOf\n2gep4169/7gaopW0HVinlsKdBxX3lqGpX+0QKuA1p5PWdaSO1NpcUlhJ8H1z\nh/c0feGgU3oa+1Ud8wxIZIw7Wcgu9avdP0j8WM1LGZ2VdRh1gY3IYhkiPuiC\nBdWCX+8GOV7AAsGziNKGPMLh0oTwSvyBJS/k/HNiS0sGpQzY2yx025eUnnQ1\nJDosnqDdN5crICdlBeA2ZX7q9ObW27ivxnCrL7muBtgFOQTOFzczD6Pa0S3d\nfUlG\r\n=vy9k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCHyvgauPkaSAqugAyhbKfY58Lpbn4UwNoflXj0jLNoyUCIQD/qjmI26LZBqOr5++Ew07PHHv/M/FHPkPvTZXy4MM9GA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.16_1609990382393_0.8757879052282747"},"_hasShrinkwrap":false},"2.0.0-canary.17":{"name":"@flood/element-cli","version":"2.0.0-canary.17","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.17","@flood/element-api":"2.0.0-canary.17","@flood/element-core":"2.0.0-canary.17","@flood/element-flood-runner":"2.0.0-canary.17","@flood/element-scheduler":"2.0.0-canary.17","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d07d6a1dbacd38eafd22301c19506cf241659083","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.17","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-iqL6wKshMZQ+GoPNMBL+sp6H58JnSF6wWi0M71ndLmT0n3d0rFGkENs9oBSGtbxmD4Dv9UmXe00HwDQBu1B1bg==","shasum":"979efafaab2a009a033e6671911e3138fe375fbe","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.17.tgz","fileCount":82,"unpackedSize":577851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9oRzCRA9TVsSAnZWagAAgRoP/1HfXkI15n7CNcMTsV+O\nJnhix0la5ChifZCHcH9wGyidpjNLPKvxKcz6nldaB+fQcfZ+CCxMdVOavcLt\nlTUJlZ3ik6gHDI1ZEB4daXeFkGtWx0iNsWqXWIM25O7XIrPlfdM5s/Roz9cN\nDblWg0k5i/vJalrn66HcKI2iKgEftFi8ZEqBGU0pv2pcJONrJPaLtUNxEl/t\nUPlZWUsRlgLAsP0HTDJHQhDYGL74kfWQkBq5ZjKJ04uyH2B6tWBLRNRLkV2+\nXRXCUQQmIRzGuIJlV/I8wQE7BukUQihm0bXIu1zrgsD0eptkWJPQ057YQsjt\nfqLSeyIM65qa3afxzdJN10t93oUQwB4Wk2WuDMUG1b2NYwX8ogpnyUd/bHsH\n+rBFK0cZt/kaFkPoo0nenwi91tZzNoovWgvH+JLEkqaWCo47WT83h7Yb802i\nFLu69c52WtFEHDybQtDd8x0G3Q8CRhlweoQOERTVv3+ZOTteQp5MeC6OnC8T\nsIDlbXf9eHxLTNAgReoWRlYG6wJVSkKVIH5MZ0YzOc1ExLmaemseruWtGroE\n1qUoj0QRpqKHphhQxkVB0pR5Pe/eK6vVHk5Ojz6vJELmaA07/6zp9+zt8OBc\nWDDmLFUwNX6DSJZl+ZiwQfwCLWZqs3cSQuBP5EDt5PsSYgtSx2U8NtNe+Jw+\nJGYa\r\n=+Pqw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkeVUD2tQ5e6cJe9lyYE8rLHvuojp/MB1LRtsuyc5pgQIgY2jdlgpgNKvff8Ou/cp69HtuzOy1WppFz8stCtdK4bU="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.17_1609991283419_0.6581007781136814"},"_hasShrinkwrap":false},"2.0.0-canary.18":{"name":"@flood/element-cli","version":"2.0.0-canary.18","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.18","@flood/element-api":"2.0.0-canary.18","@flood/element-core":"2.0.0-canary.18","@flood/element-flood-runner":"2.0.0-canary.18","@flood/element-scheduler":"2.0.0-canary.18","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9b94ec415033d49592118b0873ebea5dbb0b7d23","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.18","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-YVrRYoCwAcHGgFbFaoj4EH+P41ykd8myPfCV0oslGDg6SsKVUSWTdeSvOGD7Rjc0G2UsjOh5hb5wXays5p2aog==","shasum":"2af93c4751d5bf19af3ea0487800c595039515c6","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.18.tgz","fileCount":82,"unpackedSize":578030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf99q7CRA9TVsSAnZWagAAUR4P/3QRCSUgc0wm0U4D1y8t\nHUCdDRkRlc7Q+Qyui/cOMknuZ2jpSCeAbGOdaFvjx4qIGC0JvsVuEWG2oedN\nLH+mFvFQFNnU12vD0yfpJYmRNvpfYxYEfBcScpTbR5i3aBzFFHEyRkc0bn6u\nYHRy8RFxBX9BL9gNa0Pn6UsTNVXRz2vjrL7X7OKMM731vh0YTlWA6zZ2tPc0\n+85ZsmJCfCEEX7jGTOUDD4JCce1Kar7Mrs9ci8KUj7yjvsiE0Z8S50LRlrcb\nKDrGSagr30nAxq1fZPXt1m9QunrY+roFxqoHy01dJDZ1JGyWAmAMCn/CXLoA\nA+2SOxbOt+PcCT/hXvCfsovzSqy+SNopz2CXVu+tZIljiyP5w4NAwbn6//2a\nYwkQ57nFduAHIAvKouwRTI5sZzdBDUCOl7lhLj9dCbzBAARJRQsRGW2ZD1G9\nGfGIaGWzq3y6RJAqafZcahucr2aMK/cPI7XSeY0NCs/Cm4JtBnFZOH7nj697\nkgb6hsDJZDO3wFWq6spdvTyelJ5aAKC5QByVXoj4EsVqh4mPkHjV4rhRX43y\nlolloRMqTJkQHsfJ6yq3g6TFSOI9vEgH/iUfFQa0FRny0BkoCRD4XcvKlV5O\n4uhnxXTGExjKq91o5nbsYJsnTAy22zu1fOgS+049W2MV7qyYKxthBoNdhLdL\nRBV3\r\n=2suT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOv3GSNfr7rt1MCillSpJbUUmmxttt9rrktoWMsVMEoAiEA+FAiEufJ+PgWVx5QbSDdsMDzPo4MMbSsLvQJ6XpkwSU="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.18_1610078907458_0.30947987891753814"},"_hasShrinkwrap":false},"2.0.0-canary.19":{"name":"@flood/element-cli","version":"2.0.0-canary.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.19","@flood/element-api":"2.0.0-canary.19","@flood/element-core":"2.0.0-canary.19","@flood/element-flood-runner":"2.0.0-canary.19","@flood/element-scheduler":"2.0.0-canary.19","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"6cb44a007838b864d48d500cb8912faa81c65ba5","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.19","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-0fRxGDq7jGlbwtNgAn0Xc0/k2MXDxAoRv+RtcsDHEPalgl2aBbQd2ljFqy2oCvLdDwnSSV/aK1KsmJoq7fXggQ==","shasum":"39012e601ca1cf94fd9119985d33b8d03b0eb66e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.19.tgz","fileCount":82,"unpackedSize":579056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+9AgCRA9TVsSAnZWagAAnmoP/2YVACDMFarzORKIaY99\n5cut5cBqfhvNw0SRVunyw2KGhk+QH3Kl+hZeppGqjJCkBSwWxeG1esLywrVN\nwVBbyQS3kd2gWZanTDa5FGFu8ODoUfbS8s4xCygqp43aDToNDQzrHXfl5amA\nIvoUIEOBO6pyMrg3TiZd79EA36+DCx+x+5bGx/LzVk+cP+TQtjPkcSSZLk4t\nEf9dJKxVVIMIIvQrzbED7w5PMKhGgLaG3VkzHuPojOBsOGF09VwcXVJ3Ohjp\nN6xuU2LRsgzfGUdzkqbL1NtOurBvEj8AGq7iTG4ILzScXza/iCifhmmfLq+D\n6A0m/m2zL52LrQEDpRGzlQPDGifKyyhY3LDrhyGNTicnsIEnihpLwwvV9/qU\nFjMZ1ZGKx5RKkxdjOIF9GTNP/I8v+2zVI87Y4Unx8n5/1vJBFgokmsat/h8H\nRXgz5sm4oUVk4u01aoAmrxzr55ldiWRr1C3tukNyxpPBjcCXKLfo/TrwzG7y\nUUJlGfXfrfS8d6/3K5n4wZLh3To9j6tExuJpDfhVmgDMUFa3y/zhXpH2MQqQ\nZpCb8jZCBmOtHzMXeudVkNz2wj3mPH9XYy85hK02yXvyjcPO8hcGUr3wasdM\n1kaV23ZeielyePjWXJ0C7xALbrxjK2oK8cMklJFml/0j9z7oHz1YM1w9uMKE\nugC1\r\n=XuZR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIANmF+Q9IYCr1XXuTYAOMP3PzGPoLc98BGJd0HFWyXZAAiEAxVgloR1o99OJr0gS07Ke38DGwqXUt7hYQKd9AQ3ZfNE="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.19_1610338336002_0.07050880989883712"},"_hasShrinkwrap":false},"2.0.0-canary.20":{"name":"@flood/element-cli","version":"2.0.0-canary.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.20","@flood/element-api":"2.0.0-canary.20","@flood/element-core":"2.0.0-canary.20","@flood/element-flood-runner":"2.0.0-canary.20","@flood/element-scheduler":"2.0.0-canary.20","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"3f462c095c1abb902fc6caf72e5a7faeee31c518","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.20","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-2UOkzNCAayQ0fQcsiXFfZt1ELklaUOlgUtoG5NpeG1bA3Up042nYD9y2+O5LBGIVOhnSbrnSotWXcO1xgXT3sA==","shasum":"69505c969d0c97e9d41bf5d7278cfcb85ed20321","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.20.tgz","fileCount":82,"unpackedSize":579534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/WYwCRA9TVsSAnZWagAAQlEP/1vq4M4lDp8ON61q+2i4\nYJE/10tAcSg972cQxg4qj5D6mMI6mmHDmu+XiKPKimyXhLljL1zb+eUDW2+P\nYWG8o5s1Q3aeLF31uT60xixs9sUyRJ8sf0rVa0ZUarhl5VJfd5x9xpyCGi5P\nLKyX/OGKmi9HhZdCcH7id+eZDnIWnOyQy3rAbqS06DmshYTFQOvFg9JJ9Z1b\npdr5s9Ex64DPbyVWlP6FH+btZ/s66F8iaV7E52FNbD557kDbQKzXLyOMTycr\n5UXybu9KhTAZRSoCfCe8/+lrwQktvcfm4gN2Y/H3mufcBffWB6/bB+/Fsvtm\nAp/ktF5nNDgOSU04JHFKFP/RYbTWQ/+5YMElwOGOcDwcv1UVO3ihtt30+jRv\nez5FfOKgmVqX+s/UTy/gPHn81YwdHcSaEeoeR5h05NYwsdd7TsboyPVkIbiy\njhxHY1WAxslpLRkZtGEitelutBJjuk+wvcyVpNEP4GXm6qeUjoUcNPu0W4z6\n7mzhsflRwBmG5bgKLa2h3LTLyQ5EKg9gefuHkdlH2w/Z10h5LYwDvD6Oh3SK\no0X1YX4e3qUgx0eH2Wt3RWtpxD36B1pKtGVfuAJSWOg7sYPGVysugIjklB7B\nzxRwwknAGJLeT2CZ2cIOODQLyeYAmteHwt+ZPlncQZpiBuelXxSeeFNB9nxI\nlGWr\r\n=zuGO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1h03vOzJ5mi+70gnSXxvxKvqvgIinl1X2NccbpxE8rAiEA2twM8lojtGo+ueYV8SL8jZ+Tx9AM/3Sa7QIvP9NO0DY="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"},{"name":"andy-flood","email":"andy@flood.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.20_1610442288042_0.6693601491667331"},"_hasShrinkwrap":false},"2.0.0-canary.21":{"name":"@flood/element-cli","version":"2.0.0-canary.21","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.21","@flood/element-api":"2.0.0-canary.21","@flood/element-core":"2.0.0-canary.21","@flood/element-flood-runner":"2.0.0-canary.21","@flood/element-scheduler":"2.0.0-canary.21","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"830e5a9e6baa3ff332241fbc0458997bab0a9b23","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.21","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-GG77yDIA3m66ikICPn2MBrLX8DcWVZcfu8wuBx2y5td9Aqbs4oUn5tLxeHqj6ShyLg3jHoAHWx9vdp4P1Dwhgw==","shasum":"17b8fc9b13dbf9e45c839ccd2e67e52478d6e036","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.21.tgz","fileCount":82,"unpackedSize":579523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCSAUCRA9TVsSAnZWagAA3RcP+QHF20Zb1E0Zb7d//DwG\nK/H2W3/1xw7J2BBukiWie0ibdMOiopSJsYAosXGrl2mFBv6Klmnbpmvf9a58\nEebQDBAYjyd7zR03UCQBrO6F0B9UloHIgcwEPmwGIdkW0Q2sgLJa6MJ2JvK+\nJyI9epLK/yChtz3EZRxKp9uG3g9bVV7GQxjf8Ye042wNARSVdeLr/9k+vzol\n96dbRFsBYwIxL+5GxvckVKfCbcWIohImx+Q1TnorTadb2BrIptME9UZ2fcQ6\nNSNAavHlwBzznPf4byic1Un9CndLQWcUZavJsVrB6GCWqRWU0HtSTvDkk60Z\nyvU7C5v8XE82vgk5a17IVhkbVt5cnDhN1W7GwW6dALtKoh0Mw93TFlz4I36x\nzqTlKPK3zEoc7Sa70Pg7mBnhxUtPsZqvE/30RPLtkBzPXgSTBjlMw+Sj8zxz\n38ovq9oEVerSgbFk2B5573VcNQO0jL0m9i4A7PT0i4x4H9HOWm5tcmUPKj+e\n88adjQUdjwFt5xXE7SNDd/HnXFVeTOov3ivTuTirzYoWoNoZumm7I+IuMJEe\neU+Oghml641PV/HHKWxIfN67C6TOsD71+IENaJyQlLSDfANBhuf/A3K4hQyt\nI9Yqye3PuV3CPMxBDQ7YcO4Xfk8J56FJ9qgsgQs4MwVvQOAsZ1dHQ0i7YosC\njhE0\r\n=EtKU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC25qcW83YAv/nVGriMGPY3s+crzYiW0PUC/2hLYVGA+gIhAIAgnJkWOLjyuHPFr5dfiQ0uObQBR2qtAUj1ROTXhuHX"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.21_1611210772475_0.738157458076534"},"_hasShrinkwrap":false},"2.0.0-canary.22":{"name":"@flood/element-cli","version":"2.0.0-canary.22","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.22","@flood/element-api":"2.0.0-canary.22","@flood/element-core":"2.0.0-canary.22","@flood/element-flood-runner":"2.0.0-canary.22","@flood/element-scheduler":"2.0.0-canary.22","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"5a632771cded2f428f4c8133d4c5b595baaf04f8","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.22","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-AfAPZjkFwmH2zMIbSIFwdHSkXzPB6z3qd90a62uqfolP2QcrMbZN3j0YBoBxHBaqpL6nFR8ZefhIvSeuqi2H+g==","shasum":"0aac02883ca044f9de7a393d2a2154be6a00d589","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.22.tgz","fileCount":82,"unpackedSize":579608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCWQ3CRA9TVsSAnZWagAAXKgQAIAjWDj3sxB4y/Quh74h\ntx97v2PlhYkbyfy2FCJ/7KHSAP2zcHralHcnDGNc9Xf3t9xMhVmAReDDb1D5\n8tZQDi/O7IXGS6yEO0PREXMG3SqeB1lZQpF0qqirw4S818J6AFtyDEatKbdQ\nEch/0jC+REMwUaqzMph6Klf4Nr1dsE4ptwO2Uf65qJkWcvtulkbsR4RESGsH\nN/PrwGZMXZtl5bq0HJyGSP2LThnCHaKhlbq86BwoF58n11dLFAud8hSIMu6Y\nUmu1o6ocbXIxwLFNDS5zqUfgu7GD0TSH5mt7T4oTZg+9Fh+soWjrvwdDtH4H\niOAEu6wJiHp3xujOWihuWEKa3wcZ6f+5F7CE7k7bKKXFDhyF+h3Auz+Y8FF5\noWaIyQyOQvdsIYS+Vb6FiVxpPvgYXsZ3X1Bs4hy/7dsahw75FaWHPUGvGKXO\n8CpKmabCRf5hWfJr9Yk8psmljmsQ4DFjW/Fu8Jb87ZTz75RcHMRde7Yw5HeZ\ny61ReAUdRxz8/482v5b7bwDYKiQEvPQeqnfTRvX73blIheXZofqucFdJsn5K\nWDpyog4lupQBkNH0M3Mbwhi6XzSurLFv46n8gMjOJXW7CZXWdRosoMvGx/ZC\neh+eC1NiKSUW3NTHjVj8aolCymlGv3OsSx031bOn4THzGvmNgB2PtEGT4SFr\nY3E9\r\n=sGaK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEOMiPi9aYJ6ti4iyd2M8ynnyad6uIPryOCS/i6PMvVAiEAm+lJe+rigwOyvRn6fQh+3d8wgAB/ckMSpHNH8R1jUK0="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.22_1611228214901_0.8476822482459232"},"_hasShrinkwrap":false},"1.4.0-beta.7":{"name":"@flood/element-cli","version":"1.4.0-beta.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.4.0-beta.7","@flood/element-api":"1.4.0-beta.7","@flood/element-core":"1.4.0-beta.7","@flood/element-flood-runner":"1.4.0-beta.7","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"af91100ec3a126e8e1f123a9e99009e106974f40","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.4.0-beta.7","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-jzYn7XSQ7r1uPeEhqr+c2mj8DFdLMXum6duu21ko9ZppyCeuMw13Wzt+LDaQ8HmcFI3gvCuOK0dYOMxhRaWCeg==","shasum":"fafcdf8be292c87cd1994abd66fa9814d3143c5c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.4.0-beta.7.tgz","fileCount":73,"unpackedSize":473402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCkD4CRA9TVsSAnZWagAAd4kP/0C5cWgXEZdlS/Z0v9vW\n11WoAk7gOAh7Z/0AkyWe96DKqxsxVqcRKpKqlUnxUY7Dy2/Uvj1Bg9LxCs62\nVxHU10/mFiblgX/2qmFI5vgc7x3ue9V/uFSRoIzWNHYFekIHUNYII8XkhoM4\noGhnLRjUtjbUegPIuB+2iS6Iey4QbVqGIz7yePaKOZiieca5cDUbfTfL61XU\nYZCSBVzRNVXDvIH5mCD0r3M7ri5VP25ZiYsgUpG6wSFqG/Ho3nK22/aRvthJ\ngPiDUcbCreEES5aX8Jttft/CGjj/RT7qB5QE9hchv3WY2Gmebjtpx+ZRGi/7\nd+yFiRuhsP8SFOgrZBbwic9nFJKORkyOQLWq03Nse60WCk+jq/j/sYJwFNT+\n7cp3vMVsAj6KVWduss5ZP94MR/rsFaxD+b6PV0icoN4ow62e7GY5bxJ2+XYa\njVS3MEEDjdM00M7AnEsEnvcOuqsB+9b6UxQ9kQtJmQ18wYTjpKsx9rSpgqml\nBCpIitXb0cdTU9pXGWDO3R93upxX5vxRThOjMydyaXvMO9aAj55ML/1BwlzC\n/dDSOpOVZOu0m4s3mZNgGdz5SxNduIFHWwjUX59rP7NoEPm/oBRuY/dj+kR4\nyW+NvbSwRfEDS6cSipgLlD6nc5lUCPG6ibsVP3IotsMym2KpYlaflHgX582Y\nOUfp\r\n=Pez+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkdK0zE0HjczGG5X0udVh0DzeL1lxBHwns1GjFipow0wIgN23NyOXuMAIZvAHcs6kQnpZU0Vf8Zsu1TM7SErYC+xc="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.4.0-beta.7_1611284727992_0.3123923764152221"},"_hasShrinkwrap":false},"2.0.0-canary.23":{"name":"@flood/element-cli","version":"2.0.0-canary.23","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.23","@flood/element-api":"2.0.0-canary.23","@flood/element-core":"2.0.0-canary.23","@flood/element-flood-runner":"2.0.0-canary.23","@flood/element-scheduler":"2.0.0-canary.23","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"14a80892f8fc31f52f6303d673c8e8241b1712fc","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.23","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-Znr6ePipmiR2T+UxKgJiiomD1GHRcGefutkij7ccvpD2nC7SPWAAgNIAs8GK8UYOCxLXO3CjPUxFoG1weM81jQ==","shasum":"5ad8121b33ee89e7445c13d9ab1a58f23e4d2909","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.23.tgz","fileCount":82,"unpackedSize":579787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCksWCRA9TVsSAnZWagAAHrIP/0qnofk5N433iklrH/v1\nDv6ApfsaEwI6QgV6lK3zS9nWugtSVWxk5Sq/C8vuBsXFdS8xa2EK+yUkA+OC\nHrf0CLPXCVJPol2LtfEDrZRLvTewPnc+cmA0VDFlW+pfYhnB/ID9G1MoU4hp\nv5NB8ZKbVXBgZVFU49DTYPfzlRRp5fY5drVKio065q6uiZ2loRo8yrIZFSok\nafLb/Rzb3dN3LliXZXWw++2J3Ud0+dHalGIOEcHwcgHZMPZ6LmDvypZWmpQb\nkfcK0sW5qBSYJJ7thx+0UoSEtWkp0nmcbyVpnByqXQ1o/KIoH5PRmE8+flwo\noHrR3pmVVLkSk6H5RYWXKX5Lqz7LhDjlenItLS6pwb5/PLQ6u/EWR7VrAvK+\ni8NdpWrge4d/3Yf3xBMxfswttBScjl1wnzqaGehYBtZmeHgGCPilKXTY1fsT\nAL6pz2xRy3VIxgSyxCPNoCozEZIEA1MCxV+u6WlNzeMdfx9k1lmFizo87p9B\nWKYj6L0Lbm+ciKh2Qc0CFFzblZzgO09PF/dQ+nLRxoI5kqr2eenyhR0/43FJ\nHxstn93NbSVt8izDZbYfEUrmL2MEBWPOARxOn/B6QNzRBeD0dd7JHppwjKGW\nOvr0NvUeLjscK7yesWOd2dc3S1T+JvxIo3WZYlRyj66B01IbF7iYdg0q87FJ\n0un+\r\n=vUa+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1WJwX9Pwldb5wstEzDf/TEIWv1s43Qv0T0DTZQAQTEQIhAKCIPOWgIxSBddVnjjPwJ4T0KtcaWTaEsIoH4N5tWGnx"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.23_1611287318084_0.9615228836567487"},"_hasShrinkwrap":false},"1.5.0":{"name":"@flood/element-cli","version":"1.5.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.0","@flood/element-api":"1.5.0","@flood/element-core":"1.5.0","@flood/element-flood-runner":"1.5.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"59feed91b5a75905ba548c5d25f3d176d67b4e77","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.0","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-INuwzt4VhLONy62kcBg/7xHfVj6tMnAWwle+pvbKQxc3J+xSgdWQj2ULJix9TFm8FzKsU74YHx1qb6MZ9it/6w==","shasum":"b96a4c35e082b047d1efd1ee7cf4900ef8a3cb98","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.0.tgz","fileCount":73,"unpackedSize":473570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCkxMCRA9TVsSAnZWagAA9QAQAKQ99RdsOnXKtgFoyvYq\nn5HYTVZZTQSmvzghKIYjKZWgrCJE8NorR/nOSiEW4Uo2Uk2BRkTAbFM/8LTS\nJHPzdmRh3yOnnG8P4srE36DyWyxiMGVL2CY3IWuD99ywWUNEfop+8p8Wmad3\nB2ff/kt9IUlwNwD8cEJKwDXRYevyllV5I8SvW0Mg/doeYMthlKyY54qvDAXi\nEloWEOiLPcHxjUNLHYMxu7sz8M2wK0MucDlq4J/ID5dVhpCNvpUjbLZS3UDz\nB1OyA0YAs+I1N11Xvtc1rZu+095IykjLXBnT63HIRhTz4swvvL/MZgrXvkfP\nap/dmbFaqwJoUcPNzd1+9ttz/yw9nPPux8ECjzmUAPzs2GRct1N0BV+OYlgU\n5PNVWgbammRDMCbP0xyEFGnU9CNNvU6KWqanfrRd+rpcOCYYvgUNv2IyQqJ+\nKqogfYi3zd6E9z4l8UJIwVxk610aCpKrtd0H2C8AImg/WUol/l79kpVf9JR7\nd8J/yIgFhKWjQUjuNseViWfG5vWKjkLoTvC1kIc3bXUzUEFoUyF7dsTvx0ko\nhoiAjXIQwOXFstCG6GNIWUbEI+n4tr2VZ97+QGzvPLO5SgiYmxIvFFvCwnjM\nrK51xnFGczvk+ajBG6WC7SMuvmo1McCjVSo0YmgNRDXgLTpsgkj8h9tQx0t+\nCeD5\r\n=uP77\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHuZYNgB9tob8vT8uJ4Iim93QOm24pjySNRL81/pVCvAiEAgvYNEXQF/2Nn1CnwSlBiJSB0Y1+2HWEWmLaj0xqaGKg="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.0_1611287628006_0.4866972129642566"},"_hasShrinkwrap":false},"2.0.0-canary.24":{"name":"@flood/element-cli","version":"2.0.0-canary.24","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.24","@flood/element-api":"2.0.0-canary.24","@flood/element-core":"2.0.0-canary.24","@flood/element-flood-runner":"2.0.0-canary.24","@flood/element-scheduler":"2.0.0-canary.24","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9f395bf69725e2c6f7fce7c056b6103d9912d1af","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.24","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-oWHQsGoOLI04wh8OhevD4FSLkUpU67m3V0TeyUQV+hDj82yj3dL8Ss0H/iA5cjzj11Z+GEbvsx6psC49XvpQ6g==","shasum":"32f89a8202c7f90f50a8073499bd34c402cff2db","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.24.tgz","fileCount":82,"unpackedSize":579966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCly3CRA9TVsSAnZWagAACc0P/ibfOWah6oMdWdCYF7Fv\n35tLVCOeoqAFQxurinyQAJqQyOSfqoWrfm5H5T8zd9SCGmzBYwowlWDthGz+\nhYGNBweNIHV6DbChnS8s3OV4J8kFDUNOhuxcCSMHPkIjzpp9OXycxRDjAGkP\nMClm7sSeW4TtvCEKm9fC4qzMN313PUphylg4Aa0cvPh3elhax55tYyUDQkqo\nwuGBxhmMUsyo63gCY6CagS8mTyCKhW5N6o0N0w9DXgntT0SU+uDNSuRpM+bL\nvHqjGOT1lXGKpzGuOQcLVVk+CJQSxrh+swaockB7I/lyvdPVRoxIHGee40Ty\n46ikG0titSSycu1qbLk7gla/GHxAqTdIT6wD/UXcoiFuVYlO/yGHr/Y7g2Wz\nbt1wandxSaa+ENvPoQBl3HAoFYx1Pd8SpreOzVj8IXI17ItRRMDtA6Gsjs1Q\nnsLdgqFq+cZNQdEU9OmwvKB7OmAWQXC9WRSORRyvjzpzJg7Vv6WsXvgp7Ax7\nrB4lZPU/FSVCkVjI60Rf08IU2zfESF8nJuEe6JZ7sJX7nqGjbT+FcXXToma4\nYMAaZLim5qCqNgnt6vsFfNzLR6NkWkKBYNKSB7Q1cCaWZCYsFPoqLzZEL4Mj\nhRbZd7Jtkz8mFIDfs5gVMgDX88Ogr/Cqh9lyBSscxkARjJJNMxkg98D1v85j\nWFd4\r\n=tyVG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnPIrPOkmOl80vkw+8mGXpqXUdcy4jKOLxOTZJr18NJAiAWpMtOykIO4b+Dy6aOPiI7lm3NGeGeEodb7RxOwWtoUQ=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.24_1611291831351_0.2942540268424467"},"_hasShrinkwrap":false},"1.5.1":{"name":"@flood/element-cli","version":"1.5.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.0","@flood/element-api":"1.5.0","@flood/element-core":"1.5.0","@flood/element-flood-runner":"1.5.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ff8ac9a2f5de116cef32e0a3b78764cbab8bd8a5","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.1","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-Y6si5F9dyNF8RgzphC17IpvYqg8OS2/19f5wMtFHDVd0t/lw75f3xb3YsNsz/n3/Ve8VG4Rljpopk5ns/qzPbA==","shasum":"51827eb3e3568d9c5508a2f784275ae2cc1b14b8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.1.tgz","fileCount":73,"unpackedSize":473792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCmWZCRA9TVsSAnZWagAAn5kP/joBw8ehjgTvb5DUYGSb\nhEEATgCyWsuecpQu44gm7p1jVcSOQoFgakhKhhgOoQ+mYhRJwp3Emb2Of/WD\n9x/fzSAkTXKOU5iOBRH3tXbFKHarlBY5+cLLpUeVwGvq2/0YqgMtD2ZoKvKx\nqz46+ptFNxPFdpJnAfARiHPlwke2+zngaymxbFBzmF9I4Ow4Gq+LGyaKB8lA\nmzDSAhtSQVd7j8mESd6XTrWTJdhQnyBHtyP12YqcgjhrJm3b7K1rarOb4kiO\nGLssCIjTdGV3WgMDGc/5Wpbxsz1Blg1y3uIO6e2uKeJD5l6ePOpEDlgk0QIC\nPKVEhKDUsMCZfvJlutgoLD6TWPxmDMXl7/DnP2wujZIZLaKLXt0zcbVJybVJ\nVUTPsw/eitBJa6cS/HJJRXK/5Ess3oQ7hdIz3ld6D4j7WP2Y9/0Oafkwi9C9\nl/zcrSilS2H6slzRxuzj8VNmjiUHWEj1Nxs2q+jBnii/DrxjYifHlKlji00Z\nglpls6bCu3h0ZbljkssNzDFe52aoAxT/duj/k6vNWS+eYn+4UVnd47dr23Z4\nU4bN1gZXuJwrIUU8A0p4yFED+BlIzEaqnhxcP/R3iDxvOxoYd4I8XW9VOB6C\nqNLU8ULz1EJLn8sZHfbZ5XaKrBiiBBkHq4+DDuwn3iw0vbX1M0Qw2Yj0pp6W\nqo/8\r\n=rUL+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgenjppSTGibu6zWF+gD0axeBxtpCWIHneFPw2LJlYUAiAL0mHwnrtmyAl+lqDNCoEwWOW0J0WRe5RFNQyGoYVToA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.1_1611294105064_0.9251240212855467"},"_hasShrinkwrap":false},"2.0.0-canary.25":{"name":"@flood/element-cli","version":"2.0.0-canary.25","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.25","@flood/element-api":"2.0.0-canary.25","@flood/element-core":"2.0.0-canary.25","@flood/element-flood-runner":"2.0.0-canary.25","@flood/element-scheduler":"2.0.0-canary.25","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d3d714de3eb3d96daa9492d70807e1ec5afc9087","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.25","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-Fk/EvXXgGxI9O5+nxvjnMhvTeSTI5sep4OCn5sT1wJxqklGYQJLkdGRLvgLqqsJXstObIjsZO8zAfIGaBTpd5A==","shasum":"9f1467edcbc82cbbf409b12d3d2ee9aa679ef507","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.25.tgz","fileCount":82,"unpackedSize":585580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgD45zCRA9TVsSAnZWagAAA3QP/2CnvD+oLgg1TZ54MzqL\nkPX1dthCxe9f5ck45dOgMzqukA1ta1SNkd+siCraRhuXYLdP9KrBTDbvInY8\nz1UT8oqgbgFmkHkMw3fhdtS2LbmTYKCZ61gFkGt+eL+Bql2BIwbSGmabsvfu\nQx/dWnJvgFpvA6i4djMvZtmVxhXcW/FOBZhpLHS1h5Yuro2aFATF0v0S0ddk\nPJ9aMPWUTCSZORf94OiyxCA/+mKoqbqkBh9OD/kBKK+uX3YcrjJut4GRCpTn\nj5u9Hr/rj0Z6TiIevbCG7OPDXdbNxe6sid8g6VpJzRMyTGfb0d+NePVF0bNw\nOBNNvmUFMQYkvN47SGbK5PaRCVtm7+e1qb62gw3HIH5tJEUD5FptPoLlVqUo\nNai3f976Q/CPPGyNQmnVPb5XWiQXgxDTTWqF2lJYVEQPiEvW9kuzbYpBLu73\n4WAG+z9a0+xCmPyukk7ZZrjMDI47etOJArO6vaBzxOtrDjoUimfbw6F+LVk9\nVWz79MKCSCWLVu92nEaj8Mw2/Rr3MZCZiiSibxbE+H5ESIiiHv1/15BHZ/Xp\nel8cM1KLh5okIDBP/mtjHzVDKelMIeUKFWfcv2hoRchZeKCUPGkb0k001qD0\ngyZQ1zDZ6bdQ9fJ6fGpetApI2GjMvi3sIbAR999qP9Gta2jFGKREna9h2Oqo\nERKD\r\n=mkHs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUykVDHyqRNsF8AyNgQfXawao0pQtG14ayOxsTK8Wb3AiBCSy0L0s9ILsdmmfVQnKEQWmnR9NQ3R8EAz0hdsfvGyA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.25_1611632243277_0.10120910511043024"},"_hasShrinkwrap":false},"2.0.0-canary.26":{"name":"@flood/element-cli","version":"2.0.0-canary.26","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.26","@flood/element-api":"2.0.0-canary.26","@flood/element-core":"2.0.0-canary.26","@flood/element-flood-runner":"2.0.0-canary.26","@flood/element-scheduler":"2.0.0-canary.26","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"7c0894372999040e248419372fcec3b8a7603f9a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.26","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-iZfAOdcP3txaw51KCXwms6gWvzeM81t2C1No+W2Xrz72kBmao48e2U4thfSc6zA6XmCQ+6c78uzrC4ShrTzY1g==","shasum":"a67fe96cb781b54ef863a4af846bde85ec9817e3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.26.tgz","fileCount":82,"unpackedSize":585759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEPCxCRA9TVsSAnZWagAAlMkQAItRbgBLelnK6Fu5bVrs\nbp0j3HVbSTJlhBRnSuiyNPXtGtjAEZFixk5AjtbO6nKtW7/9/eCl3T5RjUVn\n6gKrSg9P0cPTC5oiPQjDbHJDYMpm07ldQ9O2QQ7WONabV/ObzrWQnwui5zVA\nZ4yacXPNlg7EHFFS07wONxOBXm6hNWUcDjCgHLPNr4pate5lgVjK+JMKZABj\nneFAtsNiLLGZ2s/VeErUa7aRoYMb+KVuCM+giuLaQoJJJlHAdFvBqPokuzIo\nGuJqGNkM7H48GFUJyMj17Vt1FphfaAJTX2+xRT9FfdUKxfG2VfAnm8Vdm4GA\ndA8w9Norp+P1/zQl5DoXh6n+Q9FFS+mjTid3jSEd4Mtu6mNBOUvGi/op4Zzs\n+xbLFP34kVYbFtZPrLXdS8NmJqqBw1GOd7A9rbu3SUXsISKhdbiAOUCCOJzq\n03oDUIXENhEPsF2P3I4RHZQYSdexDhEWeQmqxBxQsaF96nUcMCL8xgEj5tF6\n65uTmZVAmQieFjb2QWmiH1m+d7psHNHaJAasB+d05VxmO5hT/qtl/jOkJG3h\nLTSAxP8E0SN8JGWY8tcYYoJtFK3v2qcSmCbYud+5x2DTDlcYyEdUEmJN6oFR\nnS9/BvFWhLADIPkyj3+1sDTOXNfp9IA1j2wraxWsIZqYAZYmNn1JnIQocwEg\n+lk8\r\n=VTED\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKNSuYXUMjYHMFqQCNhKr2vhQZHT3iNWzdInZOB++kWAiEA9e/GOpWt0PjLNAxfZUQRIby1i3qrhiAdhFQ5of+QD9U="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.26_1611722929156_0.5762618607863363"},"_hasShrinkwrap":false},"2.0.0-canary.27":{"name":"@flood/element-cli","version":"2.0.0-canary.27","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.27","@flood/element-api":"2.0.0-canary.27","@flood/element-core":"2.0.0-canary.27","@flood/element-flood-runner":"2.0.0-canary.27","@flood/element-scheduler":"2.0.0-canary.27","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"53d5bd773260083292bb92e290b470368cf9d8e8","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n\t- [Installation](#installation)\n\t- [Getting started](#getting-started)\n\t\t- [`element run <file>`](#element-run-file)\n\t\t- [`element plan <file> [options]`](#element-plan-file-options)\n\t\t- [`element init [dir] [options]`](#element-init-dir-options)\n\t\t- [`element generate <file>`](#element-generate-file)\n\t\t- [`element generate config [file-name]`](#element-generate-config-file-name)\n\t\t- [`element run`](#element-run)\n\t\t- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\t- [Run an Element script on Flood](#run-an-element-script-on-flood)\n\t\t- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n\t\t- [`element flood project ls`](#element-flood-project-ls)\n\t\t- [`element flood use 'project-name'`](#element-flood-use-project-name)\n\t\t- [`element flood project`](#element-flood-project)\n\t\t- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--chrome <custom-chrome-path>`**\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n- `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n- `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n\n### `element plan <file> [options]`\nOutput the test script plan without executing it.\n**Options**\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n\n### `element generate <file>`\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\nAuthenticate with Flood from Element CLI\n\nVisit https://app.flood.io/account/api to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\nList all Flood projects\n\n### `element flood use 'project-name'`\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\nLaunch a flood from CLI with a test script \n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n\n\n\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.27","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-BGq4QdOE34bnAEq/U3yK/+Zp+5aPu0fDmoqm+fqOVODTvGtPjVtDYkH5HQNOa1P5p/J8nlxYjhkQn5ggca3E0w==","shasum":"b55fe69de005c3f4bec8787721987334080d8d0f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.27.tgz","fileCount":82,"unpackedSize":585938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgESctCRA9TVsSAnZWagAAOecP+gJdgFKNG2UwvhHDia5t\nF2JC/X3vHs//R5CLMS2rCxdF98FFFajBYMJgmNVt3sV8ZYGFGHgK46GVbLQX\nvbUVCQ9zM2r0I0YrpWsHM156X7sLJpDiK2yuxe8dj5W+1HuXlj+KJeW9EDBa\nRX9A10F6W/xc0tMab7Br1W9tIvWCqp9ftQM58GWLicOYIlS4fvOcGnUTYFA1\noUe6quzsSrQsf5+ofsa9GwmopAIK0c0PMKRdYNnKb2CyvDzA6c6609wZft0K\nlSf5ozTGyj/htT4LskzdTPAiZfcBrauIqcctDqD2AKVgXM/C36BIlOenSd5c\njz98SVw8EIdOVEdKvEHHUnKSflkMuIhSgdRzF0e7NycP2d8GNTp0GyQ26sFC\noEwJOL4aZk2MdpEdDh4v6H2wXqmNvZmQDa8R7l/+CVL75Ag91J1jGewbTkfi\ns7kTV4SEga1LC9nQ8Oz9XrrceqzTN17sQULlmJiso2blYquP4Ocz+23Vroz0\n9tw6u2hD+pKm0SzpVDfuESbKWvWgmmhxPwNO8IujqmvKFV4ye7WEyNs5abYC\nwh0hnweLaoarW9I99jRJU4nHX+9Ov985viKexUGZka++tAJh4je9V12NUNt5\nBqwxhWatFaqmoKfzI+4OkvsuqJ/b8l7mhStKkT5MZas1ji0CfFwkBRznBo/d\nxnXX\r\n=7pA9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAC5FiAms/K/wKZQeAeeg0F/Mp5dHnQch8W0mNEIMBHAiBIXDGfJGNHJwrCOWcGGBb4oaLBp41HMoD7eooqKj5W9Q=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.27_1611736877513_0.18001940583017428"},"_hasShrinkwrap":false},"2.0.0-canary.28":{"name":"@flood/element-cli","version":"2.0.0-canary.28","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.28","@flood/element-api":"2.0.0-canary.28","@flood/element-core":"2.0.0-canary.28","@flood/element-flood-runner":"2.0.0-canary.28","@flood/element-scheduler":"2.0.0-canary.28","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f466ef53dd2e112e81183d2223d14ae2fc0c6dc8","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.28","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-Yb9mIYkcPebl0ehMiMY7CM9v7soVTNhTNoaiLMSWGd+dGSo3/iwIOIaKUmbtz4nL9hxnfVJTbjVH+3CuwRJQnQ==","shasum":"6b5f9c4d72fee05934721b1a38386109e075a212","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.28.tgz","fileCount":82,"unpackedSize":590149,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEi6/CRA9TVsSAnZWagAATIYP/04XpEJSzf/HsLl+autm\nA5WBxb+iaG0g9Vdnn5GY886nzicQbe1uqhfENcfoFH6NKOFtwcq3vRmP5uby\nXdAAxjBL5jG5RqDAv6JON46EvORN8qv8cem2yEsdZSyyG0l07AH8wkkuagwG\n7VXbx5zEe7NxiZvRPTXpEH5e3Zo090IjVmOKZtQHMrPIt6BTb7zpivjyH4qD\nOS4j61PhrFk4/bEkSxL5OsLTICmvbCinhNz2esx3ODjbqOxNR5Heww2IzFK7\nvVLUgBTy+BYr9eDRubk+qKC8I2XHbyWSfIMdt2bzQ1eHmwutYVKx3Zn9wIc5\n/aExlZXLenF1A5VFB29QF6iqADui4ISJv8TAsaBnNrCqn0Jm3Df+mdJiNsn6\nhBkUYMbr72SOeC/RCrnaABvWBBZx5aN+zyqyAaGXjm+qbktSZLXyW187ypaH\nMKVE7zgW6Ok3siIT0+03/Ro2cj3I9wIXcxdfgc3AnKbKOyZGtSB/9GnewoDV\nSWZzInxMlqrd9xOFUwaHuNYZg3Ut0lWBQDDfTjq5Z3qEW6zi0m8XpjY6l/1L\npx9qprkPXlhYDwldN5pcovlLyQre4226Sc0msjYQi4+MBJ+lQFqFVROtKN35\nTzuioxfZi81nUTX+31MXPSyTr7volAKSWsYQF+WQoYtb1v4TTSyqUWYwMCAh\nM+bB\r\n=oWyb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlHhAcl36uNJkiPGgVdpZK6eWA/8aWPFep6kAivF/XAAiB9LDopNyGaNZ+AWmnCfdEZ8eOFgvDzPcrzNIjhzOONTA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.28_1611804351336_0.9076786872686893"},"_hasShrinkwrap":false},"2.0.0-canary.29":{"name":"@flood/element-cli","version":"2.0.0-canary.29","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.29","@flood/element-api":"2.0.0-canary.29","@flood/element-core":"2.0.0-canary.29","@flood/element-flood-runner":"2.0.0-canary.29","@flood/element-scheduler":"2.0.0-canary.29","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d8ab3aeac41425c1483857b47951dce1e7310599","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.29","_nodeVersion":"12.20.0","_npmVersion":"lerna/3.20.2/node@v12.20.0+x64 (linux)","dist":{"integrity":"sha512-ykvFHWih7kyhLJOVev6QKkerrBzn8s7uye9+BjMxiT9+aI73OZAknZGzNzjMEnSQn4c0AZmxuuWjphJyZ0TU5w==","shasum":"9595976e8bb612d37ee9de207ec9630ee84c0d64","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.29.tgz","fileCount":82,"unpackedSize":591258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEl7zCRA9TVsSAnZWagAAEf4QAJ1mXa/EK1DxB87rT3mt\ns883MbeM62gFvrzSrlOhx4pt+W52ZPdiWTYOu/5b6jhySoxhoJCzdHVftu3p\no9NbHoBfSKrbPfXsO6OckquG6JtaDAyxS0gA5V1vowQjTwDmS4e3FTaLFdQQ\nIYIp9f8XxpmygVErbRhxLrAEnV6XQW86m7IGwgf2lJq3GvrNX5f8CAECtyL7\n1KjenDHjRuGUcYR6aFWrsctdCB4nlY+7gI5YajT9AozqSkxqp6RjivJeUrzB\nRNy6oC1SuJ/ArpwxlxgVK4EE7OMXSfmnXICUeMoEo9lkRBBi9JDro1LVlepB\nqY9516fKDW7Mve06xPyBjtyQIsvzcXVdXnqEasBOMBW+4mmBuRMCRUBH16Ya\n5vz4MjyU4rvGGPrzokrlB5wAezPQDG6gLOangWpWXyFxBnK6Y4DDZCBkbcsl\nc2H/0skheTILlsQHUoqlClMD4hNH8G0zpVkQU4YDizNii2ceEnvoZi17nPEl\nLf71B8gW06sz01xGKR8ZXOSW//A4OT+nNsJEfRnqrWBe1Nu3J8yA8ZmCNUJL\ncjkSxb31OIxdqzapEIkaX/boQjR6XA0/ZY/VL4vGR2wWdsJen/k6gKOmZASz\nImd/BQhoI2wVwY5tnMT2h46F6y+04ods3YOwsAlkb9UThLvE1y7O/CdpnCki\nkOPU\r\n=N4gx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeEInITcbFuq+q0Zg7xXH1ZJvlmzNh2GNwOvAlKRMO6wIhAJvplGsMoATTBoUfJy07CA4xK2MlVZO4iXCM5VuHCSns"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.29_1611816691509_0.9679824786566174"},"_hasShrinkwrap":false},"2.0.0-canary.30":{"name":"@flood/element-cli","version":"2.0.0-canary.30","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.30","@flood/element-api":"2.0.0-canary.30","@flood/element-core":"2.0.0-canary.30","@flood/element-flood-runner":"2.0.0-canary.30","@flood/element-scheduler":"2.0.0-canary.30","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"624eb68f38db71b7a44fd21d663a888f3c3e6ab8","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.30","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-BADOjUNVsl/E5iLUhY48zpqzwt0CKO4WWkLieH42tHZ3IDWQ6GsN1dOtzvqfdi5/E8gX8+I1LcEUxtbHUqmG7A==","shasum":"a24751fbf7d4fc6805d373c4060e9e85e3758348","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.30.tgz","fileCount":82,"unpackedSize":591543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFVXICRA9TVsSAnZWagAAXlcP/3pnC4L8cMh0jZYNSZSh\nKq9xxz5uNfJZbFwEz2R5j8G/vLOdjt6q338sRJvvCi4qWMocpeOBZKLnXl+F\no1eptd/WTicP+eAjnfDN+0StyAi8wLwt6eGLKqXboExJlfha4Y+2RVnzJsyJ\nNAzfgAif/CYfFhWVEqdMbdYGGptwv9xXsHL/5gKU5i5UyuQuLriqTrcXrPqC\nepQTrqOB22RorNh4aOXBg5WENlEu8rrl8JerYJxqakm0cuaHLmhp01Vhv9Qy\n+LDVWCMLqk8SW6DanhrQ6f608t2hk2NRiFImvmo5fCufXZREkg0jaSUV3cgI\n9UQKKAlN90W903VCYpGsTV7f0rnPKKgkL0eVVX2HbeENklM9CRWwHUl1mMP6\nGjGbLzSTK2PTowCdlyufh5Hba8ef2JibA90hCWgUCpVGFBkdJNVEgCCXI/th\nmGhTfjMaXRq9XyE//YDT82FTCwePcwSQEYg/4QbQiPlHTfbPJACrYYFIZ31c\nli8PfLYaOlT754Ul4xMatybZpzxOrDLiXHZIDk1IjB4gOMQjtGfPTeI/F7nR\n3XUt3k7gKz5j3yXlYIq7a1jlKy4R75+ih1BYegrEwYn5BVIwyfYrYa4O+QBF\nV/gE+szgj+aCZRPMCYYkUtCTqVr/yp5rYIkFspqGFnpE5IdSM+cFgmXH+IRN\ncZCX\r\n=M14l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9sKIATimNrg1qHOQiHUS1akws4+AwcyFe+/fNGTVGjQIhALAgBkFPRaL8zhIN/wPgKTwEq+0Kyj0KZ0uLD2zO5GOT"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.30_1612010952301_0.04677097772951222"},"_hasShrinkwrap":false},"2.0.0-canary.31":{"name":"@flood/element-cli","version":"2.0.0-canary.31","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.31","@flood/element-api":"2.0.0-canary.31","@flood/element-core":"2.0.0-canary.31","@flood/element-flood-runner":"2.0.0-canary.31","@flood/element-scheduler":"2.0.0-canary.31","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1235ab140fe56e317462e8bd3579ccc11379425c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.31","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-goqHU/eXtoUEc7XSKMrh1A/rHS+9KyZGIwZqVXYNqoy+n3U5NZoFpW/Sg9pY9psBVYPIJ5t1fruDgbUN3EcXgA==","shasum":"04edb1d4e2b6fcb064adaab86af86c1b443a163a","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.31.tgz","fileCount":82,"unpackedSize":591722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgF33vCRA9TVsSAnZWagAAcVsQAIHYkKlDH+cYzaBIY4gJ\nNsqY6ZU7ak4Nr7FeX+FEjXMUOws/esoPjg6RVUXgZBFxNlmTcbZoQ+oozUYw\ncZuhmrxeWabcjuhBiD0qqF3xTKz4s4hSsKYjpSo5+iC9nGEKkfZ9RTAN7R4b\nKgSDupgATVOe1CYeWD7hRzjMG8hf6vZLBErklryR8NbJg+yyz1OlFDiZ8Fxh\ndRPu089E+jyS+4aIlhFbAjkrQ3XT6sKigQxJSwYnxx1fgBG2Dq2Ha5whzWkP\nCnJrlES9aJiQJyGqc5wpShcNad6cz03EsK0oP6qXwoSCLRNCLCIIvUTYyab/\nCruH4UAJgfuLqjoc2NkihsEPFduGxm4ZEAG2wCi9XrFtNxdc/5qIUlXivu7S\njwjk/5XqpIMgJykFUeRqPiDe7w7ChiLN35YofFQ9oZZryC70QKNiXaPAV5b8\nTjOOOC0QQLMUMEbGLNo4Lnu/79vN0wSzSr03fYIjLSWyryWDjtejDLJJRX/8\npQMQJiu3XHKaNa3Z0Ch1IzAAMjUARCADy3dUnsP8TKo2QshhDn68ztomtx1t\n/a5XO7lqdJkNXxbzowGeltk7iCHZeX7SThYx65s8d46QtwSZOebzWhw0uoDi\nQuhhJheA4ShRQhy6it+elCXMVWsQvDCa5vkEtpxicPWAiV7gWx+0cR73dOzY\nRyX0\r\n=9IvJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmuuFG5cbsyHTFyXsd4vz8Yc3sTYncDCQeAuJ+rEIPwwIgQ52aakwYaPzLxbITUpT0mtg0dh7foBhz5+JRoEPgSQ4="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.31_1612152303039_0.6312962661186616"},"_hasShrinkwrap":false},"2.0.0-canary.32":{"name":"@flood/element-cli","version":"2.0.0-canary.32","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.32","@flood/element-api":"2.0.0-canary.32","@flood/element-core":"2.0.0-canary.32","@flood/element-flood-runner":"2.0.0-canary.32","@flood/element-scheduler":"2.0.0-canary.32","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"896b19cf0db04103e2eadfc411116c6aec164504","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.32","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-rOtYsXVyrX9hoqR6+9esB73xkxq6S0KEmV0dtfx7suBkXDJO0UBdQFrinpErMpDdjOF31JjtIEOckyOKZShBdw==","shasum":"ae3a2715229ae8a1913aa8e48700851f121eaeff","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.32.tgz","fileCount":82,"unpackedSize":591977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgF6xXCRA9TVsSAnZWagAA5noP/iBz/BDWp9eQvgKPhhf/\nwSBTGytjs/OWt10Q1GKuJsq/yK1mrqrro4PI8kttJLHXDx41bqkIx6c4AyCs\nu57t4ZOLH7OmB9iGsL+6xzLt0I9a5tDGLuwsi0tV6srNbZ73xouKGiwQwSuM\nzz2A1i83kNIF6edzhK5Mg9YBuim9u8V51Tfv2ORr1uyjDx62Ce2gYGpqp1ts\nUI1auLQ0vNNEmYeQUz/O/+VikeitUPsYrPBRx9piIBj+VcqrDj1G02ioXkzk\ncgtMtv93Dwj1c/mpXNcRnKqBJ2ZECvB+H5ZUd+o3zt5YYEdmxcPmxoNVK9nM\nHesoOrdUKURyxFVEoodKTiMwBmxnDJsLSfO7mR0LbidRozI7sVHyaXgX7kq/\nimQAErLB/BSLSML5+zcjS/MhZsew4KIvdQcyM4AvvFmZdm6TlKJ7NVLZdlrl\n2SSEU1EOE0O+ZUrtuxPs/v1lBe3KlQNjqfpy1fndDhSFi60QG+uTT2QNHEyR\nhLzi01mgvX7IGeJbGKthesiOSXcqk8wt0HKbqaP1cu5fqKY6yXuV/j3Ng02g\n2w5j3U88fIoBbxskaSoHrrKESIRIjs3pIW7uL3LwVeY0Kt38iIFyWs/tM9ok\nEi99oPB+k3Fm++fgfHaVZkP8tQxH/YkIF4pwjm9FKTMwmSMSG3nD035jmyvV\nefQ3\r\n=1w0c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHBzowVlB+nosmJCqqdaXKw6b06TA1ySjwcyHagjGexhAiACB8fKtvOjP7WvqVsii4X9nKbJBSs7oyKYZAtkFuQT5Q=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.32_1612164183576_0.47212763430314775"},"_hasShrinkwrap":false},"2.0.0-canary.33":{"name":"@flood/element-cli","version":"2.0.0-canary.33","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.33","@flood/element-api":"2.0.0-canary.33","@flood/element-core":"2.0.0-canary.33","@flood/element-flood-runner":"2.0.0-canary.33","@flood/element-scheduler":"2.0.0-canary.33","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"79aedcf2ebf21b90affed71b49498751139cceac","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.33","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-vklv2kcLskFcGGZ7zU+RXwJCgVg0uH6x+4Mp7anC0wR3K980UmAI5ilfPSsLYqPgvVKRg2EB8T3OoW2hpRRRVg==","shasum":"ccb0f9ab756ef2bf1f0c6baa00527291f41ff90c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.33.tgz","fileCount":82,"unpackedSize":592156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGMq5CRA9TVsSAnZWagAAf0YP+wfVYmaGjuRMrDv6GvYj\nQj79tyOtytRA+rjRhVcQx8IhkbbOEVI+nJLrUsSN3zUj3BX5EGAv/Kjnr5N6\ndeOrJXT0H2fsBdr3k1Un5WBqHb4QwcOLWKpe3MP57AB7SEe9DACxxOA9AQ05\nKH6N92GzZSM7dt68X/wIWkkhNmdk4CKnUoYyeQS3caQefHlDs7ow2RnqTfTY\npcvRd6f53z8FnuPCMLU99RcCcORhWdwA3scPHJI8DrGzleLVLjbSzaYAT+m2\nh88ULXU8ek2Bl8HYd2prUGS2JQxnZePXQVXipSDKBzVrWHawPN01C3ooMaJI\nNheB/z5N7QJjK6szaPICD1oXemtOckfW3nsnbsFatQ9DEm5vjDiFbFI/LIUX\nsvpjsR0dY0UKjdJYkk8YhC2MDlZmqvhUzyt+TFTH2ciChuSw85cdPVDGm8dh\nAhtWrE17pNKVQRbn+iZE9a3Gm/kVLcXW85FcysiEnCPv4yItfi8HZx6NnT4R\nlFIFY2HB/JqnwLc17ZqS39KdX7la3MaHAjXQSPxgCHI6BWozoIKYtewtDCmQ\nocWe+NESho+R1wFdW8eOKWXIMF2LdIb0oSJM2nJhwWyeJNU5jWF4nxoxNjx4\njygl67o/0+CrdyRKGKVKghcnWL9awmnEsogYZx2VtGBMF2V+/3sFBzdgFIeb\nJU15\r\n=SlyP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD20g5TtBLU+lU7dXcGamX45o72NJEvi3xFdAmGe/5BRwIhAPJLusn9fnu8Yu3olXgafsgfYRoWpdiNs0G+t0YHd6cE"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.33_1612237496901_0.31907478975616277"},"_hasShrinkwrap":false},"2.0.0-canary.34":{"name":"@flood/element-cli","version":"2.0.0-canary.34","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.34","@flood/element-api":"2.0.0-canary.34","@flood/element-core":"2.0.0-canary.34","@flood/element-flood-runner":"2.0.0-canary.34","@flood/element-scheduler":"2.0.0-canary.34","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"c3f326b7f59f9aea3e2ab69768edef91d536c7a7","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.34","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-VZmsmFQjZ/Vvgjj2zg6pfebZNQIMne/TjpSUrBLmmU6EL267IC/IsifG2cM3wrcH0ivIoJ9RbrF44Ia02xco2w==","shasum":"b23ee63f39cd5968c7fdd6e2d7cfc3b614618993","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.34.tgz","fileCount":82,"unpackedSize":592335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGilxCRA9TVsSAnZWagAAo6kP/A1WRpAdHCmQf/RLbKhd\npz2gxPxSsqpw5DwwSQsmv8JDweC1SFwCnI+izQu00opgT6XVX2KY0A5P5e+t\nHZrpYnaHnFZtahB14R81UrBn7kStPotKVt4bnp3TUPOFbWovdTDzkgiysW/3\nSgM9GAM/MwJnfRpySZrW62giUz5e1q40zij2FdRlRjOFcPtWsaV18R2XqpAv\ne9EgyYd2++3aGz/fQuMVODTP2N/SEHbrX2HnPcvFHypwtR4FTyuYlWl64ToK\n/c4AeC/VFr7Y7pkZilV9bptuacyRwYwWweHAuw4aPN5t7bgzT7klRJSNJgrs\nNHniWxq5aa4fzNHmjwYeFRzUjcfrdOkqGZUPET/l9GRoTbMQ873GVDCTUlMy\nHOZRQI/RVD7/8cDfR3pgNQTRWI+20ZhyJc85lGj23GcNHj4W/HLLzPIpXupZ\nYm2tWjtlX2vyelj/s1wzvFq2gaQfC7IC6H0FRuPTR4E256tf0AH2xKEufu9R\nNwbUkPuPZcx3N5XW01i6hZ1XEYEurENQdpN2DNLK9RZhtypHkLrNaBfGfAw5\n0RiFThJqNlJwl10poAeQeTpmjrQEMBlAo/8IFS0bSgjcf/6RaPIHv5cfLGQ6\nAjOQM0nCwRRM/qn82c5Qepu/ldrsxZvsPU3nAkL3THPVhQrnaaCk3AyTqnZ5\ngr6P\r\n=3Upq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRcgwzu9EiPCxfYYX4Jh2oGvzBZ7ONgfXYgDb4tZqZZgIgVqG5/qGEZ7ki8UQuOoUKmH5hxOGJ6H8oJC3jW1Bveg8="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.34_1612327281527_0.16049695349705706"},"_hasShrinkwrap":false},"2.0.0-canary.35":{"name":"@flood/element-cli","version":"2.0.0-canary.35","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.35","@flood/element-api":"2.0.0-canary.35","@flood/element-core":"2.0.0-canary.35","@flood/element-flood-runner":"2.0.0-canary.35","@flood/element-scheduler":"2.0.0-canary.35","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"d1bbb08d9cc0991e3b9e1c14d227d3ff844b2bc9","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.35","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-XXrnNXGmwotcVKBZs3RtkENrFsUBISRgPkPdcZFZP0aUCIF5iFOCN7Z6V3pGtfX10AamqwA6aPAP4iL8giSCYw==","shasum":"98752b933a954d39a76365365761e3f0b616066c","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.35.tgz","fileCount":82,"unpackedSize":592516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGkzjCRA9TVsSAnZWagAAhpMP/09GwXEVvKM96fDlDpIQ\naHmnnio69AQ7upCkKcrz4UBM0sUNtLAnzyLR0nNwPezRALo8CJoSmiMfqaNH\n2AP//b+a6EYvAuBNPd4AZmKoRMaR0fMZcAR/3aihJ9yMRZSFV3Q7eU+sNZAO\n+2Zh3r1Ve5pOkmZAuE38Mb2BEG0ilgH9/lrKoEvnhoxhg87DfC9FGgzotfyA\nC6am1aHEurAFw283MWN6OJJ+2lrNx1v2RNVLFgx2wYmSUbRmiIv23fwanKjM\nlQLrBuGLJltoekU/3k6MO2+7kCswWCFEou+hXach9qA69vuDCS+WB2sNmq+W\nCyiLhHzXOLMXbL2GK2ueyakI72WgvkjCA68AkZNNuUSvaiMDMyXFHx5iMnmx\n3bvH7CRhwYZZe0QsdcTAZfgSy/Kz3pPao+itx2BJBdfHYg4i+gQgl7lvjZTt\nWg9SuWbP3ZQkyYgIjmXtoLNbqdh263Eoqj/oDpM22DsaUE58e6y7xPQqdpFC\n3q5ch61Rss/YR38bEJxD3oQf2cYnqFq2n/xZNegouNpgatNYaDS9onOCf9Mt\nLjcxYuICqxnJ4AHt7pKK61qatmnv5DGt1RGty3eNJHUTHXmR7TXtXbpL1ofp\nA1OZPHd+GkBhxUT6+WgGR94nRw91my/yghetOeQAc24cfGDEPJIq5SKUAUgU\ngKb4\r\n=IR/u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDMRhvr8y9OIa7eV9UmZipl993ffnz07UqvL8MUusTMAiEAgAIYd8wWwjzF03huwu717B3RtbkalhEZZoGZqr7C1LI="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.35_1612336355433_0.5633038515754731"},"_hasShrinkwrap":false},"2.0.0-canary.36":{"name":"@flood/element-cli","version":"2.0.0-canary.36","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.36","@flood/element-api":"2.0.0-canary.36","@flood/element-core":"2.0.0-canary.36","@flood/element-flood-runner":"2.0.0-canary.36","@flood/element-scheduler":"2.0.0-canary.36","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1b9f4b027a55edab79ddd8bcb76d7a855be1d143","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.36","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-xnhm7VHVwDINWBosDleT8l8t03YwezK/Q0BhUrznK05dIbVD8B4ptvB11Ru6pHhor9eSxZfFvX/Sfi5NcFaf+g==","shasum":"6dabf3eb7fbb3798511317bbb43de8c10ec95233","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.36.tgz","fileCount":82,"unpackedSize":592789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHU63CRA9TVsSAnZWagAAUCMP/32lijubo7JjaBTwaKTU\n1fqJLjyvQoeO6rT/qGvTLHn01CqlgqlFuiM8prBOYS7m32+foySlhZ5YZTIL\nhHe2LvpylHn0SgchIflb0poZPKZtpVrcTrkBAUvoBYn3mP3mLFdaW6oCAypx\nhEdV4q46Ijhxw1ok8EQWtAMfey7i1JW0ZZbF0m8EWL+BgGMlGHKAdwIYPbUe\n1uO67e3vk8iZFTtRwyFuvQzpWjIEPFjoZ7bw6zadJf1j6VHdQWRCNcWyFRBJ\nN0zXnWAkUiTJ9QcRrp/gZBBVxkYJSVYc4eyRlUjAKDK5CwVRR5uexW9VYlA2\nDUl2x+U+cM41iQPySUkys9Smai8XJcmxMnMJvyPPSLdTWnBv9MudIez2h2zl\nyQwj6CEx5lIMXZ52zZJMXI1R3TQ/RPzRoiggA51O5pO5P6y5xIi0H8hIBb7t\nC8NSAJwDliQgY75yPD61wuqhSjbC2VchU907TUttJbh7bkH5TbXYQwcJBPfm\niGCUZKhddoy4FIidKPUQ+DfUyQfgqE9aSBzD0MtPImyjhQhAccv2eglVTPeV\nEH+ZyHeC5KdOxsHclaVfZ8wtQ0GsATBBFg2DNxfyye10rWixqSvjgEIqB1eU\n+yiggsA4w0oq4azaYW6M19N58oqYxFtEjpg1vUywgapNAowOa4MT86bJkarR\nLevD\r\n=Vb/I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqU05Q83TN4D0V+e82+/3PqF20UIln5VWkABWq6711eAiEAqQTMwsJhNjNztUOhcFTuQkwcpyrK7tcuc/IFxEL1fpQ="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.36_1612533431271_0.6622271656724843"},"_hasShrinkwrap":false},"2.0.0-canary.37":{"name":"@flood/element-cli","version":"2.0.0-canary.37","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.37","@flood/element-api":"2.0.0-canary.37","@flood/element-core":"2.0.0-canary.37","@flood/element-flood-runner":"2.0.0-canary.37","@flood/element-scheduler":"2.0.0-canary.37","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"2ce3eed1f6b5fa1adc3c35b14d72904b7a111235","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.37","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-O3pGSfp5cW69r8FtfE/m9EQVpBaugCsCQ3J3HG0DcBfbSCbh4ocxsiJmIwf0+mYn4m1M4QY3H2e1nMTpHGNbaw==","shasum":"dc47c447310d351b2502949faa62f2852a602389","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.37.tgz","fileCount":83,"unpackedSize":593851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIMihCRA9TVsSAnZWagAAe+QQAIAOOl1S/v2jWwVKRojB\nWocNPZ06LbCDi3Tp3npJgN86t7XPcyv2QN6bH6J52jggNYrH4XGj9bdQHSth\nu+YkxENDD2b5p9j2+dyaOYlP0YKadU3p+9vzfsi7jSGqAgOTVok4xE9+2SU5\nigmwzTnROO/JIgcVQ3j8rAeKUgE6YfORBAgy7sIqPwcS+PHLq+2MOigtN2hl\nnilJfX48dBQPvR9OV8nxgQ1mTgu2mmIKEbNW+IzvVCHj4AvF0X+Hcyo2QyLe\njxtYJ92oHeI4hIh3jjHTS/BKAkLvyMoFDWrA2ufUgTksDVxS6j4E1b671ghe\nS/toySBhyOmTXsL4M5Z04lSQ6FjHmWvgr9paJR7XKkoESgvS5hVMPEk+jN+a\nkc77PCtRb/MvZsaPYOkDIsI1zWFUdC1dpg4VWTrYCcpB6wc/f4A3bXAHcgPp\neaEdTUCOyAaA/Kk46q0L6CXvkJkJDNWk/yhIhQ2wwqq1sSmGxtIUuSB8f7GQ\nXnBdLVZXdylOi7/l9zyewSVx5XsWQl+8me5KVoFvGf252ldVsVcKwPCo1wod\nnvVFEwJyYMDuBLePyPLf9QrIiztySk4ue1O1b6FvqF3RWFpAtEpdiJsyh1za\nuRlH4lSjsI+2JfN6ULEyKvKxPk5cwm4zoEMkRLgr0cB4jEpjPaOghttvgWoa\nGv9r\r\n=TfwH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIETFfwuNdnXwzQ/MtPoSMPofxeAq70GyrRCkIBoGrZbwAiAU8O0l/DpnXIJGqcZ2OPIRm1yex6qOZkKitNrlW/37mw=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.37_1612761248857_0.4910901632247868"},"_hasShrinkwrap":false},"2.0.0-canary.38":{"name":"@flood/element-cli","version":"2.0.0-canary.38","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.38","@flood/element-api":"2.0.0-canary.38","@flood/element-core":"2.0.0-canary.38","@flood/element-flood-runner":"2.0.0-canary.38","@flood/element-scheduler":"2.0.0-canary.38","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ed92dd30ce4e9481e94a9076fc38e5bc110128be","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.38","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-zOBVOXWHdYpSDsTkF6HYWCtyRbvWQuagdUUBTxKOzoCYLpy7uWtKLX3s/QKA3lLlDbmH1qr0RYDJFw1xnDhJmQ==","shasum":"a031d224b66204a03ba660001f6acdc85aae28e0","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.38.tgz","fileCount":83,"unpackedSize":594030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLM1TCRA9TVsSAnZWagAAlWkP/3zoqYKW/qd74oP3JmxY\nt+GlIHjgjAZK9pWTAZRaurxbOcZZNGhnWnQHW2IqCp/aW2uZLOKbH9sFyhA/\nJI8cC5/fpQol8Tauz+gXOxvxYacB9mhSPWKV+UB5rl2GAoeCcX5cfqolJhaX\nu5UH9e/82fEeFjYGabY5nuJN65ZlkO6HLY5txvQ78M8k/+SU6ZagzTimtOvi\nmQhc3jc+sn9p17PCJ0+jS+WJPy5/3fKpvmiNNQhgV/9FEOgGc/KqRWUfran3\n9AHjVfjVyG3orjZUhOZ8mZ0xWCctXD/HcfY7RSxOYYeX90cvDGeGJdWzT4bK\n92pn3pNWkRRYTVIP75qyJQUu+/tnooSXqSQrqIon92m9AsX4qt12ul9LG3Bq\n4wT7qCslJMp7Qi9l1nM76ODOLv0Y3tcrjq2WSKgEKCX+HDuVd3RcQSOPXS9E\n/OAv565EZ0hxIu3ccdZ+iScK3z9PN4fuq3sDxbWMKjrleAWyyMq2bafVfW7U\nHMesoy7UKcJugCyp0/Uq9KBibvm6yCheEQ0L8qqUDpbR5yUzIQs9mFTac/n6\nC0ccwyIfhDTLC+SNfV3NCXfwHqrNHCiI2awwx/0Dkg836AW+lNkjj4jSbs5d\n2G1yXB7GPAL5+buwf+ZPVFBsRs8oz9gY3NbXmhHmuBsS7J72l3A60WK4aWVk\n5Ipe\r\n=GWbH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsE/xdF3L+uuPqLVTFNMeIUzWT1t5neamDf+6ZZNXvFQIgdsdyPyoNwd8rWhnNerYwwIIaBA28Itbw6GuEMcblmuA="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.38_1613548883102_0.5617720740050753"},"_hasShrinkwrap":false},"2.0.0-canary.39":{"name":"@flood/element-cli","version":"2.0.0-canary.39","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.39","@flood/element-api":"2.0.0-canary.39","@flood/element-core":"2.0.0-canary.39","@flood/element-flood-runner":"2.0.0-canary.39","@flood/element-scheduler":"2.0.0-canary.39","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"c7f47c99216dd3ed0146512e1e6dd2e5fe766ef9","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.39","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-+6DttMs37nqP+EJo+u2FpCz+NKG/Sfsayhh7dN3Wxzc2uK8zUp0hXwPi0QOYz8BOD7cft+xLmAbjSKZb954Y6A==","shasum":"7ea3a648b794fbfd503e1ce00988828c4e16560b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.39.tgz","fileCount":83,"unpackedSize":594292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLyoKCRA9TVsSAnZWagAAKDUP+wZ3lNKmAU73oNJH3HsM\nMC5tMR22NLrh1rKVt9/0UbERYIe5u7MpGTpo3t7sAZXIrC7I4TgMNgJUAb5v\nP9nbXLy4cKni6LPOm3HRMz5uWjJqhbLyVQ6KsuSACKXsg/0rVbhoUMFdUHaK\nkggFYOmwDmXmCTa7DSKs2pcXGYeJSxTHfRxRnwqWqIwXeuoPmziPkkREnL/T\nfMdN7GcNOSf3mgHELsLdckCTAxb+VQ1Q+rVVUt6xLhfgwjbJ/9WBquj7xH1C\n3VeHJQ6H/njfkQR5671F337J33odHgYMSAr5Tds6kvURb7Pe/ytwbqnxgMU6\n+yvni0DMVZG+HiBkdLdvRUeDx2hBrhQIscrC928Vsv4hs1VOqVsj3nEoxnuw\nfE2Wt1kBcoGVZFthlte4pjXPZuaGqcsINL2ukwSz4bj56kUnstOh8xTPuYdu\nK0lmqBm8S1zewxtfdIpo2Ka+Z0t1XvbP2B5PbqQk6NhWSs43zO9coWmxmr+D\nt7BmIyh1YXzZTC8Ai0gOz7oZMcg7s4FkpGCL14PjqAJRd5UDEC7zb3RgOk8Q\nIs68pbefvs90Gc/YpW7+nHFzMX2kXwn3lzTm1/HXt8i6CZCVbgLdXk4cSoV6\nJWCPnBYL4vz1CHqtJAdlvnmt6KB2pTKSXLUdhPJC7pOoBcgB0whOV3KHe1ED\nV+zJ\r\n=ot2V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX49ucNuHpe093YM7qO9heIbwf0eTEVtfphOc4Osg9cAIgIrIiqWqoFSOFZNXtywTNVVGevjvyGAqdluE/Kzyk/oA="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.39_1613703689938_0.3543402054140674"},"_hasShrinkwrap":false},"2.0.0-canary.40":{"name":"@flood/element-cli","version":"2.0.0-canary.40","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.40","@flood/element-api":"2.0.0-canary.40","@flood/element-core":"2.0.0-canary.40","@flood/element-flood-runner":"2.0.0-canary.40","@flood/element-scheduler":"2.0.0-canary.40","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"5e290fe4430e9c02ae439c592362bf785121a3bb","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.40","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-29OTxUmwcul2PIVC0stk1085n8zRmUa5SFWVsAjKJC2w/t3tL7Sz3KVs41UiUZlUyGfEs6UsPxJdPbJNxPuTjg==","shasum":"90948ff0bbe822bcf7ab40cccd62154652f5ac19","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.40.tgz","fileCount":83,"unpackedSize":594471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL0LLCRA9TVsSAnZWagAA5dgP/2ocGYGlJ6/+n/4ivkes\nJ3plLoTanaUKTcKV8LP7MxOyzL+8uGGheG6BdkBxtEVCXIxlwBJxnkT0tzFP\nrCzQx4jRFqvapf+gvo/Ax1czfKKc8gYI2pQosw/863Q6EarGKucR7tu/TNRV\nO2K9JOgDJ9yzwQVakgTv6bVywZZrOfZfpSBU6HHR1N5jPl4iCSL4WWZk4wwW\nnY75Nr72G79Cez2kdrD9ploowU6Ku6mbrL47OCaCHn9zsSMIfXRIj2HySzrh\ndZLWGIntXlxfYopX/76jHVQaeAsDehCn+xWOwwRXdppDyArW0oB74q8aeRrc\n3SuUdQTEpjAUuPckO8nFi93Loarhxigcm9cgW8rNhpHllfg6BsGyiidKxdN+\n1TzZVkcd4QYEdz25kXJl/ddv5xzEgDTkqEeB7IS5hr0zrXEb+tPwHyeBMSvy\nMCkFG2/phdWkq0p3RIslgK6PE/7oBBiMTR+SI0q8MyvlgXscRgLolwInEve2\nKiu46cvhTuOVYztewTH7W7bMEQOY9PutBoNu6c+yo0HKshM778yegCr9niEw\ngB0ZZJ5qxdPoMi8NYdeW4I7CQG2okRAP0aGBaLDfPorJYGiehXJTQuQO40Tj\nPO3co4j5UGhm28zbwGghwB2OcR9ilWYDwCd0jUGQFY7hS+pIDT+o1oGsOaao\njxzR\r\n=9Quw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3uvErYhhznWbCm6cSD2vmQH4T2Sg0cBrxQe+Pq5JgqAIhAPg/ktQauYZ4DM/dImtGpY5Siy4v8jPu39S0nIy1EvBP"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.40_1613710026632_0.25599773838983686"},"_hasShrinkwrap":false},"2.0.0-canary.41":{"name":"@flood/element-cli","version":"2.0.0-canary.41","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.41","@flood/element-api":"2.0.0-canary.41","@flood/element-core":"2.0.0-canary.41","@flood/element-flood-runner":"2.0.0-canary.41","@flood/element-scheduler":"2.0.0-canary.41","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1184942e3d1ca27c7126ef2733284ba5ed632d4a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.41","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-Xwi0W2RdBd41+jHTLUfQiDAS1AcY16LZT31wn9QOaPniwiDWNHYOVP+SE/yMl2Q0Ie9YrxNNzRhpIF7oVD8Blw==","shasum":"3f635ca44c6a5e1c35214aec04b19165e4add429","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.41.tgz","fileCount":83,"unpackedSize":594091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgL2O7CRA9TVsSAnZWagAAGPsP/2LCnPKiXiPnyhA765YL\n4nXrP092Kc74k+6DwI7hPrWU0Or74IDTqC8moxeXTkDpYJlUE2dPm3aCvYX7\n47vRgemMbolm/yH/CIJylBoZzw+LEHFD0SZEYkgMMLWEWR5jRQO1HmtRldeK\nQmGYayeVtL40HXIV1MMWTjV0qGtRP0RNHT0swKszlycctzhzvNvG9MlfY3kn\n1aaUi4QNgFXrOcqQFPI0qyHl68Tv72fa1wxakAxA46nlegItxKsWYFQ8FdU6\nOtWmlbEwTOKCw1yUtOo8epO4WB2CCPHUN7YtuXLcI6tXhc95GO8Q+XkJuSAg\nDeOxYgnhtMC0KWfrthCFko4+WDyV88nki7jJ2eky3gDaeof/YiWvshxCA2nI\nRgRw9UpswdDutltekSa50YlmFTlF2z2NpKRBIAynUf6jlV8Y0vxbs/ryrh3O\nTSD9fEz841sVRwEk+YGTK5OkAwAMcITrU4X/bAT6txK/P4abTlDVF+mMgDtx\nT4xmtXjPJL5TEisSmFQwJfjAc0HXYHTd8RF5FPTx3WJMN7Fvuaf3dRxG06w+\nuFHBwU+hmY9Sc64JS0B8zaK6FV1hWSKlcjQIKsi3lox2zC5fdkShWvkVkxNe\n0RZr7BHfCJY2ARFWarRd8zLsa5sQnRaU46MWL+ujO0KkqWZcmHSw++r1swOE\nGRov\r\n=86O/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGLEtEqzvzFttS+qEEpWNAuz1jAJZUE3LlW8KWOwQtVKAiBBvYaKS6O2p3ushiW1hBVpw5NuktiIKZ13iJQI/Ca/wA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.41_1613718458944_0.5977617513473292"},"_hasShrinkwrap":false},"2.0.0-canary.42":{"name":"@flood/element-cli","version":"2.0.0-canary.42","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.42","@flood/element-api":"2.0.0-canary.42","@flood/element-core":"2.0.0-canary.42","@flood/element-flood-runner":"2.0.0-canary.42","@flood/element-scheduler":"2.0.0-canary.42","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"b3b747f9dde1296b5615d2b008b9d205673fc098","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.42","_nodeVersion":"12.20.1","_npmVersion":"lerna/3.20.2/node@v12.20.1+x64 (linux)","dist":{"integrity":"sha512-DrWlvZfo4KJm0FL+RuYAkI0kAg4DStvrf/rgz+OrFmdCwV5IsrZpwhAYMZbJxYkKoTSz0hXJK7PO6iMPJeFccA==","shasum":"cdf8e8a0bc30ca45832528d92d3cc3878882cad8","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.42.tgz","fileCount":83,"unpackedSize":594270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNKNvCRA9TVsSAnZWagAAu0YP/0PRg6estaXE3MYyAgpb\nKnrS1N9q0xbG9C85DDbD27TsFrxsm9lHZIu0aX5LUlZhMYTSZ5bCvPTpahm7\nMA1mHRUsBb3YyKHI/hKA4qA8uZ9P0XXKmo1vpwLBjerDK68/0NdHM6/6RY7C\n10AsXFX5lPcmQnjxjLA0ElaI26E9eGrI2984YUBlq63ipiX+qVZjy1h+bf/q\niZzKUu30jEVeHA1PTCbPotfn/sAU5PpUyaiF6hAodOFEFiuXPYfcUVdzR7tJ\n/xq4ZXbSU1MykWv52+au4QvztILD+o9Odq8KpiLV08TO8wp1WeEWBX/8MFDI\nIK61Ro5Dic8MEz8e0pLx8Ob5A9Z5kpDkmKh1xwquvY56O7E/MBg7FYgbgjiL\nPilKTIrI1f9DJXPCkAL6KtaYY5/cD0q5Vq3TEZ+UQTPuzKbcRuPrH8HN5hxf\nPIpL8Fxr7Oi5B1/zSNECsvmjYzt/r6x83EZLPl4aNe8C9vqju3hYzA37cDM3\nrVdOrpKTnT/khRQTZ3ftx7TFUY9bXQMxrol04i9Y9u9k5gB5Lj5HwCnOySQ6\nWmMhNo60Sr0wMDNI5ZIdmvB0PQETeuAW16dXEoCHkmU/dF8GXaH3EregAXSD\niW5jcWtUqmKpViPFDaafy0SQ+gsTNx6XcB2P1+vjo4aaqDIj7x4RprBgwXD+\n86tT\r\n=Zgk9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCElnUaEmnbW37LbS5I2dPxezC6Mu4vofoPM8BYHRMYMAIhAKdSpQs7bQBt4ci7s3akuVHJZ3bT9UUZpWr9gHeQZlmi"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.42_1614062447144_0.1562254922392714"},"_hasShrinkwrap":false},"2.0.0-canary.43":{"name":"@flood/element-cli","version":"2.0.0-canary.43","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.43","@flood/element-api":"2.0.0-canary.43","@flood/element-core":"2.0.0-canary.43","@flood/element-flood-runner":"2.0.0-canary.43","@flood/element-scheduler":"2.0.0-canary.43","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"bff6bd463fe7dc34fcafadf28bbf034dbd481f05","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.43","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-A13Wd7396tbyCVnlIfmvakP3yN34p+kw+zwMVnvPEk+41YszFKa1VEerAfGMXVdvTxcPrCm4lFu3Bfc/UNUscw==","shasum":"f6555a7ece8017fc2803adbadcb80663e29456d3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.43.tgz","fileCount":83,"unpackedSize":594449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPKucCRA9TVsSAnZWagAAT3EP/A2Sbru03gIcMQ1Upruk\nYcEhn7ztpd+hqFMg56oAfXDQQiwm60Y/Y1qqov59sn0Disy4kQJr3ZcdAHV5\nsTl1KaY8YFI4TZUnIVXSfYkKLNHbgYpRUY0uaGLnjJdSwtWsZ+Wlc+0la1gN\nKUyg/69Vw5kS7tXTYGOr+CEYLZR9BFfUuuNq8gbOU+HmacaRUX9rqKGsqksA\nEfJ/3fTTfQeSXRHUXxrmhD6sF+/KOmy0kA9m7i7xJSGzNqAw+cLa+J5ezMUK\ni5qSIWU1KVFZ0sXfKT3p9Hr5OHjXIjVoSydRHETVvE4bFTDBM51TYvilhflX\nP8lgLp0Z89UejAYLzwgUXwHnEvu9sBRgTWlmDu+cbqovlRExzCqpzSAE7xNn\nWCDzR2Sl/5wO97QXOVm91iqWrtJ+GxbRJ5M1zy/IhFpeXPpUTfnUCknFncxy\nqlkz4wxTkqg5h5S11/UnRttB3CDJBLLPIvKFxskjqiPVqLiu8SvtYlsmBANP\nurmlCKMdgqgAlCnA8NFEald7WAjM++fvh4poeAU+7VvwLa89zDW9QgiZgdGl\nffWoU1Sl9iIfIS+KGWyz+jbNIvdKs9FfRSMHFi7U0BHQL7ble6S4Ok6v7urV\nzMhmIEfiOsmX7V5BWdJszZzhizCzGF6WWQBk53KvK3efd/TDcKPAdjgBWaao\nIqvh\r\n=YXWs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCmqwF5+SVpWTQCYotgsB4eCX8Se8lsErfjLwelNiidwIgTl+x0ckH1MYrV9qTltx97GIByJpXb7cC0w4F36SVIMw="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.43_1614588827564_0.008629513932727706"},"_hasShrinkwrap":false},"2.0.0-canary.44":{"name":"@flood/element-cli","version":"2.0.0-canary.44","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.44","@flood/element-api":"2.0.0-canary.44","@flood/element-core":"2.0.0-canary.44","@flood/element-flood-runner":"2.0.0-canary.44","@flood/element-scheduler":"2.0.0-canary.44","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"11933c517b97c4c0a576bb43c04c3fae29caa6f3","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.44","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-ar/6Z3QQbBixyC7504vauTKmvLNRqEoc5I7hN+yxi03/gIAShJiOXjrj6Klzh73sCojGl1ssDgZvQ13f3HWHvQ==","shasum":"bba7f7bf43b9e264d9a70c12582ea51fb8f33d8b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.44.tgz","fileCount":83,"unpackedSize":594628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPutsCRA9TVsSAnZWagAAGLYP/3aQeeRQ3lcn5BYCfg/m\n38nsr0IDUi5dkcw9zvXdp0BSsX3IADM4BMgz2kpprClSV9UkQjOvJTFIwkYt\nsi88Il+qCI/TuFuyng4eBX0yIvJU4BnGpcy3pbC77wbyKgcSwSHLV0WapRKE\ntcjX5cSuCkK9CyzdlQ2EGQVQoLAlBqW4w8GvEkkymI7Swip5+OawTLupKLeX\noHbcZ5DGJId+NXfjZtD5dKlpc2Ah0RfhDPpycrlWdKoUQ54y8B8Ouwg2hFVC\ngBMooDM4MO99kghg9qC7EmeDYBsw2wl++hVY0LrxbH976q07rp1XYLpRsmgs\nQ8NUKC8hbdIHO53/tDQ6/3qfbwI1yyemWiqVBN7737zm7/yBLVSA8zB8Eqy1\nPmBEvHKtTTZpWnKgs4GlAiHcn2Apsxgr3JZcH7dZEQnC/Yz5CHuRTwofe09c\nRloSXbZlTiwKPMq5T95LI7HryeJXMOQKE2sPuGKHz/bA7GEiwXXcMffb3KoL\nDu85D3t5HwxclI+jtnSkKkOrarexwUSwlQSHsEUfkrWWZwqedxQEGr382RJG\nXsSUQMI0s411Tt1+JLxuuL86IMjX9rYDBmyJDaNAi5jAiAFistdABRp3Rq5x\nX/IPrDwWIphdL96cndKZtkVNOmJA4mNy7lPSOqosEoa8PJIt1wQ3aQlh6LiN\nF84i\r\n=uXkL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF0HYWNwAxeuPGuYYU+Rp8IgeEEp2jPXeAoRrZGfbFv8AiBGnP2cMe4aBP5b+me9KV08N2Uq72EYRL3tX1yLtmaoqg=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.44_1614736235651_0.37575577098127644"},"_hasShrinkwrap":false},"2.0.0-canary.45":{"name":"@flood/element-cli","version":"2.0.0-canary.45","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.45","@flood/element-api":"2.0.0-canary.45","@flood/element-core":"2.0.0-canary.45","@flood/element-flood-runner":"2.0.0-canary.45","@flood/element-scheduler":"2.0.0-canary.45","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"06b06555da78ff6ed1edc23d113f34218687d0df","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.45","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-FYKqiHU6ZsHQr64BhaR/YIKmq1OTN7o5Hzd7b5GsEByt/QVftIvPbgKTxGiyjl6WEJA33A9HwVlk/ycsHc9gGw==","shasum":"7ad8aebd1d737ec2f28e535d092bc40bc3a55d73","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.45.tgz","fileCount":83,"unpackedSize":594807,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPxaiCRA9TVsSAnZWagAAUQoP/0CRepOifh6vyapTHSkc\nd3puLoaNJ8CB9ZhseuSos37Pcy763YIjMucrk46CRUg4ZwTX0e6ghppLqraB\nA8x25ZD50JG3YQVHC8RbZXbkx0nzsk+M/Bt6kQQDg4To0Qufw3XmSKt7QrgS\nYB4gVc6CxrDFeQQrMQ8JQkixuBlbStvz0WXFH0Dk2TFbKtf2/4PSCH8eLi/T\nnXH5UtZ+ouJ/NVx8Weiw48ymh655zWErMj0vhJWeH7xQNzN0adKa96gIDwdI\nwjyIxxUWD/34evp8HYhiWw10uydaQQ2UTwLidiViBq1u1j44J+31QncIs8bd\n7Dbty6FYAJJ9nYBVNwrGKH8hwlrxQfYVCLVVvyhyAYhJqJEqSaT8+wUlvWg+\np3Mda+Z86dEyn716N19/+qKr92lo+zbh+KiM+P8Y8OZ3BTsZbBH7GVYg967Q\nhSFrc2Ho94Np92UtRbGtLwTYJ5Kg4Wj+9WgKHxoL6GujlD1UB7sUwx6tSSgX\ntM/9GCrq06UjFeVVSlUk3cn9aupbxuOWa29qIW6Repsl1+ZYdoq5ueF6UcDg\nkfKEh/VwLcVOAolgL9Ta/Y8nioWLYky+C/emwTybAbVnLdyvouOH34nvYbmq\nP7Cwz5aTiNq96LClri449FsXQ02QhAf25WZLaGMvws5F3+RPBPABTtPecGlG\nZJZ2\r\n=dIbT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4fWItaDJvDmoaX8yNGBtlj8uKphFYWUDolKF5itC4eQIgJY6pQfPpxt4FucqeQsyZvFH4ph2jww8Tcs2LgDg8cYQ="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.45_1614747297496_0.3208364221760138"},"_hasShrinkwrap":false},"2.0.0-canary.46":{"name":"@flood/element-cli","version":"2.0.0-canary.46","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.46","@flood/element-api":"2.0.0-canary.46","@flood/element-core":"2.0.0-canary.46","@flood/element-flood-runner":"2.0.0-canary.46","@flood/element-scheduler":"2.0.0-canary.46","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"06706e1d3168ad1495170cbad572ea9cdf65e832","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.46","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-o+fiHWeGYmjcYML3vUOXyB21qqs6fIhB2BF+a1DYqt6wt+8T4fKdzpW4SJE9NBlcpMk3JBt1EXu00ZRrGr+Jmg==","shasum":"7f102552255016512f6daf89319ae1483a145b84","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.46.tgz","fileCount":83,"unpackedSize":594986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPzDUCRA9TVsSAnZWagAAaMkP/RBmzYrphyKUWF9tdrVs\nbS3rKd8LyOrL8OCGaPzdj/htzz6NpRhKMgRH69zKiUimqxJNjgJUEeKSZXYp\nDvP2PqAyYDZvqzL5DDExRPREpx8riFK8tfEP7bwKWsU+IIdDjIdWDYcRyRdD\nMLh8UciVMGFLvSBocziytlntpPoI5Vt0bEz5B4/kp2wl30FNEhIw6L81t+d1\nHFu9Nijcmw5fuVz6LccF8fjuEIBBti/Zx/VxCB8hkkHi2KdOacARRJItDzrE\nlhrTRkKY7NvbrUjCD5q3wK49ayD+A08/p8Q4v2HsTBwH9QWYXX6HuVAq8Od2\nW/huzAuB4iFD4RDQfHwiTw0jcy++HJksYcH5W87m/OKdmQ9cLqh9WtuNl9vm\n1e3Ob3xGxDfbG06oZ42dBiGU0k/+tUBKLw0qZgi9UXsTk5LCSd5CYmKpoaeD\n/EULxbvndSTRdYpvA9/x9Pup7J8n4HBJc/4Ywf1YDd0PCxn7+RSpurGuRKrr\n4gUSfzKvzx/nRtkrbCmiV7dhxmQoIg6gftHSAKBmVP8nEP9kWmwwzIGXbz9q\nIB/YJbqEtkvFe2HnRKL/4WuPZTXj8qF63zG76jidjnUz1O9AGsMVnyBYL4MH\nm2gqbHy9e2TebZyZlXlOcLZRDuoYjw53FaIDHdUjGO9uDpqjUT/p9RxbvlRd\nK3Ge\r\n=13Wk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMh1FkLtk1Ttt+uzYuA042CkQy1ENSWIqFrtYHopt1VAiEAqZgxK3vmO/FtPNp0z4EbTGiDMNJOia+k9irPzxvs5Y8="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.46_1614754003321_0.49090519071430183"},"_hasShrinkwrap":false},"2.0.0-canary.47":{"name":"@flood/element-cli","version":"2.0.0-canary.47","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.47","@flood/element-api":"2.0.0-canary.47","@flood/element-core":"2.0.0-canary.47","@flood/element-flood-runner":"2.0.0-canary.47","@flood/element-scheduler":"2.0.0-canary.47","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"8057ca893c7b63b8e1af9c92fbd7008547064e40","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.47","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-mEJ89Q85HOG6ev9qsd79Fxo25NN5JJNJhv7T1b9LN3SLjiusZZXW/lLNHOhj6PojaW+PJgrQ+BYbPb1IZTcALg==","shasum":"e3bab759594b07ea51fcff42e8502dd9cc399806","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.47.tgz","fileCount":83,"unpackedSize":595292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQFbkCRA9TVsSAnZWagAAyQgP/0hFTTpLe0k6xAj8p6ZO\nlr2dbEsBOaqNemuQaQ0nNau1Y8rJe2ubNIpcCAMMZVAvMFsLNLYMs679GBzQ\nuZlpNcuqAHqvAACVHGUbV37cfoJfUAWMdfiAKHcN+LxPz0/h7JtJ2mNibP0r\nzrBc4E8YGeqDhhOeOxPPcueaNuZnHXMw8SEZglgsz4C4rMhHk5JlUvqo9riH\nuSwrYwaXWul226MOButGQggdlcYJrB/sE2UGYPJyYce1wffrgd0kRFezxa2L\nUD2Ekp051jqQCiay1MdEpvgrJOxC77tRX9t3W8RoRTeKhzIuLc0/6cy99GUe\nAtST3jt78axsCxHwPDZdt6j//hXsO5ZtX10XZKtbt/3gJRbCnHsoRsOekwRn\nj884k+pRmtLaCwPjFIdVqky02UnySmdVvOpY/XWg8Tawqxr+isgZai2Rz9PA\nGtq07yjF9VSar5inBtFsS1zmQ6uhCaqCC/OCPTPMeTW/pcjRpRXD+cRWXPHN\n7B4svStOU1r/E1NSuXKnQUvvLeJDbTtZ/QH8vHfGzBOczrIPERJgBAbUx+y1\nakyUoPcLwqcuST/ki1yK0juE3AmRAaCx8H+9y6uTRftreEi+ocW2ny3izGwP\nGjZC/0H0uHqAba0GDPpOs58TqP1zLGZ/P3OOdGfLajWCeuKy+Aje/PQOY4ww\n8usn\r\n=HByT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAra6TWAq+1sRM6PeY1Wqy7w/1qx302je8BCjxRxbT2/AiBbiuN601EDekAetky4GolT+L+h7HtM7lJinfZsa2tOaA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.47_1614829284252_0.7565765665149764"},"_hasShrinkwrap":false},"2.0.0-canary.48":{"name":"@flood/element-cli","version":"2.0.0-canary.48","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0-canary.48","@flood/element-api":"2.0.0-canary.48","@flood/element-core":"2.0.0-canary.48","@flood/element-flood-runner":"2.0.0-canary.48","@flood/element-scheduler":"2.0.0-canary.48","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1d02223a255b935b27428b078b55933477c48d73","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \t\t\\- [Installation](#installation)\n    \t\t\\- [Getting started](#getting-started)\n    \t\t\t\\- [`element run <file>`](#element-run-file)\n    \t\t\t\\- [`element plan <file> [options]`](#element-plan-file-options)\n    \t\t\t\\- [`element init [dir] [options]`](#element-init-dir-options)\n    \t\t\t\\- [`element generate <file>`](#element-generate-file)\n    \t\t\t\\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \t\t\t\\- [`element run`](#element-run)\n    \t\t\t\\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \t\t\\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \t\t\t\\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \t\t\t\\- [`element flood project ls`](#element-flood-project-ls)\n    \t\t\t\\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \t\t\t\\- [`element flood project`](#element-flood-project)\n    \t\t\t\\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n**`--watch`**\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n**`--browser`**\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n**`--executable-path`**\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n**`--no-headless` / `--devtools`**\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n**`--ff` / `--slow-mo`**\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n**`--loop-count N`**\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n**`--no-sandbox`**\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n**`--verbose`**\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running. \n\n**`--strict` (DEPRECATED)**\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n**`--work-root`**\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n**`--test-data-root`**\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0-canary.48","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-BhcPxquPlgdUHBIv9I6QaWjQD+3D63FKQyUVNtu4JcC12C8i5y0FjCkKmmNDUeHoKYS8vtlti+kk5WuqEs0L1A==","shasum":"6a74a80294d29bd7a35dc3efe0e80a08b5de830e","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0-canary.48.tgz","fileCount":83,"unpackedSize":595471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQF9aCRA9TVsSAnZWagAAvOQQAKOrb0Okh25lAMEM62VK\nS2Uqk9hM2oorxSM8oXGhe3xm0lOyYvw+DBA1FI62VyNJeogX05AUvsoLLope\nvoI5Uoe1KCSmBmhkxcHOgSiyMRhkzgE4cEe2591qseFokubFPIG2YGnugoUB\nRMQuWnEBY01SeXgcC0i32rmQ1nfZv1/txHjCiZrzOt02oawZM9xHZkkM6NVY\nf5zhje9SXAIdH6igqqos8hMwtxxD6tZMLv0iRJz0z2ddaJQFnKlgTivB0CVB\nuwP5xU2/ryH3rMicWVAsn7pWySlKqJ6svFKyc+nROvrq+EPBm1wJKBW1cK4e\nuTZKsJ75JxSxFFHwbKFtp1Ankk4FLNeIFM4VLJrseRMO3ewMg2prYRkqFTev\n0MwC7R/qO6xeGh/LwYR+oH2WWw5dw6/bWvgXCBzBmT/HDUTTeBSVcwDFwQ0g\nVmFx1FRfMm5txgWPQs4C/3yJlofLs3ZoEDvStqqW4vA5f68G7d91XQKxzaSf\nlpx4xl8m9WrGju7GGSTZYKW1ID2ZKzr59zT0Luvyezrjq8Qru9zraFZU8jEt\nkS/fE7BIn/y9Sg/13AHQdl83MRvE+Jib0HBt4mw9GL2LqU7GeHoH52Hao5Jn\n4c62CO9bs+p17mdFZNk1w9r0+AgfcYE3YsnU6uWRi3UOrFcVNLOBz2xdp+fk\nntb/\r\n=HQz4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzLSZYxTu8jPgsxeoSJZcFDn2fAG4WIRRKJ+zDR/zXVAiEA5EYhG142oJWqqEq2PE2fKZ6DAGQC7kNe4KwQ5aQRcC8="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0-canary.48_1614831449646_0.29076570601922147"},"_hasShrinkwrap":false},"2.0.0":{"name":"@flood/element-cli","version":"2.0.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.0","@flood/element-api":"2.0.0","@flood/element-core":"2.0.0","@flood/element-flood-runner":"2.0.0","@flood/element-scheduler":"2.0.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"5a7136a5b50e65237478e6a39347c14a7d4b5dfb","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.0","_nodeVersion":"12.20.2","_npmVersion":"lerna/3.20.2/node@v12.20.2+x64 (linux)","dist":{"integrity":"sha512-puqB/b4kI9etbF3MoVgRwplHn/oRVzrxS/XmEHGtX/y5b3AwScb2XNaUM5fIqrFgsqwSDnbzEYGU8jUPu+9tyg==","shasum":"47719c5c91a2e82e79288e89fdc69bb48352c7a1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.0.tgz","fileCount":83,"unpackedSize":594871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQGL3CRA9TVsSAnZWagAAQGQP+wdE942BjzFmrkAFevFB\n3uEmp9XPO0HmriVmdd8e5LyBcJLi//sgd4unP8b5kwCpdDyuo4NR2msgAscq\nBpDzt5H+RQJzUp6QpkO9ogyc7glORRabzu5Q7F8Zpb7U0v6vC5gTgyR5mXzu\n09RHFEhOU7nXnuHFDfSZXrKdgCu4mJXf9CFrSFMpw7wc9iLwix+KEudYLHLP\nN26soz57FUzTorn3CL0xbli6bNjXw6w3XeOPUtVeNbPqT7AuhZ61xCZp9wXA\nZAYYG3xNfiG4LR3XIyQD7nGzulUkbdpVCNodt7obDrgoWWCo1mavf2xr4ygm\nITZ+Xzhl+Xlsiv9F0d7SlcqE2puXd1eEPMYcAfA0eZrmmtrmp9Imnc1dxAzP\nSckHMN8zjk4iinL1BU4Fsp8dclVXpGiPCYVSkAb5b17F4uhymhQqD4TyS2DH\nmSIUEVzodsNTKBQkNUXbZvqHmxce7UgtswKCAjADk6rxz6NBqkisT7yGg4M0\nNDVSCm4ODXyLMd6rx+qbFamwAsX5vhuvrbCyJD0z1YSDlicQyxIfHZ+i4viI\ntUNUBCRAhz3lNFQSAzudMQNi96YEetap/qjObieHm7e3S51y+hR1B6PoV42W\nJXVl/7ULT4+aiJikQ/GZPv6qfn7ZzwNq1yDIRJpQAbqjBZ1gs/PKaKYwigmQ\ne9oP\r\n=HeIi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHYyyC+ErITKUqIkmF/cR7gDDq6/MWBIqfpM+CagcT0AiA2GfalumseEHRA7JthCk+YEMmmGfWOg8qaJYUbO7yb3Q=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.0_1614832374974_0.8891653356737428"},"_hasShrinkwrap":false},"2.0.1":{"name":"@flood/element-cli","version":"2.0.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.1","@flood/element-api":"2.0.1","@flood/element-core":"2.0.1","@flood/element-flood-runner":"2.0.1","@flood/element-scheduler":"2.0.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"32f937c16d11e4f15d3e4dcce4b974ee23254589","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.1","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-U67HzqCwt5iGkjl+udqobruajeQ2JbcY58CliMFsN4Sviyvh5kWhR5zDw2cshgQTbCPWAbknYgIlXVDOtt5pCQ==","shasum":"d9e371a3b8859f39b980bcfbaec4fe124e390bc4","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.1.tgz","fileCount":83,"unpackedSize":595611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSCkBCRA9TVsSAnZWagAAlDsP/i93NnJ3Sez1DF3s31tQ\n2iSeFRozHkvK4LMAarA4slZ3OjeFEcl7UVx5VRNeVBPHw6dwmLKXLe2Wm5rR\ncvNsEhpFKd20wQjQ+r8hZBKrGuqHqiozJbC4/k5AgQKHt/7e6PgxAVf9B4Af\nL4LlhnCJrFTVQXx9hIJLSYfMyUmcqiBEhiVr2Ga9JB0bOvssTLSzQb8a/2fH\nu+YiAsoxiY8/OozFxP290bAZlDNzIKZTla477bThj8ETVry35N++CarHSaCv\n9jWoMgSF1rlKlNbIppdXbXVo634uukhncg2Cr7wlfJUHAGY3kr2bM/pJsbwZ\nj4S78sJUSgkGan+9xnVGvAKwkY27VT1tRCq88MybK20+6QueVh58jd3ZFdCQ\n+MHSfunaL8KQtGenDPDR/LUnAKYzcfSkFabtuTtkPAzRCcJYlllDF+yEJgeM\n+j5lCbZxdWuBKrYqNm8Cxmt4eTo4/4oZBTMooG22xOhXW9UtelLP+HbcFqTq\nc5LGIAMMk3eSHOT//YOD1PlFs7N3HLUapBSnpCqrbauFfeM/ZmP4iXP9MLgd\nZaS3fEYPy9R3ZOu/UX4wfqbZ1j6GibgWviqffZu+LDWM/dZEI3XAhsuT8Iek\nz6mFe6yY8l/qQ7qccKm0oQUHmUBtbfYQCSvmrYUUPRoJ3qNTYoUyI08NjN8/\nKP9f\r\n=zF4d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAC+x/A1GyhsHR2t6MUi9QEdVBcWh+BB6xDguwWB9L5BAiAAlbUZW4RNqmiJf/tKnPEUH5Yqsdv5wnaMpE7tvpn+ZA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.1_1615341825143_0.335431694982107"},"_hasShrinkwrap":false},"2.0.2":{"name":"@flood/element-cli","version":"2.0.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.2","@flood/element-api":"2.0.2","@flood/element-core":"2.0.2","@flood/element-flood-runner":"2.0.2","@flood/element-scheduler":"2.0.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1f1f5930334160eff4d9f361794526e9ce46d675","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.2","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-4juscy0/y096waZ0zXaQeLWUJFdCF09+sZJLKvlUmz8Indez8rRp7JwjVsnMBxF3ElVwMlHBVxOzUcLW6b4USg==","shasum":"78693737f78d72222a5822fbf90117733642d255","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.2.tgz","fileCount":83,"unpackedSize":595761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSuKtCRA9TVsSAnZWagAAm5YP/j2jotiG37J2bOfAB+Kn\nGcmyvbSB4Wj3IiodaOPcJeKcOJGfNbJZh9oR7FjOKpl+johJLeqXqluZpurl\nDh3yN1MvGcs/hnL31+wuTqlMca+Hkp/Y2oVJFjGWgrzH2i2VTVGAMAok8HYT\nCy3QGte2AWKwUFGgMI25FHdW2rTUp4/qZDc3yBHCb93Dg2FOc4gp3bpww2f4\nPTWO/7Pq0vmtNLNZRQCzJBMW0QMTLk0STSy516+dTo2SE8Xy3vO2EP/be5sU\nJgqKVS1ig1oHufBUnXkkP/mDW3yTXV8qFMVUKku0hIqa80dWIf4idg1toHA9\n1maYwWAUy6DFK2lju8IjfgNwzUqAqP4Wpsn78Sb4H6HJFmtaA7iFjwFAZgig\nWYJfLc2Oy2ZWTQyBtByx/y72zfB3hfCbsdRYvTkZ0DtsWiEyzf9lqK/gngsD\nijZ7GvpurXNdOtG1oX+DsExIxDc1nk0b83WKvnWOD6ksvT+iGDLuG5op6lbZ\nyZihBiquQZ0eJSnn0GZByKVSxIMIL4Se8F6kcTt5oGiyV4ExJMXZetXMs0yD\nWEmOXl04S9CTuaTjC1qbJwZbSSR8d0+lJ1WeVqODv/9ayPkkTm8lEn1loGsu\n2NOfzPtzVBG6RfTs4hynlz08+sqUjlKWfR4srtrBZtjeOeOB5Y365yXGPu2T\nLgi5\r\n=1mdO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1ABJV2Lv4DzPy5YkfgV9x04Ud51GEjn57jpjqDiIV5AIgFzmZue65lj6CnT8GmHQnxgojSYtOA8yTgR8f2oDTrKc="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.2_1615520428715_0.6911368328985132"},"_hasShrinkwrap":false},"1.5.2-prerelease.0":{"name":"@flood/element-cli","version":"1.5.2-prerelease.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.2-prerelease.0","@flood/element-api":"1.5.2-prerelease.0","@flood/element-core":"1.5.2-prerelease.0","@flood/element-flood-runner":"1.5.2-prerelease.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f86f08b03ebec6e8b07f398b9eecc1909e41d560","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.2-prerelease.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-tVYvT1NLcbgaUT/k8Scb6H+GbHaMy5jaeKpaGFAOjG0o3NGD+xEun2Aqycj3CiPGBPyvnDS9xmz5Y+Lla0I0HA==","shasum":"5db5a69290c5f2af9c6d3451d7fdafd88137ba62","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.2-prerelease.0.tgz","fileCount":73,"unpackedSize":474123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWvQUCRA9TVsSAnZWagAASeAP/2QoDgOk37dxGUQwM9aH\nDY72PmN5PQfyMboioP7XaOjcFqtaI0rFFpx5dpA2TbDJwsBpnl/fL283rDon\nBtE9V9gMT1/ZuzKsr4bnkmofq4xrOjbq9SYmYgiolrvK7S1fOkTMDQr7dq/q\n99SaWeNbIJ19rsfcVGkuUw2GCgMbUdS0hTHYPPbzanbO/honkIj9bpvKRULS\nNUPIxbL4jqEsI8DSb4/d1a9V2eDvH3ro6aQ6IqLrdhiHZK/gPSI4XjQwazmF\nNiJOuQ94y7ti5aZ3RSFvH09XYFdBhM6jYgIa0dLKwh6AmLl2gZy/FHjguS3U\n5umFsCY/FFRmveO3mzEfPF4FL7BGIp0jaxbaaiY4Rffh6/6D1DgUCajA+8JI\nNdG/PwjRzuNmJESNCXwiNXjLzLez3fJf6ymVceGZGi3O4ZnyglkGPATisxmk\nXxYknbFQOuNzY9JUaTqOy+5mYimZRAoRj0V+90pF6eyZALATG9VHr5evwPPQ\nGzSKcwYLcHU2/7Jb46YrjwinU1J4iUmzpyPzlRk0poqJntnSbvLBB+9MggEK\nzdXtBl77zLuiAgmW73fmyBo6fMw/cQuniJZoSXBWihKQW+Ua/VN1O48pQSax\nynF6W5VUadWukP1RDMYI8YOHEIkNDor9kIcSRZVIFFfhnW+AE9WxYKNxfZ4Q\nVtLC\r\n=nKbm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhA1hmPW1TfaXjskVP7sL/+yDwWU0VvT/buYuVafcQtAiBdGXe0BMwRnHu2TRSrRkrhI56hCCHilwP6HIsDSF6t+w=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.2-prerelease.0_1616573459751_0.4382415227823824"},"_hasShrinkwrap":false},"1.5.2-prerelease.1":{"name":"@flood/element-cli","version":"1.5.2-prerelease.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.2-prerelease.1","@flood/element-api":"1.5.2-prerelease.1","@flood/element-core":"1.5.2-prerelease.1","@flood/element-flood-runner":"1.5.2-prerelease.1","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f0b2249b01b5f44fffcb2064c38f68d64ab7d094","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.2-prerelease.1","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-lUFl5+kbBgggYyi2HRGJGBFDSVpYqOC0r9BqFFP/Lk68ZjEVkjQCUkYlOMQ5c9HrCq/gDODxnF6uJrv2US+huA==","shasum":"3906c23ef40c0dcaf73c30b28617c9de9bd5db50","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.2-prerelease.1.tgz","fileCount":73,"unpackedSize":474479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXDlYCRA9TVsSAnZWagAAIIwP/0SgCo5ePog5VQueuYNg\nwFS9CBDVG4UUOn8DYcVM7vWYUynnG4s7OsKT7tJa2sOBhvPAg9minEhcG8sw\n9Om9ZUbSmHiueMLms+q9As44hH5yZmR5CSiS9HEeCrdaaE/qoyYR8w2nvlyH\n4NeMMS5G5TTUBtZwNNXda5RzWXQN2E/yTBnXKch5CagU6mSmr23qP6naknDr\nDxdbWx9AUocyjsgn3DG/RrtxRx/47W0CzL38jf/tVTOhBL20ICHVczVjxvW+\nrD9btJBHIPGsTtZRgDovE9DLeonXa9VZNqb8Y28aFMYLTeGSfOnkj78Waas/\nIpJF9ermxE9As30X2RcVl7ZnFC+5U2pzB1gWhJBz53QMKkTZMpRtPlzFX5of\nGNH0jegXoMIhzzUwcLT3uVMBzFJLjnDt9BcEx5oJoNR85Eur5+9YknlisYz7\ndd8T/vKB+UmmMg/ZIyDFLlt31BdmH4Ta7P6KCJJ7KdACj+gsXf1xIAwjcP6E\nmOSbcp0EQM0oqN0RD/nEIZScSyJQEXCCBq2iWsfXm+yTtkTNBXkd+EuiUHzD\nxaVa7HQ+/tCMaRJe7vl30VY+cQpUXmsZe5q97Ky18g/ad3xPM1Q2xr4kuNDi\nswRf0P4TMuvIGjV7fkxxU6M9VW8x54eRoWvL0ooc+dXVmDSgiopd6w/PrsD9\nYfQu\r\n=ILh5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqLfYWjpFZl9eHWF2DnqlWNGVHdur67XCpd6QNlujG3QIhAL61vQxiBrvuesne3FaRh0gdgE0QpbIvSQO5ITsKyRYP"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"nicktho","email":"matenaar92@gmail.com"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.2-prerelease.1_1616656727865_0.5087642304883189"},"_hasShrinkwrap":false},"2.0.3":{"name":"@flood/element-cli","version":"2.0.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.3","@flood/element-api":"2.0.3","@flood/element-core":"2.0.3","@flood/element-flood-runner":"2.0.3","@flood/element-scheduler":"2.0.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ba01e4c6ca9a2633c8d32f2528aa0de1d9f06a57","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.3","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-JDOGKml5VzCm7RK0B2HlrlHn784AQBkHBOr+sj8fNoDwSnyt3RK2Nu3BfFYm2U9bmsf4xHS38mdc4Vl9P9wktg==","shasum":"417eea3dd2e8f45450e623082d9a17a0dbb8ae68","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.3.tgz","fileCount":83,"unpackedSize":595911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYrmoCRA9TVsSAnZWagAAffgP/jrsm/WNflNi00cr8sLb\nM1LmKBc1iPo8q7NRBsD57j/s0heLPYODILwKLWCmwMapuY6cn6yjDa4swa3z\nf9MmAJ8z05v2X55lLrylWXS1UOStXmrc2U3NQtQtNAN1VTsmtY25Gw25j+aG\nvzWYjEv0WvQPjJq8CJ8WB18E0XvSyGTzqxbNZxo2ygRWlLsWzOocPba5ueiK\nSk99LKAqJHdNgcdSvdVV1/4xpMRplUpqVIIr+rRm2GmT5aUqC2MhKsJ3I+TV\nmEWfjRFboNjad7qCNexqHYYmGq+Gm3Qi0SqwiIBKpOP4T+2kyb73NYxAoUi3\nSWUGHWAMXEfBo/VRdaF0orWDETLU6fht7stJW10ZPIj3C/9Y54QpsJR7EBjv\nd4SYQdcsVa/Kai6gyb0m27d47kpOwfisKvvwOgPH0rbVnspKeFW2KTsLbQ3e\nlmgENO/EqUyflXsjLtIwc8dGs1kZpLe+RSTbj+qRBirGbLF78wNp2lp4x4jb\ngHNqmcuVSr+Un9woTHH5itAntfWoMSskZ60N5qk7JccrbCmPvRpIrhbKhEHd\ntolEx4B5E0KDjFTo+fya4H0kDmYgSJ4zaC2nF4A4hoTxaJnCHI+pQTeZX0lg\nnWp2RFe1DuSsPqL4Yo8HcBeNxZ3OvoOm/C89KpoYvaMakPS45zR2yt7KiwUq\nQaOJ\r\n=uCRD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBG7puothh/BD+duaFa7lZofQ+kFDuJSZdqpjkF4IhHKAiEAlA2E3r+1LQCmoyLPIllFmSUJc2omyhY6wY7mPTPWr1k="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.3_1617082791781_0.9413295767912877"},"_hasShrinkwrap":false},"1.5.2":{"name":"@flood/element-cli","version":"1.5.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.2","@flood/element-api":"1.5.2","@flood/element-core":"1.5.2","@flood/element-flood-runner":"1.5.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"0c63ba1ac0ac23217da716237303da1e51452b02","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.2","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-s6oMujAPyeYocZlEask9GZUH2jqlTzREJJ88cd+fDH8IolBAiw/ZSjvq0vWRowtArmkrREevSEHcH9bKKcEAeQ==","shasum":"9b5fb07d876a5b1cf802f56ccc26b67a1390e268","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.2.tgz","fileCount":73,"unpackedSize":474577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYsnGCRA9TVsSAnZWagAA67YP/jbddTLYEKyYUpjnemij\nlpoPHXoB55y8Suw6gTFXplONJ5gA31xD/EhLfVE+IjLbdJud7IDv/fQAkQ9q\nZu8kNBhl5XzAj9rX4yiqdhyN0dena1LlZHhpUuA4Z4pJ1H86a69TtkWYqThC\nKw1vsjT5eF9tUYrLcteX7yjT/eg/+ufFKPfFhAgxqeh6Rg+Tzi3+iBNrQSFy\nkTWZuLaBYAtBJLFk82KPNLZgudbFrLNU84tOg1/uZZVHNkaV6xbCq9/ADefA\nMuhN7+ohn3Fk4sV5T7H4Gc5ESzxmsbnuZIjDREhIao6TT7dM94V69v0eA6Z1\n3ohZ/8djdrab77LT8swMV9JOG0YSNFxhaNY7U1ly5OXT90asgnP2UJ3kWF5A\neTrmd8wgRbVZhiY++eOEqjV3kQN6E2tbqpy9kSP0pXBToUyPltKFsMeAMfgN\nTrGx/t+HpASiqPA6TxtFMcgcqdVew1CdtbVFjfILBxQbeMrhaxzq4xAkkT6m\njz3zPVkrEQzNzptoxp8HxJPi5uFpfweKprJYw8zE+Ba+e5KyDxDaRZ6+HUbL\nATMk5PuThpSF/1Hd5l1cgUsm8aToCw3GXWCtl8N7rX+UJUJOGB5H5P+7hgYz\nMiN8VZBxQr8hEi/0X702nim3z+9S3xVsXi14WFRc2Nr+SHffzFPy9mG+24yV\ndo7k\r\n=gYDH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7UpgSaR0W/V+zZP4kT0SncDvl0sQy/mNpk8WVcQeSywIgXwc/0OhWRghBXKdt1DOV0AY05qr/fPIYcQFwa8/EFQ0="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.2_1617086918287_0.291518122699044"},"_hasShrinkwrap":false},"2.0.4":{"name":"@flood/element-cli","version":"2.0.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.4","@flood/element-api":"2.0.4","@flood/element-core":"2.0.4","@flood/element-flood-runner":"2.0.4","@flood/element-scheduler":"2.0.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"86af247d44880a2e8b97448f7b58957dfc1bae55","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.4","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-dZs1hpT/9SMqlrgd9riXMmdv4bZusc/DOtTKrWusj8EeFgFHtRMkY4wXjzmcuyV7UBT66DLXcsGwW0P8ahvZqA==","shasum":"5c8db37cf227b710daf97b0a46e8ccf1065e873f","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.4.tgz","fileCount":83,"unpackedSize":595894,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYtALCRA9TVsSAnZWagAAPxAP/1fRVLrGa3Tr7ubT54Y0\nyS5J/s1TDHQd+k/D6yerxIjsW3idqC7ZvgHMtE0raTMtTVpWR8We5w7Moa82\nEGxPLrW39QBZkGy2yx8hEOB+avfpQ1S+3gskJRsfqn/gR42MRCXh35akZHFZ\nlv0/4hsdcNJxtm7RuoFTmyn/qKK+1w3yIk/Oby/nwRrhXhNcY/ph4L63h0BV\nUu4bLnBvhdZh1ERYcYDNxv1z3kt5feIVN0YF3nTgcliNUmlg0FeECfUskxko\ncdLE/TGr05e1+0Z3K1EDQ1XMirP9Ra6doqW6wvtNw2hZi3ZvY5jgyNNhuazr\nnPYc2tZlJd3nq+KD5rv1n8Wl0LS7reuo7T4qiImSBQFU548C+Aajk3Ia2F34\n3omqWXC4k23KeSk9MxjE2iF5Q7lPnkyYxOE064L7NuHxPkuwnKKx/TAtqnC1\nbhgFUOcFnEQGHAetw5CWHlWE54F25X/hjSHW7w7AkNMgRHYuMpSmQvSYkgy6\nLy3HgayvF8saJN3+8IOZMDW5xY4XO/vRcarH/tvHKiHu6Dvt5GugcDy5TMIE\nXh2kUkTlUNH/V5EWsYSOWjCf8F1a/ve/9pIbTHYZDaqg98oJ08TLPrAXIOK8\nqV9FqhkvmMWfn6KCUOZ7K9g34nnt2KQvDDp8rI5t+xJefk5k6Lb0YrPlM+zp\nrnUE\r\n=tFh2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpNb/StTnT/ylnbdxU4HnCz4rdD3ThHAm0LY89AmNFLQIhANv44Dqhv6udccQsyiOGBlzMJ992bQOBWEHwX0IIU8V+"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.4_1617088523440_0.3690454353310122"},"_hasShrinkwrap":false},"2.0.5-canary.0":{"name":"@flood/element-cli","version":"2.0.5-canary.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.0","@flood/element-api":"2.0.5-canary.0","@flood/element-core":"2.0.5-canary.0","@flood/element-flood-runner":"2.0.5-canary.0","@flood/element-scheduler":"2.0.5-canary.0","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.2","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"ea0446c35b5a76c08ca497d537b31262f36d17d1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-u0A/9ApfhdGJNo/QiqvL8C6XCzBzLZ4nSKGlnrl0lx5/J2vsNiqmGi7NJRl1UGGg+T+Yg7a/5rflKGqyeg7JXA==","shasum":"be010b3f57b4a5b551be6888704c94c37cc279cc","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.0.tgz","fileCount":83,"unpackedSize":596116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgY/lqCRA9TVsSAnZWagAAg9IP/0XXAM/iU/GAR/JElorA\ncoYz4M2gMFUPZ5Rq+9Yq0uQI+gJYV3bdF664CvwoIN3W/BCPhcLQ75XDdTQD\nM2CvKAB9TZYwPPQHaYSt171ptBqjAB648gOXDg+qEy2N4vP7kqZ7kIDzAq5m\n9JLT+KLZIGk49eAOvA+JdguTgh8rsOB8eQHDIjf211El98bPzoI2E6M6aTbQ\nNwHCzcqtVJqQf59P3s22xNL3hnJRFr5+LYPCrtk0PqVuk2m9J8MzzDlNdeYe\ns/7cPW/WZX8o6xPiHvZ1lU5Up1+0zKsXGgkAc92opV5XlDuOE7zkGXkzUEI9\ncmsPhxs8LiyUMKD6g2/ZqzLhlNHg3Wb0etEY8b1RFAupquRnZQmWYJWsyoiF\nVywsLe77GRnpmcxGOfkOAk15etZvc0HyP4OStjU2dCW+LmomJf5dIfE7L9uZ\njCukjzUL1/GE7VNQxZpAzZk2TwFgHhrpSIaXkASGM3t6xLuSTp1Pu17YL/LM\n+t70KQgKrINHNDEKkjDW2HEGE4BwfnoiQkLE+iNcxzlwVy+5eW684n5v2sMI\npLeZ5ghFh6lLuz4wqpXx7MWpN/pK5UlpZUnD9m2NlT8+wtmnitXW/CX4ZpBa\niJpJSPjz2wJpqZc/mJ2GYD0YTvmtwIx141CPuWC+blLIXRLAfydzEd+9MCwT\na7eW\r\n=XIiM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkuOfbPKDiXR6qEgSOTB8HsAFHN9CF1NtaqwqfiTydMAiBJCcM0HR5VaxY78o9KZWO3s0fEWyjRk/0lnQ69SIwQSw=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.0_1617164649428_0.9732528115355807"},"_hasShrinkwrap":false},"2.0.5-canary.1":{"name":"@flood/element-cli","version":"2.0.5-canary.1","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.1","@flood/element-api":"2.0.5-canary.1","@flood/element-core":"2.0.5-canary.1","@flood/element-flood-runner":"2.0.5-canary.1","@flood/element-scheduler":"2.0.5-canary.1","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"0fcca4cd5685574907d4f73dd987a98066bcafa0","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.1","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-baIAQTwxDr+9wu+NV0JslbD4ORzQc6bfuW5U2WipjreiZ8idM/V7swbrZqCDAZaOOJl6WbU9AYtsrhPaLQCyRw==","shasum":"11f4511d2c6a12bddc3655ba7d345928397da418","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.1.tgz","fileCount":83,"unpackedSize":597617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZAs7CRA9TVsSAnZWagAAmaUP/RiZnv2/Isj6390CdySy\nX7XxwQlpDUI9CpRRISu9mkrVefGBnDlNOOIjfXzJCMaro/hTQR+GeKZzIjT3\nfw6eBPtglH1hvF5T7oHuR98UozEhOutm8weaMez4qVGu3piPHxsvdHpIi0wz\n6G3Wjfly6Pesn+JiNyrfc37HQXv766zwiwEk7OtO5VRcImFo6RkjhGtxQTmj\nyebRtTf8GdsvITUh/3F/PGfm1bcOQ7MPW/SlhibUH98Sze1zx8pwktvYbLBg\nIp63nvtB8/t3U+F6HMJAF9ovbT27x8JwjUBVF9vtWk6wUWqefuVMU7mgOhMZ\nBzojF8LlCgi+PIoUS39eTfaBQpWdGS/KburNKWUQxhcVo2+ISba5VTn6R02K\n7rCvpY8FumItLJhA/iHuTLqQsmPCk2+0CE3RoSD9dOvsMOOsRrDNndZvZufV\nRULu89lpNj/le9NT5pk0tiWeStH1BET9oVkS6URkQCUqhqNDwLcuD3SKftAm\n7EdG72t6FLoya9nYKQ418gK6CLO6eopk6P6XmVjwHq5nQTN210Tn2NJ0kDrN\nZwWbgYYFZdDHBiJAe/HcE2RplVyHtzTV7Mrnk9jF+PJp2vIQ2uhuXuxH0fyk\nCMseT1jZrEQTyo2+xN1GD82XBN2otXEIVG+4ppkz5dSQfIwZhT2IW5NwmpUO\nWhaT\r\n=2X3L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHztbBfn2Qn/ZkqAUwzonKFqKemgCL1nynuJqwQ3bR1QIhAJ+6vj5r9b2JHevkO5d1JvQ0lr5Ihz6RuyrpgqHAQKu6"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.1_1617169210631_0.23170413092340847"},"_hasShrinkwrap":false},"2.0.5-beta.0":{"name":"@flood/element-cli","version":"2.0.5-beta.0","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-beta.0","@flood/element-api":"2.0.5-beta.0","@flood/element-core":"2.0.5-beta.0","@flood/element-flood-runner":"2.0.5-beta.0","@flood/element-scheduler":"2.0.5-beta.0","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"663ed30c142c415dcf7a9b79862ce50fbf9741a7","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-beta.0","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-9SlxBlKtoNol92jauFhvbaYd9GljykLQZioKMLiRCIhsZlsLCczKjXPTQTwYr73SBCD1HKpy4uwPtNrJeAxu4Q==","shasum":"f7cc7b5c664abbbf9327d693b8516be5b4ee0d26","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-beta.0.tgz","fileCount":83,"unpackedSize":597778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZCK5CRA9TVsSAnZWagAA/o4P/AmHnWHs97H38v9kIzj0\nlZXzsu3GUtpgLQJ8yGLtFi8/LLAaoO9jt8jyMv915NW2skGIVhtF+h16UQLK\nEHcPJOFcsHsV2SMO8HwVUUVnzNXy/YezSF+2Mbd5t2p5EE79QzKeBRnhXsdq\njnb8TywXDrVn3GRDD/rg6YyMmR2UKnPXMv4u4Oume8v2KCQzan0yQHl9jCQC\nR8nZCk9XEf/Ql1DxaAool1f0zT/xIvd5+vxzLHAq5gB7DeVrkJzdogfsPkWP\nsE7APMUXls6L9JxBO1e9S3YVG304WbNhOkWEq72ILJfYwrEPI9s1ZWfX0rdu\nn6an13qpc62VEEdx+B76rlFpA7FNXzIyW1G3U/z2nTCaIzz+gFkVzSKxV0Ya\n0IYIbwQhNaWe5m/xmcqp/iaPpxM2UhEUYJ09MjMrQddBquwrMa3C9/eeOFAN\n6tZSXnnbzLCRTdW6qOdhw8gls2gj1VvmXmBfwE2Lxt9p+OiWkMIIOnVhPK1Y\nWrKEWifroCraKShha/Roag0ZXahcMXrzuXQUN+dFEG/DfkfSExnblur8ObfA\nzOi3nbWLiY0/g2Ay9NkWURaTuxBytgRsgQDdvlECidqKZXPsILmiURs55T23\nu/YeGgq4MEf41xx+O97wnHuYFEb05MCr1NCOIyPwpEF1sSbXIERFE1+IvC33\ntln7\r\n=fo+p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0uH6ja0OtLDYzlzgQvgJaXOq5CTRaFRAxmf1/pAH1+gIhANqRtDFg00Rknhhzo3drHJJZ6Xtv4sjm8h7iktrDeGIc"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-beta.0_1617175225326_0.2628874017014269"},"_hasShrinkwrap":false},"1.5.3":{"name":"@flood/element-cli","version":"1.5.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.3","@flood/element-api":"1.5.3","@flood/element-core":"1.5.3","@flood/element-flood-runner":"1.5.3","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"27f2bef73a9dfa2f3e10ab7ee6274943afd37107","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.3","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-m0rE8srfPyy1gbExI1iOzScPx1hc7vI3Ga2JPWsPhSrNPH6wIahcicX7pW04eoYcqTindpbbKtPby+W15AbcFQ==","shasum":"4827f8780ef2ebf39ea9ab4191e9912a5846f390","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.3.tgz","fileCount":73,"unpackedSize":474727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZD9aCRA9TVsSAnZWagAA8RAP/RQBRY6zg5H74lvdTxiE\n5Jv1af/B4GluAHb1WxPtPZqEMdGiN3Ze9cY02CESflb+m19TF/hpydfriXAf\nUv9FiYiOdOinPHyDvFii8vyg4u7vMZRFPv9J4PnLdG4OEBAbfqDfRqBZTAJS\nWnzxkhoC4KZ6VykpW7Jfy0Grr9KH6W7OoYLCJ8Os7xGjEn1NK7rb3uW/YRpl\n+NFj7w1+/6hSDbHdbTPbQMrzW1+KE0snvMH5NHLgqusN9r8SQQCR9OoKgC1k\no/bKtTSMu/pW52Q8XRsSDVQrATUl9WLLZnNaHQJKuw7y9aEXc8+PzaA1poqH\npP/0pLiqp62X4pXxuTz/yJfeSzFWFkAfxRIGT38QVK7Xvtf/K+s1Gvc6umh6\nz5L/CNAmUFtm/lQ3qIp9WEbNFv9oEqEJq09T5Sj5nJ6CgZdGdjx4D4qiOITe\nl9LSJpyPrhH+BWKO5fiM+AFwZkRp0shMFUEqz/tbmWc2lz9N2QdQ/JToftQE\no+AVAU1TyZTn3GMyglIIHqmQtOZ+NcxiIcwNla8FI1pNhHWSRh9JcP2B5Vu5\nyhwNCmu0igx0s2c0+uhxf27ZBiQ/NIrTIGwA80lQrB56aNAzAnn+OurBfS9Y\nlmYDh/XoubaT2LEBsmIgUBf6dqafRlkMshbdiqUbfBW54OuL6fCPNyoMUa1u\nSI0n\r\n=Ld8p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDol3YiYaGlrpHRlVw+xg0HtHQP79QABGt65jXNhSwU3wIgZvj6pPJQcOXD7MmBEfVgH/gcReq28pKv4cCuQQN8dKs="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.3_1617182554202_0.05850630546658797"},"_hasShrinkwrap":false},"1.5.4":{"name":"@flood/element-cli","version":"1.5.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.4","@flood/element-api":"1.5.4","@flood/element-core":"1.5.4","@flood/element-flood-runner":"1.5.4","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f7fcbc7319295d81725ea84c86fecc5e9243ec12","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.4","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-tijOp4VNYGBw4dFFCjJ8T4v/QC2HZiPbhgMoow53wAtyPDk7inbCF+wMgbNchFbAl17PsExaEqXEHu2VuCsH3A==","shasum":"07da67e2790af90a1b0464923556f06e3d855718","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.4.tgz","fileCount":73,"unpackedSize":474877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga9H3CRA9TVsSAnZWagAAENkQAI0T/NW/WtFo95f1zzEM\nFG2RvZhHWbC2bebTSgbhKcjeQHwei5Hi9qEiK1xbx715nsur16E4RZMUM/Ew\nlZMyl6BeBbjgwu63uK5iC79YTyvOABlvgJcvkH/IdZewaM1U7Dznx5ZbKJha\nb9ZJ1HFOExwEAVRDr4NqhYePUJszfMnqAyntnsc94oBpWC/9ZwMXDfPV/kxQ\no9ukfH4rCv5ElB8hgojrNN7SUwDdXB9grgwCMR9ZO6QddNWarv2dghxA+k9b\nt+laOL265+mwZhb0+TqkHwgcTI+UblAxNZiB5R9pfFnhtCz26ZtmQ3Q9terE\nYC9wkqkAXypcTRqBmeXpkHZu2g5iO/117PN2yk6gjeVsWSt4zh+8g+6JoKcX\nujJHVWIFfu3fHkkw5fQbum5/vZghY5dIITm9Q6rO+1Ltv7Peo47ayW0UODrE\nl+cyaU7P3MjDexoJkET2gAVV7G4pKKr0wyotzmYQIICvdTXjL7YEyzx7eU3G\nnxSZlN7eo7B4fjnhZpuVN5fmUDfG58IsdKm+xD2w93ez/g1gysb4NW+Df9oY\neaJ3BQCK0BPaE4KLdXorpi/KjfWbHdIHXsKcPoBsGyDpTzFZISsojlGzmafR\n9xRyRzO8IHJLJgFuoQ+PkCzYOLZnhcXPRPZivU+embBO5V7JTzHDQqd/4/Mk\nUe54\r\n=XVQ1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYN7vdIpHE0eg4eY5rgb/HYafJ8c+R8pT3xAvfRYGj7AiB4vT6Lxqvjqne4m0mzdR11fUOAVJcox11IYOe25P+p1A=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.4_1617678838773_0.3013066536152469"},"_hasShrinkwrap":false},"2.0.5-canary.2":{"name":"@flood/element-cli","version":"2.0.5-canary.2","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.2","@flood/element-api":"2.0.5-canary.2","@flood/element-core":"2.0.5-canary.2","@flood/element-flood-runner":"2.0.5-canary.2","@flood/element-scheduler":"2.0.5-canary.2","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"08399e7d5558f95b46c35ae47918e0a6a38477ab","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.2","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-efSLUHpxoH3on1wWT8Q316895RuEd1l973lS5uSNkKleXXm6KYgkIgShZE39YTCv+Qcja290vSPQgDmFq96J9w==","shasum":"60d1773545645241a2a20af019599213906fb985","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.2.tgz","fileCount":83,"unpackedSize":607545,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJga9ShCRA9TVsSAnZWagAAk28P/1rmAzhADwfowqYU3m8f\n+p2yorvzUx7+BR78hfMIzJK19grBjbV7hFfXu3QQJt+gdwOLAVLR72y2JhVa\n5nshKHSmgRUoGCCwQb7Ef+K8Z1k/9RfGWK8gijvSJUVCjV/9x857/99YSsqh\nprpnpcPrgqSdVKYilxJn9gfxlqrxlC9o/2amv7+NN+Wf23+ixb83/gu4vWEo\nqKzsnZeY0b2C/36V1cLmJJePy8JQoae1rGEuN4H0t2UeqLqjlesFom2U99UW\n4t/LRMeDTwsdu6ha94WBptxQ7tHskoy0Y9NbsMeBgX9zpOK5EhgiEiledQoD\n6WQMAwO+6JiD+enVvsdoEBErMSEVlb9joijNfukZ0HBjELoZGLHjP+Mi5Aus\nQAPkdSorvldDD6LaeNKs4okuoD80BVBCut97UI80zBwWgXawLzuMtbWd/xN6\nXLLYcV+D/wte5iSj+S/PzbQ8TO7lROYjvVHBWVcWqmlqjxrLbROcDoPd/TQN\nkYG7dBTJ13LI/mouiN6xaguIpEQg39+YFModOfsFo+4Sfc6RWWJoXnSCb9qr\nmJ6HLH/qFgH+S7JyEDylTIysu1D8AEkpCCZjqFKlYAR7DtDe/1+xatHPfSIt\nY9ImP0dhFEAFPvK80chK/xTqAADsN55Hkct5nN3L0pTI9DiB4z/K73Tneqop\nte34\r\n=KgHs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0o/O8NyPk4gMDiAteJQ/NLB4fNsIWQnPAMsOPro+sZgIgORhG6cMepZHzBnpuuIlnn7Ngkk5G53IZeLTxhEcVbts="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.2_1617679521478_0.6036550123394393"},"_hasShrinkwrap":false},"2.0.5-canary.3":{"name":"@flood/element-cli","version":"2.0.5-canary.3","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.3","@flood/element-api":"2.0.5-canary.3","@flood/element-core":"2.0.5-canary.3","@flood/element-flood-runner":"2.0.5-canary.3","@flood/element-scheduler":"2.0.5-canary.3","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"f614c2008ab9358e2f8571122f6ac6ed9ef9b6d6","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.3","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-S6u4t8maCrywnnZu9nADUr91JIcDr0V2SW3yXgElSID2UthSBpo3XNIMj4ODZ5s9jJpdQrD9/vpoQDaXNC5kYQ==","shasum":"6c8541e1de77f66b99af7a4474c163dc38c03d2d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.3.tgz","fileCount":83,"unpackedSize":607722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbRbFCRA9TVsSAnZWagAAi34P/Am3isDNhS68awKNcbwo\njpzOMm+c8wk6RYJVcdOJl6CF0i9LiS3a1YG1KVM72TkZNTJUBlty4+qb7Th6\n7lD6bfh0UgXW9CAMYfoAA/m0j0jw37SIRKw+gf+e7H7UIMgtAhxB5H4/lzE8\nWy4cOnqwTrQU3zC4JTBRgIUeSha3zBkte+kCMDVu+AjhssNlWzLagjrTL1bI\nW+KEckzbZFBcVq2gnceEG7H/c/hLTni76Jrpikf/lrybKmY4EzmsWAWi966L\nDeeCqMc347V7SMrRlRdGBLbzJN9sMVIlz5gJ1r+vYrBkNLEQpogCn4OkGuCb\nag9o6/sK2wu9of2ldHQGMTna1tqg2T9e6fyYote/P5qJ5d0CyDx1V1I7IMjg\nMjBOuc8A6akB6S1zqYDx5x1CzMd0oy5qPnAaiA/9kvX8eDtGKxsxQQ6V5f6Z\n5cj7+aaHExxef6nbRH159qB8zMNJvvzRPbIk5KzYbL0KAH8dZ6Tz2O1L9cbp\n/h7f4vunPStc+HrX924Q1m+B7huK1B0F+xBBvwY2Gf3tvD7j89XyqTs3x2OV\n2b5HEjCLLL0P235NSNK5VFC7ob/CNefNoGx/7OVbNVb6nfXm21VDlA8LWx+O\nZ5oOx4P5WyJXF/w8mWqi/K4ETH5QA1BoO8DoZbLcI+yOSypsvgrr+TAg51Fs\n2j+G\r\n=4HDz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM8NwHsQKhFGLKmk4hj78wMdIBttpYGYeLjaCtvlu+MAiEAwvEmXxSZSRw0T/lOESXwR/O8XNuC4BCqJZBjQv+BC58="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.3_1617761988632_0.27037031918768806"},"_hasShrinkwrap":false},"2.0.5-canary.4":{"name":"@flood/element-cli","version":"2.0.5-canary.4","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.4","@flood/element-api":"2.0.5-canary.4","@flood/element-core":"2.0.5-canary.4","@flood/element-flood-runner":"2.0.5-canary.4","@flood/element-scheduler":"2.0.5-canary.4","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"cb5032e211e2e55596237c817d935e99167dfb00","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n    \\- [Installation](#installation)\n    \\- [Getting started](#getting-started)\n    \\- [`element run <file>`](#element-run-file)\n    \\- [`element plan <file> [options]`](#element-plan-file-options)\n    \\- [`element init [dir] [options]`](#element-init-dir-options)\n    \\- [`element generate <file>`](#element-generate-file)\n    \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n    \\- [`element run`](#element-run)\n    \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n    \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n    \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    \\- [`element flood project ls`](#element-flood-project-ls)\n    \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n    \\- [`element flood project`](#element-flood-project)\n    \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n### via npm or yarn\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.4","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-ySoE6xoYMfbMliFZfqdjxjZMBW7kw0/4T2en8iads1k7M4iqqVFbj8hjM8uq7p98GtEkm3K/YLhX65MUOQFkpw==","shasum":"5e56a3a2a69f7b5063984a65dedfd051fb95ca48","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.4.tgz","fileCount":83,"unpackedSize":607899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbRoFCRA9TVsSAnZWagAAEn8QAIWLVWQ96WEbsIifv9dz\ni81fOnrTxaSK3F0ZRAw9BOmx/5cWWEaIuMChhGMCz6KSOMd/h1IcJqtiNJ4g\n8XlDjxcejrHpYFMjujERL1n2ErBM62acJqDUWSFD3vlxYBrqbhvd0NpUeBZ2\nYRcb4ry2YbkURhAxW5LEIdJwQRIIAmeaGnF2N18A3XjTa2EyycuwI2KqPTMW\nK8TzcYLFLCxGIrhnDNbPdfWHt2CZp121FGmmVkFnvhmtCx6LZY/dCSDbbCUb\nWffdwb8kKnIFM4tz6gQUFAx57soA0tSR/SF6E9ywULDa/MhAwMFg0TvElBv/\nkv4H5pUjiplae0ogsB5AzZNa0KkqJZD6jnIbRA/RjY+UALStmJrnlfmZfKlb\nvuUQsyJGsY78CB/KP6n1T++y0XeLTPHu8gO7b1uyV3nmTWjd/pn5+fGIbgL9\nE7QW6zE5wzHhAJHCiEGHcy9mSiZaiXl2qIdzNRyJddaG3ecl9n8d7gUhTOvg\navi6Nq2Qyu7vSEmdIyQ/gcY0fXB+WjTjvOX9yQQIks99twrfklnE+TrFdauu\npj8wCx1s5SQ1u9IiXlqqlzU/ej5wrfTZqxPqOroVu6kjzxHaWFNvuf0lg2/1\nF2DsMVqwY5dDrwKcy5xjRqq0qdI6tkXVEQukxlz7+9avo/VnIqtQ/Y6Sso67\nCyYl\r\n=Y0Zr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2zO8v/ornJdfljpLKhGy6x4/tVDvypueSaA1FvJi9fAiA92sB+zmm/SZvZarn0Fp/GE0zbJ6YIEUsL74km+1NIGA=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.4_1617762821238_0.8813014513881807"},"_hasShrinkwrap":false},"2.0.5-canary.5":{"name":"@flood/element-cli","version":"2.0.5-canary.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.5","@flood/element-api":"2.0.5-canary.5","@flood/element-core":"2.0.5-canary.5","@flood/element-flood-runner":"2.0.5-canary.5","@flood/element-scheduler":"2.0.5-canary.5","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9386c620c7dd0006ae73893bf07ccb852b2c2c26","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.5","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-xgOfOOZW2D50/V4nhdz7nGp5GNW8mZysGdYYMbWBtn52R2Fqv0JP/ixDo5034p8KFfO8FbsQ+fEMDdkMk53FyA==","shasum":"2460e20c91195cd1589b02722dff3877430c87c1","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.5.tgz","fileCount":83,"unpackedSize":607543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbSFYCRA9TVsSAnZWagAAat0P/3TohCISjkcEs1p4+Hn9\ngZTzbFyOvRSXYvMwp7HBjeFMC/hbZapLSlXB6qw+2DOcTiBdsVm92i35cR9d\nJ4UBpLypA621L/0XqIbsq8WGhRAsEXC/x7O4gBTHPh/hxTgGVy1+q94XfOGC\nnGKXKPoR57uIIPt53gZQRp7P1nAsEraI2LodXglZn0HvX4yUhe8qQC+/+y8K\nlIcfx47Ecak+tw3BuZ1QswrztqUa+1/JiwvlXDhfwQ20eaa3LnHjcDCKv3Zz\nsmtp5dLLjwKs+WKmC/LTN9p25eCYcCL2SS2bnbtDUi1a8FbVxj5Vjm4UI3P2\nZs0YpuuP7JOMgmzV4a7LAkT+un1rUlyW4LOhODsNiD0EUIGVg5hrf51suqJi\neZD7LJO0dv4Ba/Rn9oksX0u9Z3JOkJU3i+porRmISPMN9PBKArLJK2cdDxTh\n5BYDCCiJs6enOJWv4BjA9ymrkqeLVJjURbHhLaCCdCifQdr83wUnD21gYJcp\n6D+0yqaboqbPpECFkCn1FMjTUR3ujQQE1e1qDtlmdGFEhGVGpA4v1Wfonv4L\nAZBXc4uDEhW2u0svAaCI0IYXSSUiO/TnRgfchoBLWHvGyHoihyUSShMZegTt\nO8qAFGPeAsEbWoPPsf4ctHnjzqAPB9yKLhYAioZOXbP4zyzcwX+8LQniEYjq\nj162\r\n=N+rJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHPAquwlhRP5Kjhh8TUhDaPoZ1ELl4VeDTkY6vP3gkiwAiEAv8aLrK580E72NI7n27d8hJoPBZNR5CAYMdxeS1Dc5T4="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.5_1617764696281_0.6449105819884846"},"_hasShrinkwrap":false},"2.0.5-canary.6":{"name":"@flood/element-cli","version":"2.0.5-canary.6","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.6","@flood/element-api":"2.0.5-canary.6","@flood/element-core":"2.0.5-canary.6","@flood/element-flood-runner":"2.0.5-canary.6","@flood/element-scheduler":"2.0.5-canary.6","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"318992bfd67157b876de13c03d2874556e74d343","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.6","_nodeVersion":"12.21.0","_npmVersion":"lerna/3.20.2/node@v12.21.0+x64 (linux)","dist":{"integrity":"sha512-mimTj2PyOIT/dSFKW1HPVrs42E6mzjMqxcp3N9hkagYorYpSCLa2VXgI66yrK69eLLQFspua8M206mZzWWPY8A==","shasum":"9ea01a65acaaba84989c879f025691b88c4f5b1b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.6.tgz","fileCount":83,"unpackedSize":607720,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbWZbCRA9TVsSAnZWagAA55AP/iUxatBVRUyuJKMkZHMd\nKTzaS9dcm9GP74rIFmsKpn/+ZYOEmGUcU8OD3U2blrJXxflzNLS/XSjuphUi\n2Gx5CURfZJIIq7SGSotwnjVYgzDX8ROS28fwZP5Y7ufAp+2cv0GvwVwU7tLe\nQnMXTAIt9ENq+ppWJJ2z5uNw916dg4Nnh7b6Tb1y9/JiZ1ch5JGE48i3YDdV\nE9RsMvWfFqI5e4l+UhDFl8e3GApDEj3IdwmhZPyE+CnNyRVtP66NLEIeqw88\ns6TxlLQPEjK785vuwx/7ATlBozG3u6SXEFqWFKjq0EQ5/HWY6L4kuss6tH5m\nVaVyHqjNYL8/fLNKFCC/kD0cZh2znq3VbGlKsBtRfGa6RjwMRA91jj+IeW4J\nhgie5rW3tXnNfYTmQ/o9mrFv0SEmGqHJF7xL7Z2CBkljh/yM/JPiiF3+YMxX\nCVzhtf7MFGgDGhOoFNbssx4sLWX6kj/nbF3k/usH/65i7/0pMXZeH03sjljN\n6y3CO1ydANFXVPDoG7F8JIWCagZv+UuPg6/KX93UgMg/NTqT5ngVO/sgp/KP\nb3DA4SLY1K2LflDOxxKAH9ACRhU6qX/intmilypKpzhGs1vC8V9uiFgHZ6Hh\nKiZsZC+RU1zv9XUG1pEbXwTSo9WiWzzgOcgIx2MvLR9jpDVO+RJGpO1+8Na9\nd314\r\n=bKJz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFb5mXDelRliDcxxU+J62SuY9MJMO8U3JfdH0P9dlqeAiBOC3ZtUY9ZnmHJidU/Pxz65Vivf8f6RsXMefQ0FXE8pg=="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.6_1617782362978_0.31821643218692164"},"_hasShrinkwrap":false},"2.0.5-canary.7":{"name":"@flood/element-cli","version":"2.0.5-canary.7","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.7","@flood/element-api":"2.0.5-canary.7","@flood/element-core":"2.0.5-canary.7","@flood/element-flood-runner":"2.0.5-canary.7","@flood/element-scheduler":"2.0.5-canary.7","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"5be761c5eb5d00c09a54f2bc77c26e9c7673cdac","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.7","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.20.2/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-HIvuqWgl55ZBZRrOWK3B17tjwUHn2xF+oicxddHEAm0mYjgipEioYlaKDjYByPDqoGGbDbp536y04UlZMP+sAw==","shasum":"a4f978c1875a2985e5b46af6f0e6cbd34e04f58d","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.7.tgz","fileCount":83,"unpackedSize":607897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbnX7CRA9TVsSAnZWagAAKIcP/2xunz/wbT6gj+KqsiQk\n15WK5kvYN/r/nc8N9vgA+8IoRXX4zRfh+x6xCalPIu6aIdKF6xH94H4Tvn7d\nMLzFbCWAQ/5IgzXh+W0gf1FgjXkvWwlgYLnV7OVq9hKntAt44Gbt1mmdG9/q\novgllG9hzQmmlpIqJWSDpxgI6qnB0siOCVJwa/Cf3LLaPlTKo4Wczfn/nUxj\nGzh6/ymacxdwXDGyiYKRIMf0DBPVC+T6lgJn3fr7u53m0++Y266swh34oP8x\nBwOk841YsQBMSl3ZkNeubes9gYBAbxLHFuh/xsSf46eVlA0r65Hy55vHlP6C\n/09Z6aB5XmcLgDE+xnfufhA4cq8Mxgbjd++V+uCzAM6XfuBc/cw6cUozV7Bj\n90zRUnJ1PZpfSG7NjLlh5MWVP+5YVNrCjQDPNVRo/NGqL724hRFQJDVvHPBv\ncIVj7HqdEe+0vkrKy7SbUerN1Bn4/FMbFtwr7a9NtCAO7YSYRdb69h/53tOw\neQkxmQL5wdYKMUbAyX81muS+mQt+82k0Q/oNCdPnwljYyO2edG+HS/8GqOb6\nam56YQRy+brBEFjSW353enZAdDDsR2GJRSNuky0uViN/+2b7azBDz+hE7DuB\na4qWxhOgAxq1ymeaqiQi2wzt9la+hP/12xhm39arYZjcksJ0YTYyN1Pl3jgX\nI70J\r\n=EHg6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkYKZ2S7zSygg9XoLBe+lOVErwX8vmETFRogF739udmAiEAikKtWditGrkxxGKKHfV0pRAZhGV02SiQPIVCApjTTrc="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.7_1617851898821_0.09688465387635437"},"_hasShrinkwrap":false},"2.0.5-canary.8":{"name":"@flood/element-cli","version":"2.0.5-canary.8","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.8","@flood/element-api":"2.0.5-canary.8","@flood/element-core":"2.0.5-canary.8","@flood/element-flood-runner":"2.0.5-canary.8","@flood/element-scheduler":"2.0.5-canary.8","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"0b34a65451c7d02ba65f26245ee9ce66f84d3b0d","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.8","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.20.2/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-dmcBIc+g6AQOajYxaV+C9bPhsDw8VDz8ayUhgwwT48Tqpj+1vQGFLeEPktDDFwCiqUAydvC9jkyWXJZvXnSdsg==","shasum":"7dfcefda97fdcc3d6325773f45688b0d845e52a3","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.8.tgz","fileCount":83,"unpackedSize":608074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbngNCRA9TVsSAnZWagAAmZgP/2rUFeGfiHji56F1RQrc\ndSPpegkNn2IuNsKQIIN2LCuAhM6M3yxoeTfauduVXwYH+C/2lz0579oGvXd+\nWfwZAkoWWX/p6wzg/CeFK61EYkFU0eLS0XRJRMxb/37vMUXOJeDiGtUdSHY9\nLRSKORSNMGaf1lvbqDyUhVzpBlmi7E9SUuj4xB8+1ktmsTu0PC6Ky0QdsU7q\nvrLZqG6XGT98PUhijvcWPtRBCHRVljmsHRMo1o9pyOR3mGQL7qb78KkYaRbD\nmSytK/EbCno7srUvZ1kXC1zo/rzsclvceVpIwwA+AXHXZYVvqd8bhlCVdqsR\n1B9uP+Vo6R9rnsM5C+srB7a93kn1LCXkUVkADqk5ROkVdBsGWTjfZBGJEn2x\n48RZ8f26m9PwSMDVMgy6bNIw22uQevIVbY+mmolLb5pF6oRtBg3i9h5GT3bk\nPxt0zaIzus0ESVljnsxCYhKlzYIRIsE8CJx78msdD74g8HLjOHo5YBsyFk8Z\nwS+BHjqGKPYoyOLtb6HGTxeSC8r93QyWfdtP333lgbJg93CTTOAC3MPXpR2F\ntJx3C54jFCSgEDcmTjGPh29YcaQHSGLPqHuoX8lkjwMvkeqrqYuXQrhoPXDL\n14iCBvYqXq6Ilvzhmqpj+T+5fB9jd75FbXNb/TCCTqVkb0MNvGH9z1UUZGrN\nmbdU\r\n=JY2g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGFruqRo3k2s/wgNEYroUcvhhLlARV4LFt+K74O2GKcgIgPJN0JeQu7wZgmo0E60E+yXEDWrOpopATdZPKJanErx4="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.8_1617852428807_0.5949579728318899"},"_hasShrinkwrap":false},"2.0.5-canary.9":{"name":"@flood/element-cli","version":"2.0.5-canary.9","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.9","@flood/element-api":"2.0.5-canary.9","@flood/element-core":"2.0.5-canary.9","@flood/element-flood-runner":"2.0.5-canary.9","@flood/element-scheduler":"2.0.5-canary.9","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"74143fea891cb6364248137f1aaa0c1f1c2b143a","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.9","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.20.2/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-PXN7jRosGCM6884FHvYT+7g4K72cHUhaAA+KjH2l3Netsk/jbn4onpVm/DL8wtFV5oujyExAzH4Ol2R4RPkaFw==","shasum":"cba232039e6f6ff9901260c58871e706dd7fc0e7","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.9.tgz","fileCount":83,"unpackedSize":608251,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgboEgCRA9TVsSAnZWagAAQVUP/RZvdPxNOLaMbFXhk5rD\noDSmnKdtM0mWv1xt7Ibs2YB1anGIVamcqQM0a91ScQ10rQtOY2uYy12XJusB\nhkBqO5cgiHBChTn9y/Hha5QeMcb7rexo40GHlG3mYdEtjCVW1S10sg/tVLv2\nhcLkyBbVA6IXy/EmMzCp7JcPF/LuJPjxRMVfDljcNMcJ6kozRv47xFWu+nU/\nXpAHa+EAo0xty1FE+5zlIEnBty+AJ/G5Qhsi/vj+A0nc2sopT0v5Z1siKpm0\nnC0qG3ALPLIE4YEq4t/1nXSNYS2J/ePY40c1Gzm0JfVWcEgND9hEbirSPLIC\n9s4zYjDexdwxT0yqtRIZXIBKQiAsXurPcRq5DnSja8hDBfrH7fVuXWwb4elk\npNclYRf6zZQLzJY4F2LqhZjwQ/jnvblkwOTwfSHpk8zT7uoYGmsFM0FypBpv\njHQp8eN7Qd27e6Uxj9LU1/my+dSoPFUTQjdHI5G3MwrDs+pSBUlzgMoa5AHW\nSUmBGMEipgKgyQNky2ON2ETuWHsFl18mJ+1LfOTiQJ2dLOp3OosV8muDdSaO\nWjsEU495xD65DitgpIIvYLEBHNyxNng1lWUK6DnERgSXYapie4xuXqmptT75\nlfwZkr46ECZjmueFk+5nySrdys1Hrb//oz179sk9Ucg9y/HFEaAXpW3YysZv\nTope\r\n=/Kqb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5rfIrTm+4y3ZchK93ctTmgxu2Et+Rdz45m4igFSkkTAIhAPGyE3SbYuRbl5vKZt/+S6PNSxuAlZosPlIfiHPludFn"}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.9_1617854752475_0.6332449558231712"},"_hasShrinkwrap":false},"2.0.5-canary.10":{"name":"@flood/element-cli","version":"2.0.5-canary.10","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.10","@flood/element-api":"2.0.5-canary.10","@flood/element-core":"2.0.5-canary.10","@flood/element-flood-runner":"2.0.5-canary.10","@flood/element-scheduler":"2.0.5-canary.10","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"45d0da7c57f5386c8d7fadc99cde6a7df6e66cc1","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.10","_nodeVersion":"14.16.0","_npmVersion":"lerna/3.20.2/node@v14.16.0+x64 (linux)","dist":{"integrity":"sha512-z/rpZI3fLhP8xeDAlrNVCYL5AdDajxzU0nmwWhIbbl3aKo9uY9U8s0gsq7rbYNpqKOY/eCKJ5uI/L8h5RNeEUg==","shasum":"5cb17686f6029713d7924cbbdb53b983d62200c9","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.10.tgz","fileCount":83,"unpackedSize":508695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb/1GCRA9TVsSAnZWagAAzi4P/jrQtn9eajHgBK2A/2DX\nmPFdwgvazOPNgaYDtQU50+PaI9gDe2a11RuVN3UyaPeY8MfzydfWZB2bwogd\nAw8QVNkgNyarfPAcSGKqlZtemAsyTxi4sxd3Vso6zHmxRhMQXJglaHz0F7TQ\nEE70ed4vkSM6snRjfl+Y259gmID6ol1F1gKSBysnooDI7HTySwnYNXVp/tmt\nKOGaM22DbxNuc5E0fxnryUXbrr0GjnW2UKfLHmEIu2WaUSSP58c4NRI8F27w\npTN6NLDghSCB5nD0PL8jzX4KfZu+/EdijOw8Ie0zDIqgK4Sx6+/H1ugebxyV\n3oI5k32gmPW9Ejg8fvpp7SositBATVWmt5BodoLN/ScwQ2Kprp6GeJUQLjpB\nCAgzCRHM1dbjogaEC7R8SOObTOuIv1B+iysB4/amms4ft7Pxw8Jp1KTzZ2GH\nhf4gPeYB9T/T7zX4dv8yp58JCTUOVQeyjDA/RPRUXaNE/WRRu3spZt0PolQi\nIgaWnGRqjnnrC/kTpMlnI1N8xf3V/f9u2sFBZSHOlndxtVDJhqAewfPv+Zmt\nre14ppW+qggi9/H6fK7PXlHe1KS5tGphQPGIc4T+/a54cGrcn/6GeGDnqFU/\nj6lcoqAgSHts/ka2LJ4JCxL2XBezx6XlceAYcxKU1K6JWnzNneFizZeM4C7O\ngTsP\r\n=IVR9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZQ+PtP1ce/rFgqXcJh805BrpIPnOspB/ONUZDH5cmvAiEAsFLqbsGSx5evHEcU6A+UgHs6JSr/mnTwSIyiVKimgcM="}]},"_npmUser":{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"ivanvanderbyl","email":"ivanvanderbyl+npm@gmail.com"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.10_1617952070075_0.8518969779701604"},"_hasShrinkwrap":false},"2.0.5-canary.15":{"name":"@flood/element-cli","version":"2.0.5-canary.15","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.15","@flood/element-api":"2.0.5-canary.15","@flood/element-core":"2.0.5-canary.15","@flood/element-flood-runner":"2.0.5-canary.15","@flood/element-scheduler":"2.0.5-canary.15","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"dfd9069184d109f36d228e2bb99f7876b0ddacfd","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.15","_nodeVersion":"14.16.1","_npmVersion":"lerna/3.20.2/node@v14.16.1+x64 (linux)","dist":{"integrity":"sha512-4A+Mjz4XljTM1Zxbr+reyJe/eLpkvTkA5chfRd97KYlfaJFcSlx52Z232wTSwudHMRTKXQcVXzR4MKGX1r+OgA==","shasum":"d4602a6324fae063a048ef5211ea765a607e24cf","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.15.tgz","fileCount":83,"unpackedSize":509575,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglLY0CRA9TVsSAnZWagAAQ1IQAIiuxLdFcP700ZVgKn6k\ngnJkw8x9LWbr7ZvBsr6lOIX0BjV9F8dOphY8gbSelfWqHBxnATAvod/tN1gY\nKsFmupqFxjYLFzhKPbX4Tr/exfbMcd0AT/PCglt82vTvraKI8uHZ9GOEuW3U\nVz46G0d/BKHRJpof7KiUGR0+ycR/O8Bu5oc7jiRTDC1njVQTnuO9TRbE7BAd\n5MWttmYVyK6ECCWHQxxq+xcd94YL7QnUcltUqht1Wq8XYd7aSFDnfDNOU0E1\nK9cq2qlpN+aPnXGMNhAgPT80xG3Z47zEaL9uQyhPO2WuhFBN1sgSXNuUp/8F\ne8k7fYgvVbZ0euMu0ebqgrJaBM8jH7l6NpXks7uR778xuLLMbNjvs/5hZxAf\njX53is9jixAZONw8dk7fTZA1oqPd5/3FHufTFzgoY60qAHAb2XjvSDEwnFeV\ncI2SJw4/PIEkdqx1pgO11T64BxPbpkvWFfqGXjYx/gQm/TCg6/YuP4rNA+7l\nrWBl93Gh1MY6PxgAcb8d4VPOD7ga4DcwOwEqpL+8jEdLuPGGcxFp4o4cb7h4\n9BjrEZ54hWYMn8wiJ6uetjwD1a/tcqppmOHutDY8ITZ+bNLZX798lXqUAEdN\nVCwD2GsQwvgRIAqqrMr+mvBUUzkEehhl18pDPMlFUOc5svZ1VG+tkhXBZhEA\nZ4Ai\r\n=YZDz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADLaMNDtUOpmO0+ljz8eMIMgwAwpmKqMvE9e4huTLszAiEAzAH8R1+9Cs+DsixCEQR2yN1o/ZBBRuDtNgqDzJouMzo="}]},"_npmUser":{"name":"bockit","email":"bockit@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.15_1620358707658_0.4569929225558689"},"_hasShrinkwrap":false},"2.0.5-canary.16":{"name":"@flood/element-cli","version":"2.0.5-canary.16","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.16","@flood/element-api":"2.0.5-canary.16","@flood/element-core":"2.0.5-canary.16","@flood/element-flood-runner":"2.0.5-canary.16","@flood/element-scheduler":"2.0.5-canary.16","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"db005faa715ac1fb50ecd956e4a0e9683ef6ccfa","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.16","_nodeVersion":"14.16.1","_npmVersion":"lerna/3.20.2/node@v14.16.1+x64 (linux)","dist":{"integrity":"sha512-cqF1veUfW4JyoVkQhrkQ03BE1NSl/ZZVs76Q5eueblIK+9WHupU1Ag2ooxvIwZP6UcrGALJvTGFKzvhbmjwf8A==","shasum":"3d6a1c65427781519d91d526a3c8e4a8a9f25707","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.16.tgz","fileCount":83,"unpackedSize":509751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgm0ctCRA9TVsSAnZWagAAmiwP/A3z+ZDxUvyl6fAfcV8u\nORzSXkopcKG0r5II8BzGaCGQmY4VgOO00tt97ekaosX3rXSrau5ZwO9VmHm0\nJ0M+M+a18i4wSBizqs2LHalUKvP7HOf9RzFqhicrXSkYLIhcTNKC7EZoZeeq\nDbbH+l9zvIijPGHkJvFUffORb589ur35tRHEOfTXtgzWZ2e5P+Q59fWsxUrd\nlguKndJFrK9hDoG4fcRA1/Mto/IaO4gpkid9+F1FbL+DSBdP0gEHmZkzbi3X\nEyoG3jowAZbgbbPvKG0crXkRMVxAR8BiqOexcWmA2rQmdPPFCBUZUER34jmZ\nlusrqkJRfkiIr4Fh/UY0WmOZLceJM0NaL38yjb8R+7xMNrYwnThe1O52lBA0\nKBz1ScWlDLq/iocaXoILCPG0fc/t3b2qdlRSyst+17AxLwbnHrtdZ5jtGDtn\ngtbRbyX/4E+kgQl4XKuRJKcQqxUYx2E3BXg/1aL2CEb69zlwpeJrnJ1LWS+b\nzdGJywzuP5QURWcW8yL7LAj9M4IGRyhDLLlT2mClenwvpb2fdIcD/n72lx6I\nxO5Zlsq1GO05z69paJsTMJeNpocuWdIlpdPoBuEkXRXctdEtiwjSERf1YE/2\nXOioAT8kzYexltuWgViMUKrPTcpjItW5lEMEdQIciqEfHJa63ufDllbTYfVo\nCuVk\r\n=KtQw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/+CzPsqad1WTW2gi61t6znMWmVTESdD6OhywWa/TpegIgXPgZbCGvgPS6gFa2+E2coIFV4a5lyAXxiGvbO8SpWDQ="}]},"_npmUser":{"name":"bockit","email":"bockit@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.16_1620789036972_0.7963531366141936"},"_hasShrinkwrap":false},"2.0.5-canary.17":{"name":"@flood/element-cli","version":"2.0.5-canary.17","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.17","@flood/element-api":"2.0.5-canary.17","@flood/element-core":"2.0.5-canary.17","@flood/element-flood-runner":"2.0.5-canary.17","@flood/element-scheduler":"2.0.5-canary.17","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^4.1.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.3.3","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/command-exists":"^1.2.0","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"19c918b90d9e238644206f539e3de84614c9064c","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.17","_nodeVersion":"14.16.1","_npmVersion":"lerna/3.20.2/node@v14.16.1+x64 (linux)","dist":{"integrity":"sha512-iEdn/nCY/YckVQWHcD9v7YrVQxGmeIbaHcOv+7jyPyAuBAZtlCiba3b0kT0CN6lg1LB0goAcafa+ALdFUiOkRw==","shasum":"569c67c19e38d9d330881dfb73f1dfb070faecec","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.17.tgz","fileCount":83,"unpackedSize":533812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnfeKCRA9TVsSAnZWagAAyg4P/jyw7JkfVDhtHsGLKDtl\nqqIGN0dwh8+3YfZLzK0A/z5DT4dnV0x0aBJco0AvXQWWWJNlhSwJEtUr8ImR\nr6Kgq6744TwFqPi8dvmARnK9XxK2a0nuiOtPa6n2OHVHcaaJ/BUPZrMt2ZIw\nEz7RlQ69yik/v5YD8rjlt9vTY+vSgoKbw8cI8xG1CWVHvaMMp51GmUh3e9hd\nno6w1mVfe4TsyvPLACmgQFiIc0uNTqOOhlknygMDs+StIMQx6ZWkdce1BILB\nvFADXdEa3jobf01cbgdRuBkknVmPQORth3+A6TFeW9QltWidVPD++kpxSGsU\nP3c7nCX4ZLrlJpVPAnvIb/ejDyuBGXq0fzz9Z4OJamIS+xZzrhmdav0b0zzn\nf+N6Tv5BEMQhJvzzN2h14FwKVLh9eBKuuBEyKK6E9Fl8koQzhfU5/79XTU68\n4HnWi/G9otGEt4ShuEFVsvaykBmTx0NQo4KMhvgylRTgRlkH8QMpztI6BzXQ\nMZB7tXpRkarbDaM8kd/JhH6RzpSc+EqKAj71SzyJVV3eu+ntq2LUbk8gE+v+\nmtOL75yvrh/4lfXv2UQaOdkE1COinDVqz/MBK8YCXq75MAgwvsIPPSC98fTA\nEcnefQ8iwQia95SuZoIg3Pe8VqdzGf6ikuRHEzeInQjWytw/GqJZMMYB07EA\npJJF\r\n=rMyt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENevncc1aHhAr6pVeh8BRbEWd7nYiL+aj7N/NdyQ1xqAiBqpo9wy/SkXIIbYzc+Haxmw5drs6HAl+ahAA+YE8Qa7A=="}]},"_npmUser":{"name":"bockit","email":"bockit@gmail.com"},"directories":{},"maintainers":[{"name":"andybluntish","email":"andy@bluntish.net"},{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"bockit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.17_1620965258389_0.7390771646598795"},"_hasShrinkwrap":false},"2.0.5-canary.19":{"name":"@flood/element-cli","version":"2.0.5-canary.19","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.19","@flood/element-api":"2.0.5-canary.19","@flood/element-core":"2.0.5-canary.19","@flood/element-flood-runner":"2.0.5-canary.19","@flood/element-scheduler":"2.0.5-canary.19","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^4.1.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.3.3","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/command-exists":"^1.2.0","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"9d4752650ffba1e157b60a8333c46e7d209eb032","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.19","_nodeVersion":"14.17.0","_npmVersion":"lerna/3.20.2/node@v14.17.0+x64 (linux)","dist":{"integrity":"sha512-4IB3LPjiVP0cntwPA2B/IX38Y5hSq8+IWLDAxSYYokoq1b7E17PtdS2GdpwN0Balp5sFNQ/uMf+BWER4tGrdyQ==","shasum":"43d4379a2395bd364c4fa823371c43c8dc67b140","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.19.tgz","fileCount":83,"unpackedSize":534164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgzCA9CRA9TVsSAnZWagAAuPYP+wWJW6+MMqrU4oX6/prP\nBM7HPmRE+Da73q9cCvT922Dww5TLnnK7/51K/7xy1RxtQ4I14wj2yk1Jx3vb\n/aPEkQ4CVhXUYGd9JIQvVD4+uV9zotirKGrevs2AuCFNfn7lyXq09cTJjian\nYxW63gMwBaI1xKBICkmgepXKj1VN4bkniKqKoqhbI0vj9KsrSBZH+zTCZH+P\nf/CLIwNvM7+mtcasatq5SB/cXCtPk7ljmP5XMecjn+fwN4Ze3Rkg5TJtb/oA\ngYkpgIg/lxYo8ICWn+n3ha+qK60DoxO8dJe54Vqyd7MwIFWInEXqcbVqXyg3\n3QGgoMq4P5WeSsHXU0IigMYDINg+oW85VvyzIz7jE4RqnjVAlUxl7VipUJcU\ncVVcP2+4gK5gesAxBgxqNSN6k7+To28PKwASgXLycCJ2mjheBegx8/M/fQs0\n8beWZlo2K8HGJjtR2G42mBEsvdQI1K5Zg8MeX3l1zEkRNQqoMxUKE5i6CiwQ\nwwKmUTWMP4749k4lNcbAOhyGhvgb32Fiyyh089WfV3fffB6XPMjJv0wPt5Kf\nA+R/oYwDFO0b1st/3NAjDyXsQ5DjHTUlYgCVZKEuqSthHycIYCzV7sQXAvkE\nas/Bd00pL55elV6y+Lw8JW0yuf+9H4kwtzYpONtR3uZzZxPk5maw9ITfjR+u\nc1F7\r\n=+M/O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmBxbCcSYNgX75bJbOTHWr943BqOkHnMOsosBJxEWLIAiEAqqpmWIoegPeWMfNAQKaxgBS8icoCME1BA61vuXEkdvQ="}]},"_npmUser":{"name":"bockit","email":"npm@jameshiscock.com"},"directories":{},"maintainers":[{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"npm@jameshiscock.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.19_1623990333024_0.497132505191328"},"_hasShrinkwrap":false},"2.0.5-canary.20":{"name":"@flood/element-cli","version":"2.0.5-canary.20","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"2.0.5-canary.20","@flood/element-api":"2.0.5-canary.20","@flood/element-core":"2.0.5-canary.20","@flood/element-flood-runner":"2.0.5-canary.20","@flood/element-scheduler":"2.0.5-canary.20","@types/find-root":"^1.1.2","boxen":"^3.0","chalk":"^4.1.1","chokidar":"^3.4.2","command-exists":"^1.2.9","css-loader":"^3.4.2","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","mini-css-extract-plugin":"^1.3.3","ms":"^2.1.3","node-fetch":"^2.6.0","ora":"^2.1.0","sass":"^1.30.0","sass-loader":"^10.1.0","slug":"^2.1.0","ts-loader":"^8.0.12","update-check":"^1.5.4","webpack":"^4.41.5","winston":"^3.3.3","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/command-exists":"^1.2.0","@types/mini-css-extract-plugin":"^1.2.2","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"1c95ba6a5dfdd3c5e3d4ef6b7cf6fc41d991e1ac","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n- [Flood Element CLI](#flood-element-cli)\n  \\- [Installation](#installation)\n  \\- [Getting started](#getting-started)\n  \\- [`element run <file>`](#element-run-file)\n  \\- [`element plan <file> [options]`](#element-plan-file-options)\n  \\- [`element init [dir] [options]`](#element-init-dir-options)\n  \\- [`element generate <file>`](#element-generate-file)\n  \\- [`element generate config [file-name]`](#element-generate-config-file-name)\n  \\- [`element run`](#element-run)\n  \\- [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n  \\- [Run an Element script on Flood](#run-an-element-script-on-flood)\n  \\- [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n  \\- [`element flood project ls`](#element-flood-project-ls)\n  \\- [`element flood use 'project-name'`](#element-flood-use-project-name)\n  \\- [`element flood project`](#element-flood-project)\n  \\- [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nFirst, make sure you have installed the [latest version of NodeJS](https://nodejs.org) for your platform.\n\n```bash\n# Using yarn\nyarn global add @flood/element-cli\n\n# Using npm\nnpm install -g @flood/element-cli\n\n# Verify install\nelement --version\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--browser`\n\nSpecify the browser type used to run the test, using either `'chromium'` (default), `'firefox'` or `'webkit'`\n\n#### `--executable-path`\n\nPath to the installation folder of a custom Chromium-based browser, used to run the test. If set, Element will ignore the browser settings, and use this custom browser instead.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root to save the test results. (Default: a directory named after your test script, under /tmp/element-results of your project folder)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n\n**Options**\n\n- `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n\n**Positionals**\n\n- `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n- `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script\n\n**Options**\n\n- `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n- `--vu`: number of virtual users to simulate. Default to `500` if not specified\n- `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n- `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@2.0.5-canary.20","_nodeVersion":"14.18.3","_npmVersion":"lerna/3.20.2/node@v14.18.3+x64 (linux)","dist":{"integrity":"sha512-XLmrsBeRW7RMinsWe4HZ57UY8QE988JNEivYGbKtDdQidZ6QenaDRWySTCKmjvOxLb0R9OXDTQjBFXtROiY5og==","shasum":"816f1191cbddef49a9b72f3c0a54b3fb95c54390","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-2.0.5-canary.20.tgz","fileCount":83,"unpackedSize":534340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+0rQCRA9TVsSAnZWagAAMeUP/AkSjKKlYJQolMIdQgJg\nvEX4qWrRxyi2RHzxl13QgGrjg5IT6IZv1A/KQdw5TVPhN9fA72py62K+p54Q\nDg3JRGm4PrE/gZuXln7H49Xbft5Xwlnwxh5AmYhD5JZZZWdL1NS6P1CO94NI\nWcasCie2GSqMWSvoSuHdpQgyI9nIGM/xR9sI5MTO81x0LugBYGIdnNhD3T1K\nmvHGo3K+JoqHB7SCWOynSGhq3OaaGZKplSbwkEsTI9t/4pu40yxhfNRjuda/\nHrIkvSO5l/OKJPa6pRzjGzoQIkADDt4F6GCflqb/R4IRXDhPVcva8eqMa+kj\nnFpmcslGHdoJuOYMCGMlIT3X63N3GXI0GJljPTEh7WyBpgsGjT4rWcJGaQj6\nfAzMvvPfl0xQU0+O+Bf3JLWhnl/uqwVKKKeP1yP/ASV/J634+fInb/YYz+V+\nobjZuBtHSdhTRU36/FyUcNe76chJHva/UvrTHITYbikg8M2NpE6bTJ2Xc6pg\nSR/HWKbAblSriZ/gcniu7oRhdmk2eDyAwcIvigC2ptfvLQoqPv5DCM5YJ0E0\nPbRD1SJuImHbDGE3aEhfXBuYT1LT9aJn72S4kls/29eIHlL1DWFl1jMCzbv3\npTJZ4wxaBxIX4w4bOZf3JI3XrLSQQGOQ7r6J+EA/iRxq1JV3WN7/+o1nvKY/\nx9DS\r\n=qgvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkVWA/bKcYlFCiVNvjK0IdoqbHkstPW+pXYkWk6P9YXAiAmp9VaW+vc6Bdh4tYWN4fNpP/c4LusYSnWq1R0elP+6Q=="}]},"_npmUser":{"name":"bockit","email":"npm@jameshiscock.com"},"directories":{},"maintainers":[{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"npm@jameshiscock.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_2.0.5-canary.20_1643858639925_0.11101239473134972"},"_hasShrinkwrap":false},"1.5.5":{"name":"@flood/element-cli","version":"1.5.5","license":"Apache-2.0","description":"The command line interface for Flood Element","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bin":{"element":"dist/bin/element.js"},"main":"dist/src/index.js","private":false,"scripts":{"build":"tsc","prebuild":"rm -rf ./dist","dev":"ts-node ./bin/element.ts"},"dependencies":{"@flood/element":"1.5.5","@flood/element-api":"1.5.5","@flood/element-core":"1.5.5","@flood/element-flood-runner":"1.5.5","boxen":"^3.0","chalk":"^2.4.1","chokidar":"^3.4.2","command-exists":"^1.2.7","debug":"^3.1.0","find-root":"^1.1.0","form-data":"^3.0.0","import-local":"^3.0.2","ms":"^2.1.1","node-fetch":"^2.6.0","ora":"^2.1.0","slug":"^2.1.0","update-check":"^1.5.2","winston":"^3.0.0","yargs":"^15.1.0","yeoman-environment":"2.3.0","yeoman-generator":"3.1.0"},"devDependencies":{"@types/boxen":"^3.0.1","@types/chalk":"^2.2.0","@types/command-exists":"^1.2.0","@types/find-root":"^1.1.1","@types/ms":"^0.7.31","@types/ora":"^1.3.4","@types/semver":"^5.5.0","@types/slug":"^0.9.1","@types/yargs":"^15.0.4","@types/yeoman-environment":"^2.3.2","@types/yeoman-generator":"^3.1.4","@zeit/ncc":"^0.20.4"},"gitHead":"a4acc18d14add561ccc2475a49adc5f26fd00939","publishConfig":{"access":"public"},"readme":"# Flood Element CLI\n\nA tool for developing Flood Element test scripts.\n\nInstall Element CLI on your own machine to quickly iterate the development of your Browser Level User test script.\nOnce you're satisfied, upload it to [Tricentis Flood](https://flood.io) use it to generate 1000s of users of load in a full-scale load test.\n\n-   [Flood Element CLI](#flood-element-cli)\n\n-   [Installation](#installation)\n\n-   [Getting started](#getting-started)\n    -   [`element run <file>`](#element-run-file)\n    -   [`element plan <file> [options]`](#element-plan-file-options)\n    -   [`element init [dir] [options]`](#element-init-dir-options)\n    -   [`element generate <file>`](#element-generate-file)\n    -   [`element generate config [file-name]`](#element-generate-config-file-name)\n    -   [`element run`](#element-run)\n    -   [`element run --config-file [path-to-config-file]`](#element-run---config-file-path-to-config-file)\n\n-   [Run an Element script on Flood](#run-an-element-script-on-flood)\n    -   [`element flood authenticate <flood-api-token>`](#element-flood-authenticate-flood-api-token)\n    -   [`element flood project ls`](#element-flood-project-ls)\n    -   [`element flood use 'project-name'`](#element-flood-use-project-name)\n    -   [`element flood project`](#element-flood-project)\n    -   [`element flood run <path-to-script> [options]`](#element-flood-run-path-to-script-options)\n\n## Installation\n\nThe easiest way to install on MacOS is via [homebrew](https://brew.sh):\n\n```shell\nbrew install flood-io/taps/element\n```\n\n**via npm or yarn**\n\nIf you're installing as an npm package, please first ensure you have the most recent version of node installed.\n\n```shell\n# npm:\nnpm install -g @flood/element-cli\n# yarn\nyarn global add @flood/element-cli\n```\n\n## Getting started\n\nGenerate a test script environment\n\n```shell\nelement init my-load-test\ncd my-load-test\n\n# edit the test script with your preferred editor\n# in this example we're using VS Code\ncode test.ts\n```\n\n```shell\nelement run test.ts\n```\n\n### `element run <file>`\n\n`element run test.ts` runs your test script against a local browser.\n\nNote that if your script loads CSV or JSON test data, the file is assumed to be in the same directory as the test script.\n\n#### `--watch`\n\n`--watch` runs your test script, then re-runs it when the script is changed (when you save it in your editor for example).\n\n`--watch` runs the test script against a single instance of the browser, so combining with `--no-headless` or `--devtools` shows the browser as the script runs, then leaves it open for you to inspect.\n\n#### `--no-headless` / `--devtools`\n\nWhile developing your script, it can be handy to watch the script as it works through the actions you've defined.\n\n`--no-headless` simply shows the browser while your script works. Once the script ends the browser is closed.\n\n`--devtools` shows the browser with Chrome Devtools open.\n\nConsider combining these flags with `--watch`. This will leave the test browser open for you to explore the state of the page e.g. via Chrome Devtools.\n\n#### `--ff` / `--slow-mo`\n\nWhen running a script as a load test, you usually will set `actionDelay` and `stepDelay` to simulate users' think time, and perhaps to avoid overwhelming the target site.\n\nWhile developing your script however, it might be useful to speed it up or slow it down by temporarily reducing or increasing `actionDelay` and `stepDelay`.\n\nFor example, when you want to iterate a tricky interaction quickly, speed the script up with `--ff`. Consider combining with `--watch`.\n\nIf debugging a complex interaction, slow the script down with `--slow-mo`. Consider combining with `--no-headless` or `--devtools` to watch the browser in action.\n\nYou can use `--ff N` and `--slow-mo N` to set the delays to N seconds.\n\nYou can also use `--step-delay TIME_IN_SECONDS` or `--action-delay TIME_IN_SECONDS`.\n\n#### `--loop-count N`\n\nSet the number of iterations to run your test for. Since `element run` is usually used for developing and debugging test scripts, this is `1` by default.\n\nSetting a higher `--loop-count` could be useful for things like testing test data supply or generation.\n\n#### `--chrome <custom-chrome-path>`\n\nSet the version of chrome to use. By default, `element run` uses the version of Chromium bundled with Puppeteer.\n\n-   `--chrome` with no arguments will be equivalent to `'puppeteer'` (i.e. use the version of Chromium bundled with Puppeteer). Change it to `'stable'` to use the Chrome version installed on your system.\n-   `--chrome /path/to/chrome` will use Chrome at the given path.\n\nNote that when running as a load test on [Tricentis Flood](https://flood.io), the versions of Chrome are recent but fixed to particular versions and may not match the custom version you select with this flag.\nUsing the puppeteer-bundled version is a safe choice unless you need to test features which Chromium doesn't support such as DRM video playback.\n\n#### `--no-sandbox`\n\nSwitch off the chrome sandbox. This is useful for some linux configurations which lack kernel support for the Chrome sandbox.\n\n#### `--verbose`\n\nPrint out the Test Settings and some load testing metrics like `throughput`, `response_time`, `latency`, `transaction_rate`, `passed`, `failed` while the test is running.\n\n#### `--strict` (DEPRECATED)\n\nCompile your script with stricter typescript type-checking. This can be useful for writing more robust test scripts and sometimes as a debugging tool for discovering subtle problems with your script.\n\nSpecifically, this flag turns on the `strictNullChecks` and `noImplicitAny` TypeScript compiler flags. See the [TypeScript documentation](https://www.typescriptlang.org/docs/handbook/compiler-options.html) for more information.\n\n#### `--work-root`\n\nSpecify a custom work root. (Default: a directory named after your test script, and at the same location)\n\n#### `--test-data-root`\n\nSpecify a custom path to find test data files. (Default: the same directory as the test script)\n\n### `element plan <file> [options]`\n\nOutput the test script plan without executing it.\n**Options**\n\n-   `--json` (boolean) Output the test plan as JSON format. Defaults to `false`.\n\n### `element init [dir] [options]`\n\nInit a test script and a minimal environment to get you started with Flood Element.\n**Positionals**\n\n-   `[dir]` (string) the directory to initialize with an Element test script. Defaults to the current directory.\n\n**Options**\n\n-   `--skip-install` (boolean) Skip yarn/npm install. Defaults to `false`.\n\n### `element generate <file>`\n\nGenerate a basic test script from a template.\n\n### `element generate config [file-name]`\n\nGenerate a config file from a template.\nFlood Element supports using a config file across tests within a project. The default config file name (if not specified) is element.config.js, with the content as below.\n\n```js\n\nmodule.exports = {\n\toptions: {\n\t\theadless: true,\n\t\tdevtools: false,\n\t\tsandbox: true,\n\t\twatch: false,\n\t\tstepDelay: 0,\n\t\tactionDelay: 0,\n\t\tloopCount: 1,\n\t\tstrict: false,\n\t\tfailStatusCode: 1,\n\t\tverbose: false,\n\t},\n\tpaths: {\n\t\tworkRoot: '.',\n\t\ttestDataRoot: '.',\n\t\ttestPathMatch: ['./*.perf.ts'],\n\t},\n\tflood: {\n\t\thosted: false,\n\t\tvirtualUsers: 500,\n\t\tduration: 15,\n\t\trampup: 0,\n\t\tregions: [''],\n\t},\n}\n```\n\n### `element run`\n\nRun a test locally with the default config file\n\nElement will find all the test scripts within the current project that match the `testPathMatch` pattern specified in the default config file, then sort the scripts alphabetically (by path-to-script) and execute those scripts sequentially, with the options as specified in the config file.\n\n### `element run --config-file [path-to-config-file]`\n\nRun a test locally with a custom config file\n\nThis would be useful in case you want to reuse a config file across different projects. Provide an optional path to config file in case you want to use another custom config file other than the default `element.config.js` file in the current project.\n\n## Run an Element script on Flood\n\nSince Element 1.3.0, you can launch a flood directly from Element CLI. To do so, you need to be authenticated with Flood first.\n\n### `element flood authenticate <flood-api-token>`\n\nAuthenticate with Flood from Element CLI\n\nVisit <https://app.flood.io/account/api> to get your API Token, then paste it into the above command to get authenticated. Unless you want to change the API Token, this step should be done only once.\n\n### `element flood project ls`\n\nList all Flood projects\n\n### `element flood use 'project-name'`\n\nSelect a Flood project to use\n\nor\n\n```shell\nelement flood use <project-id>\n```\n\nEvery flood needs to belong to a project. Therefore, you need to select a project to use before you can launch a flood.\n\n### `element flood project`\n\nPrint the current project being used\n\nThis command would be useful in case you forgot the Flood project that is being used.\n\n### `element flood run <path-to-script> [options]`\n\nLaunch a flood from CLI with a test script \n\n#### Options\n\n-   `--hosted`: indicates you're going to run a flood on hosted grid. Ignore this option if you want to run an on-demand test.\n-   `--vu`: number of virtual users to simulate. Default to `500` if not specified\n-   `--duration`: length of the test, measured in minutes. Default to `15` minutes if not specified.\n-   `--rampup`: the amount of time it will take to reach the defined number of `vu`, measured in minutes. Default to `0` if not specified.\n\n> **_NOTE:_**\n> After running the command `element run flood`, you will be asked to select regions (to run on-demand test), or grids (to run a test on a hosted grid). To navigate among the options, use the Up/Down arrow key. To select an option, press the Space bar. You can select multiple options if you want.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/flood-io/element/issues"},"homepage":"https://github.com/flood-io/element#readme","_id":"@flood/element-cli@1.5.5","_nodeVersion":"12.22.10","_npmVersion":"lerna/3.20.2/node@v12.22.10+x64 (linux)","dist":{"integrity":"sha512-7az+kRX75AjEW7xKhKgQLt87FLh+ng4yqC0dloFmLBxfHn+CiZavtaaVBAAXd36V2Gb6EeE39n8Pvfkx6bbaJQ==","shasum":"cd8dd2a803888f938f630a63e1d1438207c9e88b","tarball":"https://registry.npmjs.org/@flood/element-cli/-/element-cli-1.5.5.tgz","fileCount":73,"unpackedSize":474982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH/XjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGGhAAnrQfu68bYsCiPGyoA/4wIjjKhVNjRKj6+kKHMBIVf0WC5Bvd\r\nMDXyDOHzInGIKdva6ElGHZCeqF2Y34oRi827hfCwCo4HxSY+J8q3HKNnOsQR\r\nOxQNDFgprtK0W1PPerkg/Y1r4Enn+eMf9yqdMWEFpus8kHwXS8r74r8uDzxA\r\n00uCTXHEs8OTKz5RP+M0LaMWu4MBEblOJF/E+b5TmaRJrp5mx5txZjfWV8fE\r\nYmKpHjTggr/idu9yvnCXZifNq2ljgcHjrSVI4EcOvrL0TnSHw/8J3bOKdEB8\r\nIlcPrEa0pSBLLkXQKX3ZThHkGhjNdwCs26lm/HwnbMrj2tpLuSvbttidC1li\r\noxsQmz22y/ZqdeLljo+x/Xdz1ak1pyRgr0gPi83ub3XRvq8Ada3OmAh8sTi8\r\nV9vACWNRtppD0VA3zDlPEPVPbcO/hwgCIbl8nWqsTuJaoRSymlY4hBZPXmSN\r\nLrhVtIfDI8k8O345xtrdEnU1+dKYHYNV4mmPkYaKCtC2WHyrB7Kwyr5uiTX+\r\np4pQ6PhC8pXI2aaJqUyCXg40IhnGjHmwMQimZQRJ0dCfMbG0FpgI0TEjm0WC\r\n/nsIsosFr4atmTF0RoZ9x7nvvwszwWkOuzFBmJVvDanxnXyf1RJq4of8EvBs\r\nbMOgMvCnOIhb/gfYV3IT3P7OzatO7qOeu3w=\r\n=6IRO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2hpXSpVEtXH/kbJwuB94/EMv5DLcvocIH2Mr7Nnd5qQIhAJpRwvNuoB4bVlIt7cJ7XCWYwM2OkVeJ+AElexAzhavq"}]},"_npmUser":{"name":"bockit","email":"npm@jameshiscock.com"},"directories":{},"maintainers":[{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"npm@jameshiscock.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-cli_1.5.5_1646261731306_0.7670024323207048"},"_hasShrinkwrap":false}},"maintainers":[{"name":"lachie","email":"lachiec@gmail.com"},{"name":"bockit","email":"npm@jameshiscock.com"}],"description":"The command line interface for Flood Element","homepage":"https://github.com/flood-io/element#readme","repository":{"type":"git","url":"git+https://github.com/flood-io/element.git"},"bugs":{"url":"https://github.com/flood-io/element/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}