Skip to content

Conversation

bhanu-webkul
Copy link

FileUtils.copyFile(screenshot,
new File("./target/" + driver + "-screenshot.png"));
its outdated code , so i have added new code and added time stamp so every time screen shot would be saved with unique name.

FileUtils.copyFile(screenshot,
				new File("./target/" + driver + "-screenshot.png"));
its outdated code , so i have added new code and added time stamp so every time screen shot would be saved with unique name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant