Website Link Tester

Automate link verification and content validation across your website

Demo preview
TypeScript
npx create-browser-app --template website-link-tester
Source code
Python
uvx create-browser-app --template website-link-tester
Source code

Get started testing website links automatically

This template uses Stagehand with Browserbase to crawl a website, extract all links from the homepage, and verify each link by opening it in dedicated browser sessions. It checks if pages load successfully, validates that content matches link text, handles social media links appropriately, and processes links in configurable concurrent batches. Perfect for quality assurance, broken link detection, and website maintenance workflows.

Steps

  1. Navigate to the target website and extract all links with their text
  2. Deduplicate links to avoid redundant checks
  3. Process links in configurable concurrent batches
  4. For each link: open in a browser session, verify page loads, and check if content matches link text
  5. Generate a comprehensive JSON with success/failure status for all links