Update src/Behat/Mink/Driver/BrowserKitDriver.php

Solves a bug when you have multiples elements having the same name on a page like foo[bar][].
Let me know what you think.

BTW : as you can see, I'm pretty new to github (this is my first contrib), so be kind ;-))