MinkBrowserKitDriver

Symfony2 BrowserKit driver for Mink framework

MIT License

Downloads
49M
Stars
551
Committers
33

Bot releases are hidden (Show)

MinkBrowserKitDriver - 2.2.0 Latest Release

Published by stof 10 months ago

New features:

  • Added support for Symfony 7.
  • Added types for method parameters
  • Improve the handling of invalid values passed to setValue

Testsuite:

  • Added CI jobs running on PHP 8.2 and 8.3
  • Added static analysis with phpstan
MinkBrowserKitDriver - 2.1.0

Published by stof over 2 years ago

New features:

  • Added support for Symfony 6.
MinkBrowserKitDriver - 2.0.0

Published by stof almost 3 years ago

BC break:

  • The getClient method now returns an AbstractBrowser from BrowserKit instead of the deprecated Client.
  • The constructor now takes an AbstractBrowser from BrowserKit instead of the deprecated Client.
  • The deprecated methods setRemoveHostFromUrl and setRemoveScriptFromUrl have been removed

New features:

  • Added support for Symfony 5.

Removed:

  • Removed support for Symfony <4.4.
  • Removed support for PHP <7.2.
  • Removed deprecated methods
MinkBrowserKitDriver - 1.4.1

Published by stof almost 3 years ago

Bug fixes:

  • Fixed the basic authentication implementation when using Browserkit clients other than the HttpKernel one.
MinkBrowserKitDriver - 1.4.0

Published by stof about 3 years ago

Removed:

  • Removed support for PHP 5.3

Bug fixes:

  • Fixed the removal of cookies in a subpath

Testsuite:

  • Added CI jobs running on PHP 7.4, 8.0 and 8.1
MinkBrowserKitDriver - 1.3.4

Published by stof over 4 years ago

BC Break:

  • Changed the return value for getValue on a select without any options to an empty string rather than null to respect the common contract between Mink drivers

Bug fixes:

  • Changed phpdoc types from Boolean to boolean to be compatible with psalm type checking
  • Improved compatibility with the HTML5 parsing of the symfony/dom-crawler component in 4.4+
  • Removed usages of APIs deprecated in symfony/dom-crawler 4.4
  • Send the configured headers when submitting forms

Testsuite:

  • Removed HHVM from CI as they dropped support for PHP compatibility
  • Added CI on PHP 7.2, 7.3 and 7.4
MinkBrowserKitDriver - 1.3.3

Published by aik099 over 6 years ago

  • Added Symfony 4.0 compatibility
MinkBrowserKitDriver - 1.3.2

Published by stof over 8 years ago

Testsuite:

  • Disallowed failures on PHP 7 on Travis (tests were passing since a long time)
  • Added HTML escaping of submitted values in the driver testsuite web-fixtures
MinkBrowserKitDriver - 1.3.1

Published by everzet over 8 years ago

  • Added Symfony 3.0 compatibility
MinkBrowserKitDriver - 1.3.0

Published by stof about 9 years ago

BC break:

  • Dropped support for Symfony 2.2 and older
  • Bumped required PHP version to 5.3.6

New features:

  • Updated the driver to use findElementsXpaths for Mink 1.7 and forward compatibility with Mink 2

Bug fixes:

  • Improved the exception message when clicking on an invalid element
  • Use saveHTML to get correct HTML code back

Misc:

  • Updated the repository structure to PSR-4
MinkBrowserKitDriver - 1.2.0

Published by stof about 10 years ago

BC break:

  • Changed the behavior of getValue for checkboxes according to the BC break in Mink 1.6

New features:

  • Implemented getOuterHtml
  • Added the support of manipulating forms without submit buttons
  • Added support of any request headers instead of supporting only a few hardcoded ones
  • Added support of any BrowserKit client using filterResponse when using BrowserKit 2.3+
  • Added the support of reset buttons
  • Implemented submitForm
  • Implemented isSelected

Bug fixes:

  • Fixed the support of options without value attribute in isSelected and getValue
  • Added the support of radio buttons in isChecked
  • Fixed the submission of empty textarea fields
  • Refactored the handling of request headers to ensure they are reset when resetting the driver
  • Fixed the handling of buttons to submit only for submit buttons rather than all buttons
  • Fixed the code to throw exceptions rather than triggering a fatal error for invalid usages of the driver
  • Fixed the removal of cookies
  • Fixed the submission of form fields with same name and without id
  • Fixed getAttribute to return null for missing attributes rather than an empty string

Testing:

  • Updated the testsuite to use the new Mink 1.6 driver testsuite
  • Added testing on HHVM