added html output and ability to define the did when taking screenshots