Adds --record and --replay flags. Record is a boolean that will return the pageId with a successful objective. Replay takes in a session ID. If we're replaying, we skip all checks, since we don't actually use anything else provided besides our core auth credentials.
One thing I will note is that we don't seem to provide any logs for replayed routes, which makes this somewhat pointless at the moment.
Finally I will also note that bin/run.ts is getting a little complex and messy and it's getting due for a rewrite or at least a reconsolidation for different task phases (placing validation, auth, runner steps into their own files, probably).
Adds
--record
and--replay
flags. Record is a boolean that will return the pageId with a successful objective. Replay takes in a session ID. If we're replaying, we skip all checks, since we don't actually use anything else provided besides our core auth credentials.One thing I will note is that we don't seem to provide any logs for replayed routes, which makes this somewhat pointless at the moment.
Finally I will also note that bin/run.ts is getting a little complex and messy and it's getting due for a rewrite or at least a reconsolidation for different task phases (placing validation, auth, runner steps into their own files, probably).