library/Bootstrap/SeleniumBootstrap.php
public function prepareScreenShots()
    {
        $screenShotsPath = $this->getTestConfig()->getScreenShotsPath();
        if ($screenShotsPath && !is_dir($screenShotsPath)) {
            mkdir($screenShotsPath, 0777, true);
        }
    }
public function prepareScreenShots()
    {
        $screenShotsPath = $this->getTestConfig()->getScreenShotsPath();
        if ($screenShotsPath && !is_dir($screenShotsPath)) {
            mkdir($screenShotsPath, 0777, true);
        }
    }
public function prepareScreenShots ( ) { $ screenShotsPath = $ this -> getTestConfig ( ) -> getScreenShotsPath ( ) ; if ( $ screenShotsPath && ! is_dir ( $ screenShotsPath ) ) { mkdir ( $ screenShotsPath , 0777 , true ) ; } }
Creates screenshots directory if it does not exists.
Creates screenshots directory if it does not exists .