LearnBoost / tobi

Tobi: Expressive server-side functional testing with jQuery
408 stars 33 forks source link

browser.click('a') doesn't request a url but bind a function with a click event. #63

Open craftgear opened 13 years ago

craftgear commented 13 years ago

This code doesn't do anything but bind a function with a click event.

browser.click('a', function(res, $){
  console.log('a#test was clicked')
})

According Tobi document, this is not an expected behavior.