Skip to main content

Cookies

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

iOS & Android users which desire to run tests on the mobile safari browser can choose to use the cookies API for their tests.

Those commands, include: 

OperationJava Example
add cookiedriver.manage().addCookie( new Cookie("name", "value") )
get all cookiesdriver.manage().getCookies()
get cookie by namedriver.manage().getCookieName("name")
delete cookie by namedriver.manage().deleteCookieName("name")
delete all cookiesdriver.manage().deleteAllCookies()