public function getRelativeScreenshotPath()
    {
        if (!file_exists($this->screenshotPath)) {
            return false;
        }

        return '.'.substr($this->screenshotPath, strpos($this->screenshotPath, '/assets/screenshots'));
    }
public function getRelativeScreenshotPath()
    {
        if (!file_exists($this->screenshotPath)) {
            return false;
        }

        return '.'.substr($this->screenshotPath, strpos($this->screenshotPath, '/assets/screenshots'));
    }
public function getRelativeScreenshotPath ( ) { if ( ! file_exists ( $ this -> screenshotPath ) ) { return false ; } return '.' . substr ( $ this -> screenshotPath , strpos ( $ this -> screenshotPath , '/assets/screenshots' ) ) ; }
Gets relative path for screenshot.

@return bool|string
Gets relative path for screenshot .