This module integrates Drupal with the Panther library, enabling functional testing of web applications using the Panther API. It allows developers to write tests in PHP with features like browser window maximization and screenshot capture.
Panther is a Drupal module that provides an integration with the Panther library for functional testing of web applications.
It allows you to write tests in PHP using the Panther API, which is built on top of the Symfony BrowserKit and DomCrawler components.
A test looks like:
public function testLoginPage(): void {
$this->maximizeWindow();
$this->goToPage('/user/login');
self::assertPageContains('Log in');
$this->takeScreenshot('testLoginPage', 'login');
}
Ask your assistant about Panther
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.0 | Stable | 10–11 | Aug 12, 2026 | ||
| 2.0.x-dev | Dev | 10–11 | Aug 12, 2026 | ||
| 1.0.9 | Stable | 10–11 | Sep 19, 2025 | ||
| 1.0.8 | Stable | 10–11 | Sep 10, 2025 | ||
| 1.0.7 | Stable | 10–11 | Jun 26, 2025 | ||
| 1.0.6 | Stable | 10–11 | Jun 10, 2025 | ||
| 1.0.5 | Stable | 10–11 | Jun 6, 2025 | ||
| 1.0.4 | Stable | 10–11 | May 29, 2025 | ||
| 1.0.3 | Stable | 10–11 | May 27, 2025 | ||
| 1.0.2 | Stable | 10–11 | May 15, 2025 |