create a session cookie code example Example: js delete cookie by name var removing = browser.cookies.remove( details // object )