Upgrading selenium to newer version

Also upgraded how reference to rubygems was defined