adding the selenium magic