ActiveWindow.prototype.captureDocument = function (options) {
    options = options || {};
    var screenshot = new Screenshot(this.getDriver());
    options.context = this;
    return screenshot.documentScreenshot(options);