public function Session::getScreenshot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Session.php \Behat\Mink\Session::getScreenshot()
Capture a screenshot of the current window.
Return value
string screenshot of MIME type image/* depending on driver (e.g., image/png, image/jpeg)
File
- vendor/
behat/ mink/ src/ Session.php, line 248
Class
- Session
- Mink session.
Namespace
Behat\MinkCode
public function getScreenshot() {
return $this->driver
->getScreenshot();
}