Skip to content

Commit aba4267

Browse files
committed
Clean README.md
1 parent 4836d77 commit aba4267

File tree

2 files changed

+18
-30
lines changed

2 files changed

+18
-30
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [smnandre]

README.md

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@
22
<img src="https://github.com/playwright-php/.github/raw/main/profile/playwright-php.png" alt="Playwright PHP" />
33

44
&nbsp; ![PHP Version](https://img.shields.io/badge/PHP-8.3+-05971B?labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
5-
&nbsp; ![CI](https://img.shields.io/github/actions/workflow/status/playwright-php/playwright-mink-driver/CI.yaml?branch=main&label=Tests&color=1D8D23&labelColor=09161E&logoColor=FFFFFF)
6-
&nbsp; ![Release](https://img.shields.io/github/v/release/playwright-php/playwright-mink-driver?label=Stable&labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
7-
&nbsp; ![License](https://img.shields.io/github/license/playwright-php/playwright-mink-driver?label=License&labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
5+
&nbsp; ![CI](https://img.shields.io/github/actions/workflow/status/playwright-php/playwright-mink/CI.yaml?branch=main&label=Tests&color=1D8D23&labelColor=09161E&logoColor=FFFFFF)
6+
&nbsp; ![Release](https://img.shields.io/github/v/release/playwright-php/playwright-mink?label=Stable&labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
7+
&nbsp; ![License](https://img.shields.io/github/license/playwright-php/playwright-mink?label=License&labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
88

99
</div>
1010

11-
# PlaywrightPHP - Mink Driver
11+
# Playwright PHP - Mink Driver
1212

13-
A [Mink](https://mink.behat.org/) driver powered by **Playwright PHP**.
14-
It brings modern browser automation (Chromium, Firefox, WebKit) to the Behat/Mink ecosystem.
15-
16-
> [!IMPORTANT]
17-
> Some tests are currently skipped due to Playwright PHP limitations (drag-and-drop, window/popup handling).
13+
A [Mink](https://mink.behat.org/) driver powered by **[Playwright PHP](https://github.com/playwright-php)**.
1814

1915
## Features
2016

@@ -29,19 +25,21 @@ It brings modern browser automation (Chromium, Firefox, WebKit) to the Behat/Min
2925

3026
## Installation
3127

32-
```bash
33-
composer require --dev smnandre/mink-playwright-driver
34-
```
28+
**Requirements**
3529

36-
You also need Node.js and Playwright browsers:
30+
- PHP 8.3 or higher
31+
- [Playwright PHP](https://github.com/playwright-php/playwright) (installed automatically)
32+
33+
You can install the driver via Composer:
3734

3835
```bash
39-
npm install playwright
40-
npx playwright install chromium
36+
composer require --dev playwright-php/playwright-mink
4137
```
4238

4339
## Usage
4440

41+
### Basic Example
42+
4543
```php
4644
use Behat\Mink\Session;
4745
use PlaywrightPHP\Mink\Driver\PlaywrightDriver;
@@ -57,16 +55,9 @@ $session->stop();
5755

5856
## Testing
5957

60-
This driver is validated against the official
61-
[`minkphp/driver-testsuite`](https://github.com/minkphp/driver-testsuite).
58+
This driver is validated against the official [`minkphp/driver-testsuite`](https://github.com/minkphp/driver-testsuite).
6259

63-
### Install dependencies
64-
65-
```bash
66-
composer install
67-
```
68-
69-
### Start the test server
60+
### Starting the test server
7061

7162
```bash
7263
vendor/bin/mink-test-server
@@ -78,10 +69,6 @@ vendor/bin/mink-test-server
7869
vendor/bin/phpunit
7970
```
8071

81-
## CI Matrix
82-
83-
The GitHub Actions workflow runs:
72+
## License
8473

85-
- PHP 8.3 & 8.4
86-
- Browsers: Chromium, Firefox, WebKit
87-
- Coding standards (PHPStan + PHP-CS-Fixer)
74+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)