Loading challenge...
Broadcast notifications to all tabs
Broadcast to all tabs
Quick Send:
0 unread
No notifications yet. Send one from this or another tab!
Tab communication info
This Tab: 3guhc7
Connected Tabs: 0
Testing hints
// Test notifications across tabs
const page1 = await context.newPage();
const page2 = await context.newPage();
await page1.goto('/challenges/multi-tab-notification');
await page2.goto('/challenges/multi-tab-notification');
// Send notification from tab 1
await page1.fill('#notification-title', 'Test Alert');
await page1.fill('#notification-message', 'Hello from tab 1');
await page1.click('#send-notification');
// Verify notification appeared in tab 2
await expect(page2.locator('[data-notification-type="info"]'))
.toBeVisible();
await expect(page2.locator('#unread-badge')).toHaveText('1');
// Mark as read in tab 2
await page2.locator('[data-notification-type="info"]').first().click();
await expect(page2.locator('[data-read="true"]')).toBeVisible();Automation hints