Take screenshots only when using the selenium2-driver