# File lib/selenium/webdriver/phantomjs/service.rb, line 41
        def start
          @process.start

          unless @socket_poller.connected?
            raise Error::WebDriverError, "unable to connect to phantomjs @ #{@uri} after #{START_TIMEOUT} seconds"
          end

          Platform.exit_hook { stop } # make sure we don't leave the server running
        end