public void WhenSetClipboardImage_GetClipboardImageShouldReturnImage() { var imageBytes = _driver.GetScreenshot().AsByteArray; var testImage = Image.FromStream(new MemoryStream(imageBytes)); _driver.SetClipboardImage(testImage); Assert.That(() => _driver.GetClipboardImage().Size, Is.EqualTo(testImage.Size)); }