Skip to main content

Overview

ContextFort automatically captures screenshots of every agent interaction, creating a complete visual audit trail. Screenshots are captured in pairs (before/after) for most actions, providing clear evidence of what the agent saw and what changed.
Privacy Notice: Screenshots may contain sensitive information (PII, PHI, financial data). All screenshots are stored locally on your machine and never transmitted externally.

When Screenshots are Captured

Action-Based Triggers

Click Events

Before: Immediate capture when agent clicks After: 300ms delay to show result

Double Click

Before: Immediate capture After: 300ms delay

Right Click

Before: Immediate capture After: 300ms delay

Input Events

Debounced: 1 second after last keystroke After Only: Shows final input value
Page Navigation: When agent navigates to a new URL, a “page_read” event is logged but no screenshot is captured (only metadata). This reduces storage usage while maintaining navigation history.

Screenshot Capture Implementation

Click Event Capture

chrome-extension/background.js
Most web interactions complete within 300ms:
  • Button clicks trigger immediate UI changes
  • Modal dialogs appear instantly
  • Form validations show feedback quickly
300ms balances capturing the result without unnecessary delay.

Input Event Capture (Debounced)

chrome-extension/background.js
Without debouncing, typing “Hello World” would trigger 11 screenshots (one per keystroke). Debouncing ensures only one screenshot is captured after typing is complete.Debounce Timer: 1000ms (1 second) Additional Delay: 500ms for rendering Total Delay: 1.5 seconds after last keystroke
The inputValues array captures the full typing sequence:
This provides context for debugging agent behavior, showing the agent’s typing process.

Screenshot Data Structure

Full Data Format

Example: Click Event

Example: Input Event

Example: Page Navigation

Storage Management

Queued Storage Writes

To prevent storage bottlenecks and race conditions, screenshot writes are queued:
chrome-extension/background.js

Retention Policy

Maximum Screenshots

100 screenshots stored at any time

FIFO Queue

Oldest screenshots deleted when limit reached

No Expiration

Screenshots never expire automatically

Manual Deletion

User controls all retention via Dashboard or uninstall
Storage Limits: Chrome’s local storage has a 10MB limit for extension data. 100 screenshots (each ~100-500KB) fit comfortably within this limit.

Security & Privacy

What’s in Screenshots

Screenshots may contain:
  • PII: Names, email addresses, phone numbers
  • PHI: Medical records, health data
  • Financial: Credit card numbers, bank balances
  • Credentials: Visible passwords, API keys
  • Confidential: Trade secrets, internal documents

Data Deletion

1

Delete All Screenshots

Uninstall ContextFort extension:
  1. Go to chrome://extensions/
  2. Find ContextFort
  3. Click “Remove”
  4. All local data deleted immediately
2

Clear Storage

Keep extension but clear all data:
3

Delete Specific Screenshots

Currently, you can delete all screenshots via Chrome storage. Individual screenshot deletion via the dashboard is not yet available.To delete all screenshots:

Performance Optimization

Capture Optimization

Screenshots use PNG format for lossless quality:
Alternatives considered:
  • JPEG: Lossy compression, not suitable for text-heavy screenshots
  • WebP: Better compression but lower browser support
Coordinates are scaled for high-DPI displays:
chrome-extension/content.js
If capture fails (tab closed, window minimized), errors are silently ignored:

Viewing Screenshots

Screenshots can be viewed in the Visibility Dashboard:
  1. Click ContextFort icon in Chrome toolbar
  2. Navigate to “Visibility” page
  3. Select a session to view all screenshots
  4. Click screenshot to view full size
  5. Download individual screenshots or entire session

Open Visibility Dashboard

View all captured screenshots organized by session

Export Screenshots

Export screenshots for offline review or audit:
Export Format: Screenshots export as JSON with base64-encoded PNG data URLs. You can extract the data URLs and save as individual PNG files.

Next Steps

Visibility Dashboard

Learn about session tracking and monitoring

Session Isolation

Understand how screenshots relate to session swaps

Blocking Rules

See how blocking events are captured in screenshots

Data Policy

Read the full data policy and security details