private function getScreenshotStatus($status): int
    {
        switch (mb_strtoupper($status)) {
            case 'IN_QUEUE':
                return ScreenshotStatus::IN_QUEUE;
            case 'IN_PROCESS':
                return ScreenshotStatus::IN_PROCESS;
            case 'FINISHED':
                return ScreenshotStatus::FINISHED;
            case 'ERROR':
                return ScreenshotStatus::ERROR;
        }

        return ScreenshotStatus::UNKNOWN;
    }