https://mamchenkov.net/wordpress/2007/10/17/record-anything-and-replay/
Record anything and replay