var casper = require('casper').create();

casper.start("https://mikeyaworski.com/IP", function() {

    var ip = this.evaluate(function() {
        return document.querySelector('#ip').innerText;
        // return $('#ip').text(); // doesn't work, but it should
    });
    
    this.echo("\nYour public IP address is: " + ip);
});

casper.run();
DOWNLOAD

              Created: February 22, 2014
Completed in full by: Michael Yaworski