11<div align =" center " >
2- <img src =" https://github.com/playwright-php/.github/raw/main/profile/playwright-php.png " alt =" Playwright PHP " />
2+ <a href = " https://github.com/playwright-php " >< img src =" https://github.com/playwright-php/.github/raw/main/profile/playwright-php.png " alt =" Playwright PHP " /></ a >
33
44  ; ![ PHP Version] ( https://img.shields.io/badge/PHP-8.3+-05971B?labelColor=09161E&color=1D8D23&logoColor=FFFFFF )
55  ; ![ 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 )
@@ -14,32 +14,25 @@ A [Mink](https://mink.behat.org/) driver powered by **[Playwright PHP](https://g
1414
1515## Features
1616
17- - Full Mink ` DriverInterface ` implementation
18- - Chromium, Firefox, WebKit support (via Playwright)
19- - Navigation, cookies, headers, auth
20- - DOM access (XPath, CSS, attributes, values)
21- - Form actions (check, select, attach files)
22- - JavaScript execution and evaluation
23- - Window & iframe switching
24- - Screenshots
17+ - Run real browsers: Chromium, Firefox, WebKit (headless or not)
18+ - Control the DOM: navigation, forms, cookies, JS, events
19+ - Handle windows, iframes, uploads, screenshots, dialogs
2520
2621## Installation
2722
2823** Requirements**
2924
3025- PHP 8.3 or higher
31- - [ Playwright PHP] ( https://github.com/playwright-php/playwright ) (installed automatically)
26+ - [ Playwright PHP] ( https://github.com/playwright-php/playwright )
3227
33- You can install the driver via Composer:
28+ ** Install the driver**
3429
3530``` bash
3631composer require --dev playwright-php/playwright-mink
3732```
3833
3934## Usage
4035
41- ### Basic Example
42-
4336``` php
4437use Behat\Mink\Session;
4538use PlaywrightPHP\Mink\Driver\PlaywrightDriver;
@@ -49,26 +42,29 @@ $session = new Session($driver);
4942
5043$session->start();
5144$session->visit('https://example.org');
45+
5246echo $session->getPage()->getText();
47+
5348$session->stop();
5449```
5550
5651## Testing
5752
5853This driver is validated against the official [ ` minkphp/driver-testsuite ` ] ( https://github.com/minkphp/driver-testsuite ) .
5954
60- ### Starting the test server
55+ ** Start the test server**
6156
6257``` bash
6358vendor/bin/mink-test-server
6459```
6560
66- ### Run tests
61+ ** Run tests**
6762
6863``` bash
6964vendor/bin/phpunit
7065```
7166
7267## License
7368
74- This project is licensed under the MIT License. See the [ LICENSE] ( LICENSE ) file for details.
69+ This package is released by the [ Playwright PHP] ( https://playwright-php.dev )
70+ project under the MIT License. See the [ LICENSE] ( LICENSE ) file for details.
0 commit comments