Test Cookie Commands |
||
deleteCookie | testCookieWithSameName | /path2/ |
deleteCookie | testCookieWithSameName | / |
deleteCookie | addedCookieForPath1 | /path1/ |
deleteCookie | addedCookieForPath2 | /path2/ |
open | http://localhost:4444/path1/cookies | |
createCookie | addedCookieForPath1=new value1 | |
createCookie | addedCookieForPath2=new value2 | path=/path2/, max_age=60 |
open | http://localhost:4444/path1/cookies | |
verifyCookie | regex:addedCookieForPath1=new value1 | |
verifyNotCookie | regex:testCookie | |
verifyNotCookie | regex:addedCookieForPath2 | |
open | http://localhost:4444/path2/cookies | |
verifyCookie | addedCookieForPath2=new value2 | |
verifyNotCookie | regex:addedCookieForPath1 | |
deleteCookie | addedCookieForPath2 | /path2/ |
deleteCookie | addedCookieForPath1 | /path1/ |
createCookie | testCookieWithSameName=new value1 | path=/ |
createCookie | testCookieWithSameName=new value2 | path=/path2/ |
open | http://localhost:4444/path1/cookies | |
verifyCookie | testCookieWithSameName=new value1 | |
open | http://localhost:4444/path2/cookies | |
verifyCookie | regex:testCookieWithSameName=new value1 | |
verifyCookie | regex:testCookieWithSameName=new value2 | |
deleteCookie | testCookieWithSameName | /path2/ |
open | http://localhost:4444/path2/cookies | |
verifyCookie | testCookieWithSameName=new value1 | |
verifyNotCookie | regex:testCookieWithSameName=new value2 |