MDL-67668 behat: Support NodeElement when fetching node in container
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 12 Nov 2020 00:15:55 +0000 (08:15 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 23 Nov 2020 01:00:46 +0000 (09:00 +0800)
commita01ca7a600419a7037d25874ef6cced6f2b3fd88
tree90c97a35e4063125408db3e7ccb07ef6acbccc5b
parent03e32198844213b076125fdc4fc3a8a7469da617
MDL-67668 behat: Support NodeElement when fetching node in container

This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
lib/behat/behat_base.php