MDL-55258 behat: Set focus on button before clicking it
authorRajesh Taneja <rajesh@moodle.com>
Tue, 19 Jul 2016 01:23:44 +0000 (09:23 +0800)
committerRajesh Taneja <rajesh@moodle.com>
Tue, 19 Jul 2016 01:23:44 +0000 (09:23 +0800)
commitddf36bf5aa0c57e813b422eb57dd1a49a31b0c44
treef976b5ec13b97a3727bfcc6404df1c1279b27f3d
parent36a19ecc26d9299af09e7bec9e8dfa99729e1973
MDL-55258 behat: Set focus on button before clicking it

Set the focus on button to ensure it is in
viewport before clicking on it.
lib/tests/behat/behat_forms.php