I am using mocha for testing.
With zombie.js, one can navigate to a webpage asynchronously like:
browser.visit(referrer, function(){
browser.clickLink('.myLinkClass', function(){
assert(browser.field('referrer').value === referrer);
done();
});
});
But with selenium, you do:
driver.get('http://www.google.com');
The documentation does not mention any asynchronous callback that you can pass when the page is loaded. Is this feature absent ?