Skip to content

Commit 090900a

Browse files
committed
Merge pull request #608 from stof/changelog
Updated the changelog for Mink 1.6
2 parents 687cc68 + 0caab94 commit 090900a

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

CHANGES.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
1.6.0 / 2014-09-26
2+
==================
3+
4+
* [BC break] Changed the named selector to prefer exact matches over partial matches
5+
* [BC break] Changed `NodeElement::getValue` for checkboxes to return the value rather than the checked state (use `isChecked` for that)
6+
* Fixed the XPath prefixing when searching inside an existing element
7+
* Refactored the driver testsuite entirely and expand it to cover drivers entirely (covering many more cases for consistency)
8+
* Changed `NodeElement::setValue` to support any fields rather than only input elements
9+
* Removed the wrapping of any driver-level exception in a MinkException on invalid usage as it was making the code too complex
10+
* Fixed the matching of the input type in the named selector to be case insensitive according to the HTML spec
11+
* Introduced `Behat\Mink\Selector\Xpath\Escaper` to allow reusing the XPath escaping
12+
* Deprecated `Element::getSession`. Code needing the session should get it from outside rather than the element
13+
* Changed ElementNotFoundException to extend from ExpectationException
14+
* Added `Element::getOuterHtml` to get the HTML code of the element including itself
15+
* Fixed the name selectors to match on the `placeholder` only for textual inputs
16+
* Enforced consistent behavior for drivers on 4xx and 5xx response to return the response rather than throwing an exception
17+
* Added `Element::waitFor` to allow retrying some code until it succeeds or the timeout is reached
18+
* Added `Element::isValid` to check whether an element still exists in the page
19+
* Made `Session::executeScript` compatible across drivers by ensuring they all support the same syntaxes for the JS expression
20+
* Made `Session::evaluateScript` compatible across drivers by ensuring they all support the same syntaxes for the JS expression
21+
* Removed `hasClass` from `DocumentElement` (instead of triggering a fatal error)
22+
* Added testing on HHVM to ensure consistency
23+
* Fixed `NodeElement::getTagName` to ensure that the tag name is lowercase for all drivers
24+
* Fixed `Element::hasAttribute` to ensure it supports attributes with an empty value
25+
* Fixed the `field` selector to avoid matching inputs with the type `submit` or `reset`
26+
* Changed the button XPath selection to accept `reset` buttons as well
27+
* Changed `Session::wait` to return the condition value rather than nothing
28+
* Added `Session::getWindowName` and `Session::getWindowNames` to get the name of the current and of all windows
29+
* Added `Session::maximizeWindow` to maximize the window
30+
* Added `NodeElement::isSelected` to check whether an `<option>` is selected
31+
* Added `NodeElement::submitForm` to allow submitting a form without using a button
32+
* Added assertions about the value of an attribute
33+
* Added the anchor in the assertion on the URL in `WebAssert`
34+
135
1.5.0 / 2013-04-14
236
==================
337

0 commit comments

Comments
 (0)