Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Add a factory to use BrowserKit with HttpClient directly #382

Closed
wants to merge 23 commits into from

Conversation

mpdude
Copy link

@mpdude mpdude commented Apr 6, 2022

No description provided.

pamil and others added 23 commits January 15, 2020 18:13
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

9efd51a Upgrade this package to 2020's standards
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

9239ca7 Support PHP 8.0
This PR was merged into the 2.1.x-dev branch.

Discussion
----------

behatch/contexts relies on your fork (thanks for fixing PHP compability!), but in one project we still use Symfony 3.4 (LTS). This adds compatibility with that. 

Would be great if a minor version could be released with this so I can remove my fork that now publish a version we use with a repository override in composer.json
```
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/johanwilfer/MinkExtension"
        }
    ],
```

Commits
-------

4613f91 Update composer.json
a0559e1 Update composer.json
f4c2fcf Update composer.json
…dev)

This PR was merged into the 2.1.x-dev branch.

Discussion
----------

It adds the capability to configure a new key 'prefs' to chrome configuration.
We need this to configure the default directory download of chrome.

> example:

    Behat\MinkExtension:
        sessions:
            chrome:
                selenium2:
                    browser: chrome
                    capabilities:
                        .....
                        chrome:
                            switches:
                                - "start-fullscreen"
                                - "start-maximized"
                                - "no-sandbox"
                                - "headless"
                            prefs:
                                download:
                                    default_directory: etc/downloads


Commits
-------

c9bc6c9 add prefs node to chrome configuration
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

2b77bf6 Add tests for Symfony 3.4, 5.1 and 5.2
Fix deprecated use of ReflectionParameter::getClass for php 8
Fixes the following deprecation:
rtrim(): Passing null to parameter FriendsOfBehat#1 ($string) of type string is deprecated in vendor/friends-of-behat/mink-extension/src/Behat/MinkExtension/Context/RawMinkContext.php line 144
PHP 8.1 > Always pass `string` to `rtrim`
@mpdude
Copy link
Author

mpdude commented Apr 6, 2022

Disregard – wrong repo, this one seems dead. Additionally, FriendsOfBehat#14 is exactly the same code written by someone else.

@mpdude mpdude closed this Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants