SeleniumClient\WebDriver::screenshot
Takes screenshot of current screen, saves it in specified default directory or as specified in parameter
Signature
public function screenshot([String
$overrideScreenshotsDirectory = null] )
Parameters
-
$overrideScreenshotsDirectory
Returns
- string