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][].