Skip to content

Commit

Permalink
docs(cookie): fix doc format
Browse files Browse the repository at this point in the history
  • Loading branch information
paradite committed Mar 17, 2019
1 parent d6e4a36 commit 1f02875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/macaca-wd.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ function allCookies() {}
/**
* Adds a single cookie to the cookie store associated with the active document’s address.
* @summary Support: Web(WebView)
* @param cookie example: {url: 'https://macacajs.github.io', name:'foo', value:'bar'} Optional cookie fields: secure, expiry
* @param {object} cookie - example: {url: 'https://macacajs.github.io', name:'foo', value:'bar'} Optional cookie fields: secure, expiry
* @see {@link https://w3c.github.io/webdriver/webdriver-spec.html#add-cookie|POST /session/:sessionId/cookie}
* @returns {Promise.<string>}
*/
Expand All @@ -787,7 +787,7 @@ function setCookie(cookie) {}
/**
* Delete either a single cookie by parameter name, or all the cookies associated with the active document’s address if name is undefined.
* @summary Support: Web(WebView)
* @param name cookie name
* @param {string} name cookie name
* @see {@link https://w3c.github.io/webdriver/webdriver-spec.html#delete-cookie|DELETE /session/:sessionId/cookie/:name}
* @returns {Promise.<string>}
*/
Expand Down

0 comments on commit 1f02875

Please sign in to comment.