adding screenshot support for start render and dom complete