๐งช 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:
- Make sure this tab is active (you're viewing it now)
- Click the BTCP Browser Agent extension icon in your Chrome toolbar
- In the popup, click "Start New Session"
- You should see this tab get added to a blue tab group labeled "BTCP Session 1"
โ ๏ธ Troubleshooting
If the button doesn't work:
- Open Chrome DevTools on the popup (right-click popup โ Inspect)
- Check the Console tab for error messages
- 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:
- โ
This tab should be added to a blue tab group
- โ
The group should be labeled "BTCP Session 1"
- โ
The popup should show:
- Blue session status box
- Session name: "BTCP Session 1"
- Tab count: "1 tab"
- "Close Session" button (red)
When you click "New Tab" in the popup:
- โ
A new tab should open
- โ
It should automatically join the "BTCP Session 1" group
- โ
Tab count should update to "2 tabs"
When you click "Close Session":
- โ
All tabs in the group should close at once
- โ
This includes this test page!
๐ 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:
DEBUG.md - Full debugging guide
QUICK_TEST.md - Quick console tests
Both files are in the extension directory.