public void TestScreenRecordOutputToFile()
        {
            var obj = new AndroidScreenRecordOptions()
            {
                VideoSize = "640x480",
                BitRate   = 5
            };

            Thread.Sleep(2000);
            String Base64ResponseString = driver.StopRecordingScreen();

            byte[] data     = Convert.FromBase64String(Base64ResponseString);
            string filePath = Path.GetTempPath();
            var    fileName = "TestScreenRecordOutput.mp4";
            string fullPath = Path.Combine(filePath, fileName);

            Console.WriteLine(fullPath);
            try
            {
                File.WriteAllBytes(fullPath, data);
                Assert.IsTrue(File.Exists(fullPath));
                FileInfo outputFileInfo = new FileInfo(fullPath);
                Assert.IsTrue(outputFileInfo.Length > 10000);
            }
            finally
            {
                File.Delete(fullPath);
            }
        }
        public void TestScreenRecordWithOptions()
        {
            var obj = new AndroidScreenRecordOptions()
            {
                VideoSize = "640x480",
                BugReport = true,
                BitRate   = 1
            };

            driver.StartRecordingScreen(obj);
            Thread.Sleep(1000);
            var    stopObj = new RecordScreenUploadOptions();
            String Base64ResponseString = driver.StopRecordingScreen(stopObj);

            Assert.IsNotEmpty(Base64ResponseString);
            Assert.IsTrue(Validations.IsBase64String(Base64ResponseString), "Response Must be a base64 string");
        }