Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

AI Playwright

75 sites Security covered

Part of the AI ecosystem · 340 projects

View on drupal.org

The AI Playwright module gives Drupal AI agents the ability to "see" your website by opening pages in a headless browser. It captures screenshots, page titles, visible text, and console errors, allowing AI agents to verify and refine their work by visually inspecting the rendered output.

Gives Drupal AI Agents eyes on a rendered page. AI Playwright opens a page of your site in a real headless browser (Playwright / Chromium) and hands the AI Agent a screenshot, the page title, the visible text, and any console errors — so the Drupal Canvas AI assistant can look at what it builds and verify or refine it, instead of building blind. It works almost as if the agent were using the Playwright MCP, but from inside Drupal as an AI Agent tool.

The idea started as a plugin inside Display Builder AI; this module lifts it out into a small, standalone tool for Drupal Canvas and Drupal Canvas AI Agents. Config-driven and framework-agnostic.

What it provides

  • an AI Agent tool — Browser preview (Playwright) — that captures a page and returns a screenshot file id (pass it to describe_image to "see" it), the title, text, and console errors, and
  • a settings page for the internal base URL, the Node binary, the timeout, and whether off-site URLs are allowed.

Requirements

  • Drupal ^11.2
  • AI (Drupal AI) and AI Agents
  • Drupal core file
  • On the server: Node.js 18+ and Playwright with Chromium

Security

The tool opens an authenticated browser as the acting user, so it sees the same content that user can. It is gated on the Use the AI Playwright browser tool permission, targets this site only unless an administrator enables off-site URLs, and passes every argument as an argv array — never an interpolated shell string.

Related

Works with any AI Agent on any AI Assistance page — the Drupal Canvas AI Agents and any other AI Agent.

Documentation

https://project.pages.drupalcode.org/ai_playwright/

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2026
Latest release
3 days ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release 11 Oct 4, 2026
1.0.0-alpha1 Pre-release 11 Jul 5, 2026
1.0.x-dev Dev 11 Jul 5, 2026