Added 'withFrame' method as defined in casper docs: http://casperjs.org/api.html#casper.withFrame