added all of the selenium functionality to build.gradle in an attempt to fix an error on Travis