Skip to content

fix(cli): persist selected target for get commands#80

Merged
yan5xu merged 1 commit intoepiral:mainfrom
ox01024:fix/get-ref-cross-invocation
Mar 19, 2026
Merged

fix(cli): persist selected target for get commands#80
yan5xu merged 1 commit intoepiral:mainfrom
ox01024:fix/get-ref-cross-invocation

Conversation

@ox01024
Copy link
Copy Markdown
Contributor

@ox01024 ox01024 commented Mar 19, 2026

Closes #79

Summary

  • persist the selected direct-CDP target across normal CLI invocations
  • fix direct-CDP get text element resolution
  • allow get url and get title without requiring ref

Verification

  • pnpm build
  • node dist/cli.js tab 3 --json
  • node dist/cli.js snapshot --json
  • node dist/cli.js get text 0 --json
  • node dist/cli.js get url --json
  • node dist/cli.js get title --json

@yan5xu yan5xu merged commit 152225b into epiral:main Mar 19, 2026
@ox01024 ox01024 deleted the fix/get-ref-cross-invocation branch March 19, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ref-based get commands break across normal CLI invocations in direct CDP mode

2 participants