public void WhenIToggleTheNightMode()
        {
            var byteArrayLightMode = PageFactory.Instance.CurrentPage.As <SettingsPage>().TakeScreenshot();

            LightModeBrightness = FrameworkUtilities.ImageBrightness(byteArrayLightMode);
            PageFactory.Instance.CurrentPage.As <SettingsPage>().ToggleNightMode();

            FrameworkUtilities.Sleep(1500);
            var byteArrayNightMode = PageFactory.Instance.CurrentPage.As <SettingsPage>().TakeScreenshot();

            DarkModeBrighness = FrameworkUtilities.ImageBrightness(byteArrayNightMode);
        }