In take_screenshot, save the name of the file to the class so that it can be accessed again.
In move_screenshots_to_folder, accept and optional parameter with a list of file names. If the list of file names is given, then only move files matching this file name. This will solve any concurrency issues as this is stricter than simply moving every file that is a .png file.
Update the unit tests, and add coverage for this new functionality.
This allows the move_screenshots_to_folder method to be more specific about which files it is moving (as opposed to moving any file with any name of type .png).
Description
Related Issue
BUG #49
Motivation and Context
This allows the
move_screenshots_to_folder
method to be more specific about which files it is moving (as opposed to moving any file with any name of type .png).