HumHub Documentation (unofficial)

ScreenshotSaver

Table of Contents

Methods

_saveScreenshot()  : mixed
Saves screenshot of current page to a file

Methods

_saveScreenshot()

Saves screenshot of current page to a file

public _saveScreenshot(mixed $filename) : mixed
APIYes
$this->getModule('{{MODULE_NAME}}')->_saveScreenshot(codecept_output_dir().'screenshot_1.png');
Parameters
$filename : mixed
Loading…
On this page

Search results