Skip to content

Commit 9386609

Browse files
committed
Prepare release
1 parent aba4267 commit 9386609

File tree

4 files changed

+144
-145
lines changed

4 files changed

+144
-145
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
$licence = <<<'EOF'
4-
This file is part of the playwright-php/playwright package.
4+
This file is part of the Playwright PHP community project.
55
For the full copyright and license information, please view
66
the LICENSE file that was distributed with this source code.
77
EOF;

README.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
&nbsp; ![PHP Version](https://img.shields.io/badge/PHP-8.3+-05971B?labelColor=09161E&color=1D8D23&logoColor=FFFFFF)
55
&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)
@@ -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
3631
composer require --dev playwright-php/playwright-mink
3732
```
3833

3934
## Usage
4035

41-
### Basic Example
42-
4336
```php
4437
use Behat\Mink\Session;
4538
use PlaywrightPHP\Mink\Driver\PlaywrightDriver;
@@ -49,26 +42,29 @@ $session = new Session($driver);
4942

5043
$session->start();
5144
$session->visit('https://example.org');
45+
5246
echo $session->getPage()->getText();
47+
5348
$session->stop();
5449
```
5550

5651
## Testing
5752

5853
This 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
6358
vendor/bin/mink-test-server
6459
```
6560

66-
### Run tests
61+
**Run tests**
6762

6863
```bash
6964
vendor/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

Comments
 (0)