Mink can be used in writing application tests and simulate how a browser would respond to various actions and events.
Unlike headless browser emulator and browser controllers that work either really fast and don't support AJAX or work really slow but support AJAX, Mink has only the best parts, meaning it works fast and supports AJAX interactions.
So in real-life development environments, you can use Mink to replace a suite of applications like Zombie.js, Goutte, Selenium, or Sahi.
Under the hood, Mink is nothing than a core and a powerful API, needing various drivers to connect and work with the aforementioned technologies. So make sure you have all the appropriate drivers, based on the configuration you want to run.
What is new in this release:
- Fixed the XPath prefixing when searching inside an existing element
- Refactored the driver testsuite entirely and expand it to cover drivers entirely (covering many more cases for consistency)
- Changed `NodeElement::setValue` to support any fields rather than only input elements
- Removed the wrapping of any driver-level exception in a MinkException on invalid usage as it was making the code too complex
- Fixed the matching of the input type in the named selector to be case insensitive according to the HTML spec
- Introduced `Behat\Mink\Selector\Xpath\Escaper` to allow reusing the XPath escaping
- Deprecated `Element::getSession`. Code needing the session should get it from outside rather than the element
- Changed ElementNotFoundException to extend from ExpectationException
- Added `Element::getOuterHtml` to get the HTML code of the element including itself
- Fixed the name selectors to match on the `placeholder` only for textual inputs
- Enforced consistent behavior for drivers on 4xx and 5xx response to return the response rather than throwing an exception
- Added `Element::waitFor` to allow retrying some code until it succeeds or the timeout is reached
- Added `Element::isValid` to check whether an element still exists in the page
What is new in version 1.5.0:
- Added CoreDriver to simplify future drivers improvements
- Added Mink::isSessionStarted() method
- Fixed multibite string preg_replace bugs
- Fixed handling of whitespaces in WebAssert::pageText...() methods
What is new in version 1.3.3:
- Prevent exceptions in __toString()
- Added couple of useful step definitions for Behat
- Lot of small bug fixes and improvements
- Fixed dependencies and composer installation routine
What is new in version 1.3.2:
- Fixed webdriver registration in MinkContext.
Requirements:
- PHP 5.3.1 or higher
Comments not found