Behat - watch current page content while stepping through test steps

file_put_contents('/tmp/test.png', $this->getSession()->getDriver()->getScreenshot())