Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Webdriver: ChromeDriver#getScreenshotAs(FILE) saves jpg image to *.png file #642

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 642

What steps will reproduce the problem?

WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");
((TakesScreenshot) driver).getScreenshotAs(OutputType.FILE);

This saves screenshot to a some *.png file in the temp dir.


What is the expected output? What do you see instead?
The output screenshot has JPEG format and should have an extension *.jpg instead

What version of the product are you using? On what operating system?
Windows XP/GoogleChrome 5.0.375.99/Webdriver 2.0a5

Reported by anatol.pomozov on 2010-07-13 05:14:30

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions