MDL-42625 behat: Wrapping select an option extra actions in a try & catch
commitfff500c72734d2501b63b3bedd4f140e890e4c8c
authorDavid Monllao <davidm@moodle.com>
Thu, 12 Dec 2013 08:38:25 +0000 (12 16:38 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 12 Dec 2013 11:16:45 +0000 (12 12:16 +0100)
tree1730716db46988bb1516a4273ea5fb72c5ea3ee0
parentbdd5a6c5c21a79b3aed3120810875dd9542a409d
MDL-42625 behat: Wrapping select an option extra actions in a try & catch

To select an option is specially painful, every browser
behaves differently and phantomjs just joined the party
throwing "Element does not exist in cache" random
exceptions that we need to catch.
lib/behat/form_field/behat_form_select.php