         when @url.indexOf('scribd.com/') > 1  then new ScribdRemote
         else new RabbitRemote
     
+
     control: () ->
       @driver
 

    getAuthor: () ->
      $('.title .h-author-name').html()

    getCurrentSlideNumber: () ->
      1 + parseInt($('.goToSlideLabel > input', @container).val())

    getCurrentSlideScreenshot: () ->
      $('.slide_container > .slide').eq(this.getCurrentSlideNumber()).find('img').prop('src')

    first: () ->
      $('.nav > .btnFirst', @container)[0].click()
    last: () ->
      $('.nav > .btnLast', @container)[0].click()
    next: () ->
      $('.nav > .btnNext', @container)[0].click()
    previous: () ->

              this.saveCurrentSlide(data)
            ).bind this  
          )
        when 'last'
          @remote.jump(@remote.driver.quantity, 
            ((data) ->
              this.saveCurrentSlide data
            ).bind this
          )
        when 'first'
          @remote.jump(0, 
            ((data) ->
              this.saveCurrentSlide data
            ).bind this
          )
        else
          console.log "Not implement"
      #connection.re
