qmetrics.net

Panther

PHP browser testing and web scraping library

Panther screenshot

Symfony Panther drives real Chrome or Firefox browsers via WebDriver for end-to-end tests and website scraping in PHP applications.

Overview

Panther is a standalone PHP library for scraping websites and running end-to-end tests with real browsers instead of headless HTTP-only clients. It implements the W3C WebDriver protocol to control native Chrome and Firefox instances.

The package integrates with the Symfony ecosystem and can be installed via Composer for PHP projects. It builds on PHP WebDriver and related open-source components, with design influences from JavaScript WebDriver testing tools.

Typical uses include exercising full browser behavior in automated tests and collecting content from dynamic sites that require JavaScript execution. Documentation and source are distributed as the symfony/panther package on Packagist.

Panther is maintained as part of the Symfony packages collection and is commonly pulled in as a development dependency when projects need browser-level automation.

Key features

  • WebDriver control of Chrome and Firefox
  • End-to-end browser testing in PHP
  • Website scraping with real browsers
  • Symfony package Composer integration
  • Built on PHP WebDriver stack
  • Standalone use outside full Symfony apps

Use cases

  • E2E testing of Symfony web applications
  • Scraping JavaScript-heavy sites
  • Functional UI tests with real browsers
  • Automating browser interactions in PHP

Tags

Similar software

Puppeteer

JavaScript library for automating Chrome and Firefox

Puppeteer exposes a high-level JavaScript API to drive Chrome or Firefox through the DevTools Protocol or WebDriver BiDi. It defaults to headless browser control for scripts and tests.

★ 95.9k⟳ yesterdayApache-2.0

jsdom

Node.js implementation of web DOM and HTML standards

jsdom emulates browser DOM and HTML APIs in Node.js for testing and scraping real web apps. The JSDOM constructor parses HTML and exposes a window object with configurable behavior.

★ 21.8k⟳ 2 days agoMIT · open core

chromedp

Go library for Chrome DevTools Protocol browser control

chromedp drives Chrome and compatible browsers from Go via the DevTools Protocol without an external WebDriver. It starts browsers over a pipe by default and supports headless or visible automation.

★ 13.4k⟳ 10 days agoMIT

Playwright Go

Go library for cross-browser Chromium, Firefox, and WebKit automation

Playwright for Go drives Chromium, Firefox, and WebKit through one API for scraping, testing, and browser workflows. Headless and headed modes are supported on Linux, macOS, and Windows.

★ 3.5k⟳ 22 days agoMIT

Puppeteer Puppeteer

Node.js API for headless Chrome and Firefox automation

Puppeteer is a JavaScript library that automates Chrome and Firefox via Chrome DevTools Protocol and WebDriver BiDi. Use it for UI testing, PDFs, screenshots, and scripted browsing.

★ 2.4k⟳ yesterdayApache-2.0

Browserless

Headless Chrome driver layer on Puppeteer for Node.js

Browserless wraps Puppeteer to drive headless Chrome or Chromium from Node.js. It adds helpers for HTML, text, PDF, and screenshots with retries, ad blocking, and CLI access.

★ 1.8k⟳ yesterdayMIT