๐Ÿงช BTCP Extension Test Page

Purpose

This page helps you test the BTCP Browser Agent extension. Use this as your "active tab" when testing session creation.

โœ… You're Ready to Test!

This page is loaded successfully. Now follow these steps:

  1. Make sure this tab is active (you're viewing it now)
  2. Click the BTCP Browser Agent extension icon in your Chrome toolbar
  3. In the popup, click "Start New Session"
  4. You should see this tab get added to a blue tab group labeled "BTCP Session 1"

โš ๏ธ Troubleshooting

If the button doesn't work:

  1. Open Chrome DevTools on the popup (right-click popup โ†’ Inspect)
  2. Check the Console tab for error messages
  3. Also check the Background Service Worker console:
    • Go to chrome://extensions
    • Find "BTCP Browser Agent"
    • Click "service worker" link
    • Check console for errors

๐Ÿ“‹ Expected Behavior

When you start a session:

When you click "New Tab" in the popup:

When you click "Close Session":

๐Ÿ” Quick Debug Check

Open the Console (F12 โ†’ Console tab) and run this:

chrome.tabGroups.query({}).then(groups =>
  console.log('Active groups:', groups.length, groups)
);

This shows all active tab groups in your browser.

๐Ÿ“š More Help

For detailed debugging instructions, see:

Both files are in the extension directory.