anchor.diff:          webDriver.get 'http://www.google.com'
   
           findr()
  -            .elem(By.id('gbqfq'))
  +            .elem(By.id('lst-ib'))
               .sendKeys('pojos on the web')
   
           findr()
  -            .elem(By.cssSelector('button.gbqfb'))
  +            .elem(By.cssSelector('button.lsb'))
  +            .where(attrEquals('value', 'Search'))
               .click()
   
           findr()
  
positive.code:             e.getAttribute('href').contains 'www.pojosontheweb.com'
          } + at(0) >> click()
  
          $$('a') +
              textEquals('Website for this image') +
              at(0) >> click()
  
          $('h1.page-header.index') +
              textEquals('Woko: POJOs on the Web!') >> eval()
  
      }
  
  }
  </script>
  
  
negative.code:             .click()
  
          findr()
              .elemList(By.cssSelector('a.irc_vpl.irc_but'))
              .where(textEquals('Visit page'))
              .at(0)
              .click()
  
          findr()
              .elem(By.cssSelector('div.jumbotron h1'))
              .where(textEquals('POJOs on the Web!'))
              .eval()
      }
  
      add test('images') {
  
          webDriver.get 'http://www.google.com'
          $$('a') + textEquals('Images') + at(0) >> click()
  
          $('#lst-ib') >> sendKeys('pojos on the web', Keys.ENTER)
  
  