As requested, move the selenium job to a template. Change-Id: I95b870ddd305cb1e6da9138d7c92521abd4c7b97