Version 1
[yaffs-website] / vendor / jcalderonzumba / gastonjs / docs / api / commands / cookies / remove_cookie.md
1 remove_cookie
2 =============
3 Command to delete any Cookie visible in the current page with the given name.
4
5 If not found on the current page then the cookie will be search in the entire PhantomJS cookieJar so use with caution.
6 ##Cookie deletion request
7 ```json
8 {
9     "name": "remove_cookie",
10     "args": [
11         "cookie_name_to_delete"
12     ]
13 }
14 ```
15 ##Cookie deletion response
16 ```json
17 {
18     "response": true
19 }
20 ```