browser-edge-cases

Featured

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

AI & Automation 10,435 stars 5661 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Browser Tool Edge Cases Standard Operating Procedure for debugging and fixing browser automation failures on complex websites. ## When to Use This Skill - `browser_scroll` succeeds but page doesn't move - `browser_click` succeeds but no action triggered - `browser_type` text disappears or doesn't work - `browser_snapshot` hangs or returns stale content - `browser_navigate` loads wrong content ## SOP: Debugging Browser Tool Failures ### Phase 1: Reproduce & Isolate ``` 1. Create minimal test case demonstrating failure 2. Test against simple site (example.com) to verify tool works 3. Test against problematic site to confirm issue ``` **Quick isolation test:** ```python # Test 1: Does the tool work at all? await browser_navigate(tab_id, "https://example.com") result = await browser_scroll(tab_id, "down", 100) # Should work on simple sites # Test 2: Does it fail on the problematic site? await browser_navigate(tab_id, "https://linkedin.com/feed") result = await browser_scroll(tab_id, "down", 100) # If this fails but example.com works → site-specific edge case ``` ### Phase 2: Analyze Root Cause **Step 2a: Check console for errors** ```python console = await browser_console(tab_id) # Look for: CSP violations, React errors, JavaScript exceptions ``` **Step 2b: Inspect DOM structure** ```python html = await browser_html(tab_id) snapshot = await browser_snapshot(tab_id) # Look for: # - Nested scrollable divs (overflow: scroll/auto) # - Shadow DOM roots # - iframes # - Cus...

Details

Author
aden-hive
Repository
aden-hive/hive
Created
4 months ago
Last Updated
3 days ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

web-debug

Systematic web application debugging using Chrome DevTools MCP and Playwright MCP with intelligent validation and app-specific context discovery. Use for debugging web apps, APIs, authentication flows, and UI issues.

219 Updated yesterday
megalithic
AI & Automation Featured

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

54,816 Updated today
shanraisshan
Web & Frontend Solid

browser-use

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.

18 Updated 2 days ago
KnoWhiz
Testing & QA Solid

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

2,670 Updated 5 months ago
lackeyjb