brick/browser

PHP browser implementation for automated application testing

0.2.0 2019-04-10 11:50 UTC

This package is auto-updated.

Last update: 2024-11-03 00:06:36 UTC


README

A PHP browser implementation for automated testing.

Build Status Coverage Status Latest Stable Version License

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.