public Dictionary <string, string> ToCustomDictionary()
        {
            var resultCollection = new Dictionary <string, string>();

            if (BrowserName.HasValue())
            {
                resultCollection.Add("browserName", BrowserName);
            }

            if (Platform.HasValue())
            {
                resultCollection.Add("platform", Platform);
            }

            if (Version.HasValue())
            {
                resultCollection.Add("version", Version);
            }

            if (ScreenResolution.HasValue())
            {
                resultCollection.Add("screenResolution", ScreenResolution);
            }

            if (AppiumVersion.HasValue())
            {
                resultCollection.Add("appiumVersion", AppiumVersion);
            }

            if (DeviceName.HasValue())
            {
                resultCollection.Add("deviceName", DeviceName);
            }

            if (DeviceOrientation.HasValue())
            {
                resultCollection.Add("deviceOrientation", DeviceOrientation);
            }

            if (PlatformVersion.HasValue())
            {
                resultCollection.Add("platformVersion", PlatformVersion);
            }

            if (PlatformName.HasValue())
            {
                resultCollection.Add("platformName", PlatformName);
            }

            return(resultCollection);
        }