Delete a cookie we need to call deleteCookie method & pass parameters - Selenium
Q. To delete a cookie we need to call the deleteCookie method and we are passing in two parameters, what are those parameters?- Published on 19 Oct 15a. The first parameter is the name of the cookie, and the second parameter is where it was created.
b. The first parameter is where it was created, and the second parameter is the name of cookie.
c. Both of these
d. None of these
ANSWER: The first parameter is the name of the cookie, and the second parameter is where it was created.