private function detectCloudServiceByStatus($responseData): string
    {
        if (isset($responseData->value, $responseData->value->build, $responseData->value->build->version)) {
            if ($responseData->value->build->version === 'Sauce Labs') {
                return self::CLOUD_SERVICE_SAUCELABS;
            } elseif ($responseData->value->build->version === 'TestingBot') {
                return self::CLOUD_SERVICE_TESTINGBOT;
            } elseif (!isset($responseData->class) && !isset($responseData->value->ready)) {
                return self::CLOUD_SERVICE_BROWSERSTACK;
            }
        }

        return '';
    }