Behat/MinkSelenium2Driver — pull request #16 by nicam (2012-07-30 13:11:24+00:00)
Title: define the class attribute and create a getter for it

If you want to use Mink with TestingBot (testingbot.com) you need to pass the Selenium Session ID to their Api so they can evaluate if the test has passed or not, to supply the test title, etc.

To get this session id I added a getter to avoid the hackish solution:

$this->getMink()->getSession("selenium2")->getDriver()->wdSession->getURL()

because the wdSession attribute is not defined but used and is therefore public

Greetings

Pascal Helfenstein