module.exports = function(selector){
  var casper = this;
  casper.waitWhilelVisible(selector, function(){
    // success...

  }, function(){
    // timed out...
    // @todo: Produce a warning, to be recorded on the test result.
    var info = casper.getElementInfo(selector);
    console.log('The script timed out waiting for element to become visible: ', selector);
  });
  // @todo: The above takes a 3rd parameter to specify the timeout.
};
