Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / docs / api / commands / cookies / cookies_enabled.md
diff --git a/vendor/jcalderonzumba/gastonjs/docs/api/commands/cookies/cookies_enabled.md b/vendor/jcalderonzumba/gastonjs/docs/api/commands/cookies/cookies_enabled.md
new file mode 100644 (file)
index 0000000..f7b01e0
--- /dev/null
@@ -0,0 +1,36 @@
+cookies_enabled
+===============
+Command to enable/disable the CookieJar on PhantomJS.
+##How to enable cookies
+####Request
+```json
+{
+    "name": "cookies_enabled",
+    "args": [
+        true
+    ]
+}
+```
+####Response
+```json
+{
+    "response": true
+}
+```
+
+##How to disable cookies
+####Request
+```json
+{
+    "name": "cookies_enabled",
+    "args": [
+        false
+    ]
+}
+```
+####Response
+```json
+{
+    "response": true
+}
+```