Extract object for storing test data.
Move recorder behavior into screenshot.