Test your apps with real web browsers using Symfony Panther
summary
Symfony Panther drives real browsers via the WebDriver protocol and implements the same API as BrowserKit, so existing Symfony functional tests and Goutte scripts run unchanged while client side JS actually executes. The demo builds a Hacker News clone, uses Maker to scaffold entities and tests, exercises AJAX comment posting and uses waitFor selectors to catch async loading and a real JS bug that reproducibly fails. Panther runs headless or visible, takes screenshots and executes custom JS, and installs with composer require symfony/panther.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 26:48Why test apps
- 57:17Symfony project setup
- 1:33:59Generating functional tests
- 2:13:17Using fixtures
- 2:20:18Live demo and conclusion
related talks
39mPanther: test your Symfony apps with real web browsers
01h 13mThe multi-year quest for the best web test in the west
45mBehat from 0 to Hero: a Practical Guide
15mComponent Testing in 2026: The Return of the Browser
39mTesting web apps with Selenium
37mFront-end Testing for Skeptics
42mFunctional and Visual Testing for Web Applications
37mTesting the way it should be
