You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSShell supports a neat useful feature called pre-flight-scripts. This feature enables us to automatically run a set of commands on every new registered client, with zero interaction from our side. The file containing the preflight scripts resides in the resources directory and it's called preflight.json.
The file itself contains a list of strings, which every string represents the client side JavaScript code we want to run on every registered client. In example, by default the file contains scripts to collect: