feat(skill/playwright): unify shared-session CLI flow for web skills
This commit is contained in:
@@ -13,6 +13,13 @@ description: "Browse XiaoHongShu (小红书) with Playwright and execute account
|
||||
4. Validate action success from UI state.
|
||||
5. Summarize exactly what was done.
|
||||
|
||||
## Shared Session Policy
|
||||
|
||||
- Reuse a single Playwright CLI session across all web-automation skills:
|
||||
- `export PLAYWRIGHT_SHARED_SESSION=codex-shared`
|
||||
- Use `/Users/xd/java/xhs/tools/pw` as the only Playwright CLI entrypoint.
|
||||
- Do not pass `--session` directly in skill-specific commands.
|
||||
|
||||
## 1) Confirm Login State
|
||||
|
||||
- Snapshot current page.
|
||||
|
||||
Reference in New Issue
Block a user