playwright

Capture screenshots, scrape rendered text, extract links, and generate PDFs from URLs.

4|4|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Roentek/Claude_Code_Boilerplate_Framework --skill playwright-roentek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/Roentek/Claude_Code_Boilerplate_Framework/tree/main/.claude/skills/playwright
Command: npx skills add https://github.com/Roentek/Claude_Code_Boilerplate_Framework --skill playwright-roentek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Playwright-based automation removes the manual effort of capturing evidence, extracting information, and generating PDFs from web pages that may render content with JavaScript.

Core Features & Use Cases

  • Screenshot capture for any URL: Take viewport or full-page screenshots and optionally wait for a selector before capturing.
  • Scraping JS-rendered pages: Extract page text and metadata, or return structured results for specific matched elements.
  • PDF generation and link extraction: Convert a URL into a PDF and extract external links for analysis or crawling.

Quick Start

Ask the skill to capture a full-page screenshot of a target URL and save it to a file path by running: node tools/playwright.js screenshot https://example.com .tmp/example.png --fullpage

Frequently Asked Questions about playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I take a full-page screenshot of a JavaScript-rendered website?

You can capture a full-page screenshot of a JS-rendered website by running the Node CLI command, specifying the target URL and output file path, with an option to wait for a specific selector before capturing.

Can I scrape text and extract external links from dynamic web pages?

Yes, you can scrape rendered page text, metadata, and extract external links from dynamic pages by returning structured results for specific matched elements via the Node CLI command.

How do I generate a PDF from a URL for website analysis?

To generate a PDF from a URL, execute the Node CLI command with the target link to convert the rendered web page into a shareable PDF artifact for analysis.

Does browser automation work with selector-based waits for deterministic scraping?

Yes, browser automation supports optional selector-based waits, allowing the tool to pause until specific elements render before scraping text or capturing screenshots for deterministic results.

Do I need a browser installed to automate web scraping and PDF generation?

The tool requires running a Node CLI command via Bash, outputting JSON to stdout, which handles the browser automation internally to scrape pages and generate PDFs without manual browser installation.