Sometimes it can be convenient to add your own methods to the `Casper` class; it's easily doable as illustrated below:
Sometimes it can be convenient to add your own methods to the `Casper` class; it's easily doable using the `Casper.extend()` method as illustrated below: