@aik099 while extracting this logic, I figured that it does not handle the ``form`` attribute introduced in HTML5. the DomCrawler component supports it since 2.3.

My suggestion is to add a new test in Mink using the HTML5 attribute to ensure drivers support it properly. For browser controllers, it would depend of the underlying browser, but the only culprit is IE (as usual). However, I think it is fine if such test fail when running the Mink testsuite using IE as underlying driver (this way, people would know they should avoid it if they have to support IE).
For the BrowserKitDriver, it would work when you use Symfony 2.3+ (i.e. a maintained version) once we fix this method (otherwise, you can still submit the field value properly in 2.3+, but we cannot set the value at the driver level)