Skip to content
/ browser Public

A PHP virtual browser implementation for automated testing

License

Notifications You must be signed in to change notification settings

brick/browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brick\Browser

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.