Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / docs / api / commands / cookies / remove_cookie.md
diff --git a/vendor/jcalderonzumba/gastonjs/docs/api/commands/cookies/remove_cookie.md b/vendor/jcalderonzumba/gastonjs/docs/api/commands/cookies/remove_cookie.md
new file mode 100644 (file)
index 0000000..5255603
--- /dev/null
@@ -0,0 +1,20 @@
+remove_cookie
+=============
+Command to delete any Cookie visible in the current page with the given name.
+
+If not found on the current page then the cookie will be search in the entire PhantomJS cookieJar so use with caution.
+##Cookie deletion request
+```json
+{
+    "name": "remove_cookie",
+    "args": [
+        "cookie_name_to_delete"
+    ]
+}
+```
+##Cookie deletion response
+```json
+{
+    "response": true
+}
+```