Added thenOpen casper function
Merge pull request #4 from MisterDr/master

Added thenOpen casper function