@vosjs/cli 0.45.0 → 0.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-JRRM7P5G.js → chunk-4HW2XR5K.js} +3 -2
- package/dist/{chunk-JRRM7P5G.js.map → chunk-4HW2XR5K.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/index.js +1 -1
- package/dist/{run-3TY74GWE.js → run-S4EZ5OIT.js} +2 -2
- package/package.json +4 -4
- /package/dist/{run-3TY74GWE.js.map → run-S4EZ5OIT.js.map} +0 -0
package/README.md
CHANGED
|
@@ -93,7 +93,7 @@ vos plan take --reuse # re-time that cut onto
|
|
|
93
93
|
**`vos session`: takeover mode, local.** A production app behind an emailed code, SSO, a passkey or a CAPTCHA has no form to script and no test auth to mint from, so a person signs in once and the recorder reuses that session:
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
|
-
vos session open https://app.acme.com --name acme # a plain Chrome window opens; sign in,
|
|
96
|
+
vos session open https://app.acme.com --name acme # a plain Chrome window opens; sign in, quit it (⌘Q on a Mac, closing the window is not quitting)
|
|
97
97
|
vos session check acme --url https://app.acme.com/dashboard # does it still open the page? exit 0, or 4
|
|
98
98
|
vos record --actions actions.json --out take --session acme --strict
|
|
99
99
|
vos session list · vos session rm acme
|
|
@@ -7498,8 +7498,9 @@ async function openSession(name, url, opts = { log: () => {
|
|
|
7498
7498
|
"--window-size=1100,800",
|
|
7499
7499
|
url
|
|
7500
7500
|
];
|
|
7501
|
+
const leave = process.platform === "darwin" ? "then quit Chrome with \u2318Q (closing the window alone leaves it running, and this waiting)" : "then close the window";
|
|
7501
7502
|
opts.log(
|
|
7502
|
-
`a Chrome window opened on session "${name}": sign in to ${new URL(url).host},
|
|
7503
|
+
`a Chrome window opened on session "${name}": sign in to ${new URL(url).host}, ${leave}`
|
|
7503
7504
|
);
|
|
7504
7505
|
return new Promise((resolve10, reject) => {
|
|
7505
7506
|
const child = spawn(exe, args, { stdio: "ignore" });
|
|
@@ -12665,4 +12666,4 @@ export {
|
|
|
12665
12666
|
verbHelp,
|
|
12666
12667
|
run
|
|
12667
12668
|
};
|
|
12668
|
-
//# sourceMappingURL=chunk-
|
|
12669
|
+
//# sourceMappingURL=chunk-4HW2XR5K.js.map
|