Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

browser-edge-cases

Skill by aden-hive

Provides a step-by-step procedure for debugging browser automation failures on complex sites like LinkedIn, Twitter/X, SPAs and Shadow DOM pages. Aimed at developers and agents that use browser tools.

  • Score 89
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install browser-edge-cases

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aden-hive/hive /tmp/hive && mkdir -p ~/.claude/skills && cp -r /tmp/hive/.claude/skills/browser-edge-cases ~/.claude/skills/browser-edge-cases

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install browser-edge-cases in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

browser-edge-cases is an agent skill that gives a standard procedure for debugging browser tool failures on complex websites. It covers cases where browser_interact scroll or click succeeds but nothing happens, where typed text disappears, where browser_snapshot hangs or returns stale content, and where browser_navigate loads the wrong page. The procedure has four phases: reproduce and isolate, analyze the root cause, implement a multi-layer fix, and verify the fix.

The skill includes a pattern library with six patterns: nested scrollable containers, elements covered by overlays, React synthetic events, huge DOM trees, SPA hydration delay, and Shadow DOM. It also points to a registry.md of known edge cases and a test case template. It is written for developers and agents that automate sites such as LinkedIn, Twitter/X, single-page apps and sites that use Shadow DOM. The skill is released under the MIT license.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scroll, click and type diagnosisCovers browser_interact scroll, left_click and type actions that succeed without effect.
  • Root cause analysisUses browser_console, browser_html and browser_snapshot to find errors and DOM issues.
  • Pattern libraryLists six named patterns for scrolling, overlays, React events, huge DOM, hydration and Shadow DOM.
  • Multi-layer fallbacksRecommends primary, CDP and JavaScript fallbacks, plus timeouts on snapshot calls.
  • Shadow DOM selectorProvides a helper that pierces shadow roots using a >>> selector syntax.
  • Fix verificationRe-runs the failing site and a simple site as a regression check, then documents the case.

Try asking

  • Scroll does not move on my LinkedIn feed. Walk me through debugging it.
  • Browser_snapshot hangs on Twitter/X. Help me apply the timeout fallback.
  • Write a Shadow DOM selector helper for a page using Lit components.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/browser-edge-cases/SKILL.md, .claude/skills/browser-edge-cases/scripts/test_02_twitter_scroll.py, .claude/skills/browser-edge-cases/scripts/test_03_modal_scroll.py, .claude/skills/browser-edge-cases/scripts/test_04_element_covered.py, .claude/skills/browser-edge-cases/scripts/test_06_shadow_dom.py, .claude/skills/browser-edge-cases/scripts/test_07_contenteditable.py, .claude/skills/browser-edge-cases/scripts/test_08_autocomplete.py, .claude/skills/browser-edge-cases/scripts/test_10_huge_dom.py, .claude/skills/browser-edge-cases/scripts/test_13_spa_navigation.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB
  • registry.md10 KB
  • scripts/test_02_twitter_scroll.py3 KB
  • scripts/test_03_modal_scroll.py3 KB
  • scripts/test_04_element_covered.py4 KB
Show all 12 files
  • scripts/test_06_shadow_dom.py5 KB
  • scripts/test_07_contenteditable.py6 KB
  • scripts/test_08_autocomplete.py9 KB
  • scripts/test_10_huge_dom.py5 KB
  • scripts/test_13_spa_navigation.py6 KB
  • scripts/test_15_screenshot.py9 KB
  • scripts/test_case.py12 KB

Alternatives to browser-edge-cases

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

browser-edge-cases: common questions

What browser failures does browser-edge-cases cover?

It covers scroll, click and type actions that succeed without effect, snapshots that hang or go stale, and navigation that loads the wrong content.

Which websites is the skill designed for?

The source names LinkedIn, Twitter/X, single-page apps and sites with Shadow DOM as the main examples.

What license is browser-edge-cases released under?

The skill is released under the MIT license.

How do I install browser-edge-cases?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is browser-edge-cases free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is browser-edge-cases safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to browser-edge-cases?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

browser-edge-cases Install

Add to stack

Loading.