Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
obstar committed Jul 19, 2019
2 parents 3b7a31e + b530c29 commit 41da945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added src/Coypu.AcceptanceTests/html/test-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/Coypu/Drivers/Selenium/ImageFormatParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ internal static ScreenshotImageFormat GetImageFormat(string fileName)
var extension = new FileInfo(fileName).Extension.ToLower()
.Replace("jpg", "jpeg");

extension = extension.Replace(".", "");

ScreenshotImageFormat format;
if (AreEqual(extension, ScreenshotImageFormat.Bmp))
format = ScreenshotImageFormat.Bmp;
Expand Down

0 comments on commit 41da945

Please sign in to comment.