test: add test for invalid cookie url (#18751)
Co-Authored-By: Erick Zhao <erick@hotmail.ca>
This commit is contained in:
parent
ba96cdb7dc
commit
ddec3c0e78
2 changed files with 18 additions and 7 deletions
|
@ -84,7 +84,7 @@ the response.
|
|||
#### `cookies.set(details)`
|
||||
|
||||
* `details` Object
|
||||
* `url` String - The url to associate the cookie with.
|
||||
* `url` String - The url to associate the cookie with. An error is thrown if the url is invalid.
|
||||
* `name` String (optional) - The name of the cookie. Empty by default if omitted.
|
||||
* `value` String (optional) - The value of the cookie. Empty by default if omitted.
|
||||
* `domain` String (optional) - The domain of the cookie; this will be normalized with a preceding dot so that it's also valid for subdomains. Empty by default if omitted.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue