Refactor text reports driver
Refactor html reports driver