SkillsReviewed · aden-hive

Browser Edge Cases (Hive skill)

Browser Edge Cases is a debugging guide with Python example scripts for developers and coding assistants fixing browser automation on complex websites. It targets sites such as LinkedIn, X, single-page apps and pages using Shadow DOM. The main catch is that it is written around Hive's own browser tools and bridge code. That code is not included, so you would need to adapt the guide for any other tool. It contains a four-phase debugging procedure, six detect-and-fix patterns, a registry of 16 numbered failure cases, and nine reproduction scripts plus a template. Its licence label (MIT) differs from the repository licence (Apache 2.0).

Researched 15 Nov 2026

In short.

Browser Edge Cases is a debugging guide with Python example scripts for developers and coding assistants fixing browser automation on complex websites. The main catch is that it is built around Hive's own browser tools and bridge code, which are not part of the folder. It has four parts. The first is a procedure: create a minimal reproduction, check the tool on a simple site, then confirm the failure on the problematic site. After that you inspect the console and DOM, apply a layered fix with timeouts, and verify. The second is six patterns with detection and fix snippets, covering nested scroll containers, overlays, React clicks, huge DOMs, SPA hydration and Shadow DOM. The third is a registry of 16 numbered cases, and the fourth is nine scripts plus a template. Reading the files shows useful, concrete guidance but also several inconsistencies. The registry has no entry 8, and its statistics do not match its entries. One detection snippet would throw an error. Some test pages do not appear to reproduce the symptom they describe. The skill labels itself MIT while the repository licence is Apache 2.0. Nothing was run, and the tool code the registry points to was not captured.

Researched and written by an AI model and checked by a second AI model. How it works

Covered: the complete folder .claude/skills/browser-edge-cases at revision c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3, made up of SKILL.md, registry.md, nine numbered test scripts and test_case.py. Also covered is the repository root LICENSE (Apache License 2.0), the notice above the folder. Not covered: the Hive tool code the registry refers to and the rest of the repository, none of which was captured. That code includes bridge.py, tools/lifecycle.py, tests/test_x_page_load_repro.py, the x-com-automation send_dm.py script and BROWSER_USE_PATTERNS.md. No script or snippet was executed and no website was contacted. It is untested whether the described fixes work, whether the test pages reproduce their symptoms, and how the skill is installed or loaded. Remarks about likely failures come from reading the code only.

The overview

What this resource is

Browser Edge Cases is a skill folder at .claude/skills/browser-edge-cases in the aden-hive/hive repository, captured at revision c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3 (source address: [https://github.com/aden-hive/hive/tree/main/.claude/skills/browser-edge-cases]). The folder holds SKILL.md, registry.md and ten Python files in scripts/. Nine are numbered reproduction scripts for cases 2, 3, 4, 6, 7, 8, 10, 13 and 15, and the tenth is a template named test_case.py.

SKILL.md opens with YAML frontmatter containing three fields. The name is browser-edge-cases. The description calls it a standard operating procedure for debugging browser automation failures on complex websites, to be used when browser tools fail on sites like LinkedIn, Twitter/X, single-page apps or Shadow DOM pages. The licence label is MIT. The scripts import a class called BeelineBridge from a module gcu.browser.bridge and talk to a Chrome extension called the Beeline extension. Beyond that, the captured files do not describe the wider Hive project. The repository LICENSE names Aden as copyright holder (2024).

Overall assessment

This is a practical debugging playbook organised by symptom. It is worth reading if you build or maintain browser automation, especially on tools built on CDP (Chrome DevTools Protocol). It is specific rather than generic. Each pattern comes with a detection check and a fix, and the registry records the site, symptom, root cause, detection and fix for each case. Six registry entries also carry dated verification claims from the maintainers. Ten have no recorded verification, and the files do not say whether those ten were ever checked. The advice to always have a fallback and always add a timeout is sound and easy to apply elsewhere.

It is not plug-and-play. The tool names belong to Hive's browser tooling, which is outside the captured folder: browser_interact, browser_snapshot, browser_navigate, browser_console, browser_html, browser_open, browser_stop, browser_status and browser_screenshot. So do the fixes, for example the smart scroll in bridge.py. The documents also contradict themselves in places, as listed under limitations. Treat the content as a well-organised set of leads to confirm against your own tool, not as verified fact. Nothing here was executed.

Who it is for

The main audience is people working on Hive's browser tools and the agents that drive them. The SOP is a procedure for diagnosing and then fixing the tool when it fails on a particular site, and the registry cites line ranges in bridge.py. The description field says to use the skill when browser tools fail on specific sites. That suggests a coding assistant that consults it when browser tools misbehave is one intended reader. The captured files do not say how it gets loaded.

Developers of other browser automation, such as Playwright, Puppeteer or custom CDP clients, can borrow the ideas. The symptom-to-cause table and the nested-scroll-container, overlay, Shadow DOM and huge-DOM patterns describe general web problems. Beginners can follow the symptom table without knowing the tool's internals. It covers a scroll that does nothing, a click that does nothing, typed text that disappears, a snapshot that hangs and stale content. To use the detection snippets, though, they will need web-platform knowledge such as overflow containers, shadow roots and iframes. It is a poor fit for anyone who wants a ready-made scraping or testing tool.

What it covers

SKILL.md lists five trigger symptoms: a scroll succeeds but the page does not move, a click succeeds but nothing happens, typed text disappears, a snapshot hangs or is stale, and navigation loads the wrong content. It then sets out a four-phase procedure. First, reproduce and isolate: create a minimal test case, check that the tool works on a simple site such as [https://example.com], then confirm the failure on the problematic site. Second, analyse the root cause using console output, HTML and the accessibility snapshot. Third, implement a multi-layer fix. Fourth, verify the fix and record the case.

The pattern library has six entries. P1 covers nested scrollable containers and P2 covers elements hidden under an overlay. P3 covers React synthetic events, where the advice is to use a JavaScript click. P4 covers a huge DOM or accessibility tree: add a timeout, truncate at 2000 nodes and fall back to a DOM snapshot. P5 covers single-page-app hydration delay, where the advice is to wait for a selector. P6 covers Shadow DOM and supplies a selector helper that reaches into shadow roots. A quick-reference table maps each issue to a primary fix and a fallback.

registry.md records 16 numbered cases in six groups. Scroll: the LinkedIn nested scroller, X lazy loading and modal scrolling. Click: overlays, React and Shadow DOM. Input: contentEditable editors and custom date pickers. Snapshot: the LinkedIn huge DOM, SPA hydration and iframe content. Navigation: SPA events and cross-origin redirects. The last group, filed under screenshots, covers selector screenshots, a stale browser context group id, and X Chat sends that silently do nothing in a long-lived session. The registry also gives a template for adding new cases.

Using it

What you need

To use the guidance as written you need Hive's browser tool set. The procedure calls browser_navigate, browser_interact (with actions such as scroll, left_click, type and wait), browser_snapshot, browser_console and browser_html. The registry also refers to browser_open, browser_stop, browser_status and browser_screenshot. The scripts need Python (they use asyncio), an importable gcu.browser.bridge module, and Chrome running with the Beeline extension connected. The template's usage notes give uv run python as an example command, but nothing in the scripts themselves depends on uv. The captured files do not explain how to install these dependencies or which versions of Python, Chrome or the extension are supported.

Several scripts open real sites. [https://www.linkedin.com/feed] is used by test_10 and the template, and [https://x.com] by test_02. Test_03 uses a W3Schools modal demo at [https://www.w3schools.com/howto/howto_css_modals.asp]. [https://example.com] is used by test_15 and the template. Test_02 itself notes that no new tweets may load without a login.

How it works

The skill is instructions plus reference material, not an executable tool. The frontmatter description says when to use it: when browser tools fail on specific sites. The captured files do not say whether any assistant loads it automatically. The body gives a procedure and pattern snippets that an agent or developer applies with the browser tools.

SKILL.md sketches a layered fix in a function called robust_operation. It tries a generic primary method and checks whether it worked. If not, it falls back to a CDP method, and finally to a JavaScript fallback. That order is an illustration, not a rule. For clicks, SKILL.md recommends a JavaScript click as the primary method, with CDP mouse events as the fallback in its quick-reference table. Registry entries 4 and 5 likewise describe the bridge's click as JavaScript-first. The in-page JavaScript techniques it mentions include element.click(), container.scrollBy() on a scroll container, document.execCommand with insertText for rich-text editors, and traversing shadow roots. Snapshot calls get a timeout_s parameter, with a DOM-based snapshot as the fallback.

All the scripts share one bridge lifecycle. Each starts a BeelineBridge, checks once a second, up to ten times, for the Chrome extension to connect, and creates a browser context and tab. At the end it destroys the context and stops the bridge. In between, each script opens one or more of three kinds of page. The first is a small HTML page written to /tmp and opened as a file:// URL (test_06, 07, 08 and 13). The second is a data: URL (test_04, 10 and 15). The third is a real site (test_02, 03, 10, 15 and the template). The scripts then call bridge actions such as scroll, click, type_text, snapshot or screenshot. What they do beyond that differs by script. Most also run in-page JavaScript through bridge.evaluate to detect or measure something, such as counting tweets or DOM elements, checking whether an element is covered, or reading back typed text. Test_03 and test_15 never call bridge.evaluate. Test_15 checks the screenshot results directly, for example by confirming the data decodes as a PNG and comparing image sizes. Test_03 only clicks, scrolls and takes screenshots. Most scripts print pass, fail or warning text. Test_03 has no automated pass or fail check. Instead it prints a request for visual verification of whether the modal content or the background scrolled. The template (test_case.py) adds three runs. A baseline run checks a simple site. A run on the problem site compares scroll positions before and after. A root-cause detector counts nested scroll containers, Shadow DOM hosts, iframes and DOM size, and checks for React, Vue and Angular markers.

Setup

The captured files give no install or loading steps. The folder sits at .claude/skills/browser-edge-cases, and its SKILL.md has name and description frontmatter. That layout suggests it is meant for a coding assistant that reads skills from a .claude/skills directory, such as Claude Code. This is an unverified inference from the layout, not something the files state. They do not say how to install the skill, whether any assistant loads it automatically, or how Hive itself uses it.

For the scripts, the template says to copy test_case.py to a new name and fill in the TEST_CASE settings: number, name, site, simple site, category and symptom. It gives uv run python as the example command for running it. Each script adds a tools/src folder to sys.path by going four directory levels up from itself. With the folder at its captured location, that path is .claude/tools/src. SKILL.md also links to ../../tools/BROWSER_USE_PATTERNS.md, which points into the same .claude/tools folder. The capture does not show whether that folder exists at this revision, so you may need to adjust the import path. Test_02, test_03 and the template define a BRIDGE_PORT of 9229, but the captured code never passes it to BeelineBridge.

Worked example

Take the first registry case. This walk-through is drawn from the files; nothing was run. An agent calls browser_interact with action scroll on the LinkedIn feed and gets a success result, but the page does not move. Following the SOP, it first scrolls on [https://example.com] to confirm the tool works there, then reads the console and DOM. The symptom table points to a nested scroll container. The P1 snippet lists elements whose computed overflow includes scroll or auto, keeps those larger than 100 by 100 pixels, and picks the largest by area.

The two files then describe different fixes. The registry's recorded fix uses JavaScript to find the largest scrollable container and call container.scrollBy() on it, which changes that element's scroll position directly. SKILL.md's P1 fix instead dispatches scroll events at the container's centre rather than the viewport centre. Its quick-reference table lists a mouse wheel at the container centre as the fallback. These are separate approaches, because scrollBy() does not send input at screen coordinates. The registry records a maintainer verification date of 2026-04-03 for this case.

To confirm a fix, the template records scrollTop for scrollable elements, scrolls by an amount of 500, and reports whether any of them changed. One caution: the P1 snippet in SKILL.md only checks overflow style and size, not whether the content actually overflows. The template's before-and-after check also requires scrollHeight to be greater than clientHeight. The template's version is the safer one to copy.

Assessment & evidence

Limitations and problems found

Missing dependencies: the fixes and many verification claims point to code outside the captured folder. That code includes line ranges in bridge.py, tools/lifecycle.py, tests/test_x_page_load_repro.py, a send_dm.py script in an x-com-automation skill, and BROWSER_USE_PATTERNS.md. None of it was captured, so the registry's claims about what the tool does cannot be checked, and the line numbers may be out of date. One range is written backwards (bridge.py:1041-1028).

Registry inconsistencies: the registry has 16 entries, numbered 1 to 7 and 9 to 17. There is no entry 8, although a script named test_08_autocomplete.py exists for that number. The statistics table says 17 cases in total, with 4 click issues, 3 input issues and 2 screenshot issues. The entries themselves show 3, 2 and 3. Entries 7 and 14 have no Verified row, and ten entries have no recorded verification at all. The typing advice also differs between files. SKILL.md says to set use_insert_text=False for per-keystroke typing, while the autocomplete script tests a delay_ms setting between keystrokes.

Technical defects in the snippets, judged by reading the code: the P6 detection line calls .some on the result of querySelectorAll. That result is a NodeList, which has no .some method, so the line would throw an error unless wrapped in Array.from. The queryShadow helper only descends into open shadow roots (the test page uses mode open), and it has no check for a part that is not found. The template's Vue check uses the selector [data-v-], which only matches an attribute named exactly data-v-. Whether that detects real Vue apps is not shown. The captured evidence does not establish the React/CDP explanation, the hydration markers' compatibility across React versions, or target sites' handling of JavaScript clicks; these remain unverified. Registry entry 5, which gives the React explanation, has no recorded verification. Also note that a JavaScript element.click() reaches the element even when an overlay covers it, and test_04 counts that as a pass. So a successful JavaScript click does not show that the element was reachable on screen.

Test scripts, judged by reading only: test_03 has no pass or fail check; it asks for visual verification instead. It also clicks a .ws-btn selector on a third-party page that may change. Test_08's page delays the dropdown but never clears the input, so it does not appear to reproduce the clearing it describes. Its pass check would probably succeed with or without the delay. Test_13 starts its demo by calling navigate from a timer, but that function begins with event.preventDefault(). Outside an event handler, window.event is normally undefined, so the first render looks likely to fail and the wait for #home-btn would then time out. Test_04's button calls alert(), and the files do not show how the bridge handles the dialog. Test_15 still has comments and a fallback message saying the selector parameter is not implemented. Registry entry 15, however, says it was implemented and verified. Test_15's timeout test also counts nearly any outcome as a pass. Test_02's header says to add wait_for_selector between scrolls, but the code uses a fixed sleep. Test_06, 07, 08 and 13 write files with fixed names under /tmp.

Privacy and account risk: the procedures read page HTML, console output and snapshots, and the scripts open LinkedIn and X in a real Chrome profile. If that profile is logged in, personal feed content could end up in logs or in an agent's context. Registry entry 17 involves automatically sending direct messages on X, and the evidence does not discuss platform rules or account risk.

Reasoning behind the assessment

The strengths come straight from the files. The procedure starts by isolating the problem: does the tool work on [https://example.com]? That separates a general tool bug from a site-specific one. The registry records symptom, root cause, detection and fix in a consistent table. A note under entry 17 warns that a misleading button label is a red herring. Six entries carry dated verification claims from the maintainers: entries 1, 6, 10, 15 and 16 on 2026-04-03, and entry 17 on 2026-07-17. The other ten have no recorded verification, which does not tell you whether they were ever checked. Entry 10 records a measured snapshot time of 0.08 seconds on LinkedIn. Entry 17 records a way to diagnose its problem (repeated send_unverified results across different recipients) and a recovery that restarts the browser. These are the maintainers' own statements, not independent results.

The weaknesses lower confidence that the material is accurate from start to finish. They include dependencies outside the folder, a gap in the numbering, a faulty snippet, test pages that may not reproduce their symptoms, and a licence label that disagrees with the repository. None of this looks deceptive; it reads like a working document that is still being updated. That is why this report recommends the skill as a reference to adapt and verify, rather than as a trusted, self-contained tool.

Alternatives

The captured files name no competing resources. SKILL.md refers to BROWSER_USE_PATTERNS.md, described as implementation patterns from browser-use, but that file was not captured. Nor was any material describing other browser-automation tools or guides. How this skill compares with other tools or guides is therefore unknown. The captured content is closely tied to Hive's bridge and Beeline extension, so its value as written depends on using that stack.

Evidence base

This report rests on reading all twelve files in the folder at revision c6c2cdcfe5a6142cd0da3f82424afc9dd9721cc3, plus the root LICENSE file. The twelve are SKILL.md, registry.md, nine numbered scripts and the template. Claims about the tool's behaviour, its fixes and the verification dates are the authors' own statements in the registry and SKILL.md. No output logs, screenshots or test results were captured, and nothing was run. Points about defects come from reading the code and are marked as such where the outcome depends on a browser. The registry shows verification marks for entries 1, 6, 10, 15 and 16 (2026-04-03) and entry 17 (2026-07-17); the rest have none.

Access & freshness

Costs

No price, subscription or usage fee appears in the captured files, and the repository licence grants use at no charge. The cost of running the guidance is unknown. It depends on the agent or model you use, your Chrome and extension setup, and any accounts on the sites you test. Loading the skill into an agent adds text to its context: SKILL.md is 7,036 bytes and registry.md is 10,672 bytes. The token cost was not measured.

Rights and licence

The licence signals conflict. SKILL.md declares license: MIT in its frontmatter, while the repository-level LICENSE above the folder is the Apache License 2.0 (copyright 2024 Aden). No separate licence file inside the skill folder was captured. No MIT licence text naming a copyright holder is present either, so it is unclear which terms govern this folder. Both licences are permissive. Apache 2.0 grants a no-charge, worldwide copyright and patent licence to use, modify and redistribute. Its conditions include giving recipients a copy of the licence, marking changed files and keeping notices, and it grants no trademark rights. Check with the maintainers before redistributing if the difference matters to you. This is not legal advice.

SKILL.md also points to BROWSER_USE_PATTERNS.md, described as implementation patterns from browser-use. That file is outside the captured folder, so its origin and licence are unknown. Using the skill on LinkedIn, X or other sites may be restricted by those sites' own terms, which the evidence does not discuss.

Freshness

The registry says it was last updated on 2026-07-17, and its latest verification is dated the same day; earlier verifications are dated 2026-04-03. The commit date of the captured revision is not in the evidence, and SKILL.md has no version or date. The content was captured on 2026-11-15. Site behaviour on LinkedIn and X changes often. Selectors such as data-testid values or the X Chat composer button names may have changed since they were recorded, so whether the cases still reproduce today is unknown.

Suggested next steps

If you use Hive's browser tools, read SKILL.md and the registry before debugging a site-specific failure, and treat the registry entries as hypotheses to confirm. If you use another tool, borrow the isolate-first procedure, the symptom table, and the habits of layered fallbacks and timeouts, then rewrite the snippets for your own API.

Before running any script, check that the bridge module path resolves. Use a throwaway Chrome profile that is not logged in to personal accounts. Expect to fix test_13, and treat test_03 and test_08 as unreliable. If you copy the P6 detection line, fix it by wrapping querySelectorAll in Array.from. Ask the maintainers whether MIT or Apache 2.0 applies before redistributing, and keep the Apache licence text and notices with any copy.

Evidence for this report

.claude/skills/browser-edge-cases/SKILL.mdselected · checked 2026-11-15
.claude/skills/browser-edge-cases/registry.mdselected · checked 2026-11-15
LICENSEnotice · checked 2026-11-15