brick / browser
PHP browser implementation for automated application testing
Requires
- php: >=7.1
- ext-dom: *
- brick/http: 0.2.*
- brick/std: 0.1.*
- symfony/css-selector: 2.8.* || 3.*
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-03 00:19:35 UTC
README
A PHP browser implementation for automated testing.
Introduction
With an API inspired by Selenium, this PHP browser implementation allows fast automated testing of a PHP application. It lack many features of a real browser: it doesn't load external resources, and doesn't execute JavaScript. However, it allows your tests to browse from page to page by clicking elements and submitting forms, and check the result (URL, status code, page contents). If you don't need all the features of a real browser, this is a much faster alternative to Selenium.
Installation
This library is installable via Composer:
composer require brick/browser
Requirements
This library requires PHP 7.1 or later.