Behat/MinkBrowserKitDriver — pull request #17 by arcturial (2013-05-06 19:24:58+00:00)
Title: MinkBrowserKitDriver initializes without a request

Related to https://github.com/Behat/MinkBrowserKitDriver/issues/6

The problem seems to be that the webkit drivers initialize without an initial landing page. The javascript drivers (specifically referring to selenium2) seems to initialize with about:blank, thus giving them the ability to call getCurrentUrl() and getContent()...even though the results are blank documents and "about:blank".

I am not sure this is a problem to begin with, since your tests should start by putting your scenario in the correct state and at the correct location. I did however update the getCurrentUrl() function to throw a more helpful exception, instead of a fatal error.

I found that the getContent() method has already been fixed so that it throws a more presentable error.