An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.
TypeScript agentic-browseragentic-browsingagy-cliaiai-agentai-browser-extensionai-toolsbrave-extensionbrowser-agentbrowser-automationbrowser-extensionbrowser-usebrowserskillchrome-extensionclaude-codecodexfirefox-addonmcp-servernanobrowserweb-automation
import { describe, expect, test } from 'vitest';
import { brandFrom, releaseFrom } from './identity';
const chromium = { brand: 'Chromium' };
const placeholder = { brand: 'Not/A)Brand' };
describe("naming the browser from the brands it reports", () => {
test('the product wins over the engine and over the placeholder Chromium shuffles in', () => {
const named = [
brandFrom([placeholder, chromium, { brand: 'Google Chrome' }]),
brandFrom([{ brand: 'Brave' }, chromium, { brand: 'Not;A=Brand' }]),
brandFrom([chromium, { brand: 'Microsoft Edge' }, { brand: 'Not_A Brand' }]),
];
expect(named).toEqual(['Google Chrome', 'Brave', 'Microsoft Edge']);
});
test('a build that reports only the engine is called Chromium', () => {
expect(brandFrom([placeholder, chromium])).toBe('Chromium');
});
test('a browser that reports nothing is left unnamed', () => {
expect(brandFrom([])).toBeUndefined();
});
});
describe('naming the browser and its release for a bug report', () => {
test('the product and its major version, past the engine and the placeholder', () => {
expect(releaseFrom([{ brand: 'Not/A)Brand', version: '8' }, { brand: 'Chromium', version: '139' }, { brand: 'Google Chrome', version: '139' }])).toBe(
'Google Chrome 139',
);
});
test('a brand without a version is named alone, and no brands name nothing', () => {
expect(releaseFrom([{ brand: 'Brave' }])).toBe('Brave');
expect(releaseFrom([])).toBeUndefined();
});
});