https://github.com/brick/browser
A PHP virtual browser implementation for automated testing
https://github.com/brick/browser
automated-testing browser php
Last synced: about 1 year ago
JSON representation
A PHP virtual browser implementation for automated testing
- Host: GitHub
- URL: https://github.com/brick/browser
- Owner: brick
- License: mit
- Created: 2017-11-03T11:34:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T23:12:51.000Z (about 2 years ago)
- Last Synced: 2024-10-07T14:37:25.940Z (over 1 year ago)
- Topics: automated-testing, browser, php
- Language: PHP
- Homepage:
- Size: 53.7 KB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Brick\Browser
=============

A PHP browser implementation for automated testing.
[](https://github.com/brick/browser/actions)
[](https://coveralls.io/github/brick/browser?branch=master)
[](https://packagist.org/packages/brick/browser)
[](http://opensource.org/licenses/MIT)
Introduction
------------
With an API inspired by [Selenium](http://www.seleniumhq.org/), 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](https://getcomposer.org/):
```bash
composer require brick/browser
```
Requirements
------------
This library requires PHP 7.1 or later.