Commit Graph

445 Commits

Author SHA1 Message Date
Yozhef
412bdc3d0f Merge pull request #16 from SwenVanZanten/goutte-client-4-compatibility
Add goutte/client 4 compatibility
2022-10-17 10:22:47 +03:00
Swen van Zanten
98e9aa9266 change the way http client is initiated 2022-10-10 11:51:06 +02:00
Yozhef
c5dccf0bfe Update README.md 2022-07-01 12:40:00 +03:00
Yozhef
9f8bcde32e Merge pull request #17 from FriendsOfBehat/addCheckSymfony6.1
Update test.yaml
2022-07-01 12:37:40 +03:00
Yozhef
b16b2a38fe Update test.yaml 2022-07-01 12:34:01 +03:00
Yozhef
63e05273cc Merge pull request #15 from stof/fix_chrome_prefs
Fix chrome prefs
2022-07-01 12:31:41 +03:00
Yozhef
9c03f8ab5e Update test.yaml 2022-07-01 12:31:17 +03:00
Christophe Coevoet
015dcafdbd Remove empty chrome prefs from the capabilities 2022-07-01 10:39:23 +02:00
Christophe Coevoet
8a96a79972 Fix the config structure for chrome prefs
This is a map node, not a list node.
2022-07-01 10:39:23 +02:00
Yozhef
35f542a757 Merge pull request #14 from liip-forks/add-support-for-browserkit-driver
Add support for BrowserKit driver
2022-07-01 10:56:58 +03:00
Swen van Zanten
c0aa3e776e add goutte/client 4 compatibility 2022-04-11 15:02:41 +02:00
thePanz
760868b9e5 Add support for BrowserKit driver 2022-03-04 15:17:34 +01:00
Yozhef
df04efb3e8 Merge pull request #13 from ruudk/patch-1
PHP 8.1 > Always pass `string` to `rtrim`
2021-12-24 15:19:26 +02:00
Ruud Kamphuis
7c7f059b1e PHP 8.1 > Always pass string to rtrim
Fixes the following deprecation:
rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/friends-of-behat/mink-extension/src/Behat/MinkExtension/Context/RawMinkContext.php line 144
2021-12-23 11:11:26 +01:00
Yozhef
16c61688fa Merge pull request #12 from Yozhef/feat/marionette_bool
marionette capability should be optional
2021-12-13 12:45:18 +02:00
Yozhef
c33a3fbcf1 marionette capability should be optional 2021-12-13 12:27:56 +02:00
Yozhef
1e63897cb7 Update README.md 2021-12-13 11:15:17 +02:00
Yozhef
158b4d4bed Merge pull request #9 from cacahouwete/fix-deprecated-use
Fix deprecated use of ReflectionParameter::getClass for php 8
2021-12-13 10:48:21 +02:00
Yozhef
eab9fd99e8 Merge pull request #11 from javer/symfony6-php81
Add Symfony 6 and PHP 8.1 support
2021-12-13 10:18:42 +02:00
javer
c4206f41af Move from Travis CI to GitHub Actions 2021-12-08 21:40:01 +02:00
javer
8d15a03b72 Drop unsupported PHP and Symfony versions and add PHP 8.1 and SF 6.0 2021-12-08 21:27:09 +02:00
Alexandre Vinet
c686055f15 Fix deprecated use of ReflectionParameter::getClass for php 8 2021-05-21 10:52:54 +02:00
Kamil Kokot
83119aa70b minor #6 Add tests for Symfony 3.4, 5.1 and 5.2 (pamil)
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

2b77bf6cd1 Add tests for Symfony 3.4, 5.1 and 5.2
2021-01-21 10:27:44 +01:00
Kamil Kokot
2b77bf6cd1 Add tests for Symfony 3.4, 5.1 and 5.2 2021-01-21 10:11:02 +01:00
Kamil Kokot
0ebc53a6cd feature #2 add prefs node to chrome configuration (smildev)
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
-------

c9bc6c9999 add prefs node to chrome configuration
2021-01-21 10:08:00 +01:00
Kamil Kokot
3c40979f38 feature #3 Support Symfony 3.4 (LTS) (johanwilfer)
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
-------

4613f91427 Update composer.json
a0559e1455 Update composer.json
f4c2fcf345 Update composer.json
2021-01-21 10:07:29 +01:00
Kamil Kokot
85763f4a24 feature #4 Support PHP 8.0 (vincentchalamon)
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

9239ca7475 Support PHP 8.0
2021-01-21 10:05:50 +01:00
Vincent Chalamon
9239ca7475 Support PHP 8.0 2020-12-15 14:12:18 +01:00
Johan Wilfer
f4c2fcf345 Update composer.json 2020-03-03 19:03:47 +01:00
Johan Wilfer
a0559e1455 Update composer.json 2020-03-03 18:58:11 +01:00
Johan Wilfer
4613f91427 Update composer.json 2020-03-03 18:46:15 +01:00
regnier kevin
c9bc6c9999 add prefs node to chrome configuration 2020-02-27 17:12:30 +01:00
Kamil Kokot
ca8796a20f minor #1 Upgrade this package to 2020's standards (pamil)
This PR was merged into the 2.1.x-dev branch.

Discussion
----------



Commits
-------

9efd51ad66 Upgrade this package to 2020's standards
2020-01-15 18:16:57 +01:00
Kamil Kokot
9efd51ad66 Upgrade this package to 2020's standards 2020-01-15 18:13:09 +01:00
Christophe Coevoet
80f7849ba5 Merge pull request #311 from attrib/master
Fix Behat/MinkExtension#309 Firefox starts instead of Chrome
2018-02-06 16:36:30 +01:00
Karl Fritsche
4b6d5f1ea5 Fix Behat/MinkExtension#309 Firefox starts instead of Chrome 2017-11-28 17:41:23 +01:00
Ciaran McNulty
badc565b7a Merge pull request #308 from dunglas/sf4
Symfony 4 compatiblity. Test with PHP 7+.
2017-11-24 19:30:49 +00:00
Kévin Dunglas
0e3dd0a88c Add back PHP 5.3 2017-11-24 19:54:34 +01:00
Kévin Dunglas
63b15740e7 Symfony 4 compatiblity. Test with PHP 7+. 2017-11-24 17:32:33 +01:00
Christophe Coevoet
c85f3276c4 Merge pull request #291 from phil-davis/patch-1
Little words in doc
2017-09-21 11:52:01 +02:00
Phil Davis
9b8d9e9ed2 Little words in doc 2017-09-21 10:10:18 +05:45
Christophe Coevoet
ba90463fab Merge pull request #261 from miya0001/fix-incorrect-help
fix incorrect help for `printLastResponse()`
2016-11-17 12:38:25 +01:00
miya0001
160d4b7709 fix incorrect help for printLastResponse() 2016-11-17 15:52:49 +09:00
Christophe Coevoet
694c9ee490 Merge pull request #252 from bocharsky-bw/patch-1
Bump number of supported drivers
2016-07-11 10:40:23 +02:00
Victor Bocharsky
0b6b808c92 Bump number of supported drivers
Looks like `MinkExtension` comes with support for 7 drivers out of the box
2016-07-10 15:36:21 +03:00
Christophe Coevoet
3e70d0e49c Merge pull request #244 from roukmoute/fix_checkbox
Fix checkbox
2016-06-27 10:24:26 +02:00
Christophe Coevoet
e06b880614 Merge pull request #250 from basilfx/master
Add Marionette capability for Selenium2Driver
2016-06-17 11:48:50 +02:00
Bas Stottelaar
390f237f25 Add marionette capability for Selenium2Driver 2016-06-17 11:36:48 +02:00
Christophe Coevoet
53f8bd8e4f Merge pull request #208 from VincentCATILLON/raw-mink-context-ternary-condition
saveScreenshot function refactoring.
2016-06-17 09:24:00 +02:00
Mathias Strasser
7c3f289a19 Add same snippets for all checkbox definitions 2016-05-13 09:25:50 +02:00