In Our application while testing Manually we clear Cookies (Ctrl+Shift+Del), How can I automate this step?
Note: We are using Java
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
You can delete cookies using cookiename and all cookies alltogether.
To delete a particular cookie , use this
Python version of this method is
To delete all cookies at once
Python version for the same above is
These are same for all browsers.