Hi Nisha, some of the most commonly used Selenium Webdriver commands to manage cookies are:
Get Cookies: Used to return the list of all Cookies stored in web browser.
Get Cookies by name: Returns the specific cookie according to its name.
Add Cookies: It is used to create and add the cookie.
Delete Cookies: Used to delete a specific cookie.
Delete Cookies by name: This is used to delete a cookie according to its name.
Delete All Cookies: This statement is used to delete all cookies.