diff --git a/lib/chrome.js b/lib/chrome.js index da770cb..f15f92b 100644 --- a/lib/chrome.js +++ b/lib/chrome.js @@ -1220,6 +1220,10 @@ var ChromeObject = function(interfaces) { this.getReadyState = function() { return this.getEvaluatedValue("document.readyState"); }; + + this.getCookie = function() { + return this.getEvaluatedValue("document.cookie"); + }; this.create(); };