Skip to content

feat: Add cookie-debugging skill and improve network/pages tool descriptions - #2596

Open
natorion wants to merge 16 commits into
ChromeDevTools:mainfrom
natorion:cookie-debugging
Open

feat: Add cookie-debugging skill and improve network/pages tool descriptions#2596
natorion wants to merge 16 commits into
ChromeDevTools:mainfrom
natorion:cookie-debugging

Conversation

@natorion

@natorion natorion commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Comment thread scripts/eval_gemini.ts
@natorion
natorion marked this pull request as ready for review August 21, 2026 10:28
Comment thread scripts/eval_result.ts Outdated
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/SKILL.md Outdated
5. **Verify Cookie Difference**:
- Run `evaluate_script` with the **"Cookie Diff / Comparison Helper" snippet** from [references/cookie-snippets.md](references/cookie-snippets.md), passing the baseline cookie map.
- Assert that only strictly necessary or consent-state cookies exist.
6. **Teardown Context**: Call `close_page` when the audit is complete to prevent leftover cookies from affecting subsequent tasks.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add a step here that should try to revoke consent, and then check cookies that have previously been accepted are wiped again?

I know this user journey is usually under-tested, but legally as important.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, let me check how many characters this adds.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added, is that what you had in mind?

Comment thread skills/cookie-debugging/SKILL.md
Comment thread skills/cookie-debugging/references/cookie-snippets.md Outdated
Comment thread skills/cookie-debugging/SKILL.md Outdated
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.

3 participants