Commit 8327c685 8327c6853ba5af1877ecb196709df00e6c408911 by Nicolas Perriault

closes #350 - Add a Casper.waitForSelectorTextChange() method

1 parent 61b83b86
......@@ -65,6 +65,7 @@ Last, all the casper test suites have been upgraded to use the new testing featu
### Bugfixes & enhancements
- closed [#392](https://github.com/n1k0/casperjs/issues/392) - `--direct` & `--log-level` options available for the `casperjs` executable
- closed [#350](https://github.com/n1k0/casperjs/issues/350) - Add a Casper.waitForSelectorTextChange() method
2013-02-08, v1.0.2
------------------
......
......@@ -459,6 +459,7 @@
* @return Mixed
*/
this.getFieldValue = function getFieldValue(inputName, options) {
options = options || {};
function getSingleValue(input) {
var type;
try {
......@@ -496,7 +497,7 @@
}
var formSelector = '';
if (options && options.formSelector) {
formSelector = options.formSelector + ' ';
formSelector = options.formSelector + ' ';
}
var inputs = this.findAll(formSelector + '[name="' + inputName + '"]');
switch (inputs.length) {
......