brick / browser

A PHP virtual browser implementation for automated testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A PHP virtual browser implementation for automated testing

License:MIT License


Languages

Language:PHP 99.6%Language:HTML 0.4%