public function CoreDriver::getScreenshot in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::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)
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides DriverInterface::getScreenshot
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 319
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function getScreenshot() {
throw new UnsupportedDriverActionException('Screenshots are not supported by %s', $this);
}