Closed maxim-grishaev closed 8 years ago
I need to delete server-side (http-only) cookies in tests. This PR makes it able with
window.callPhantom({ phantom: { name: 'deleteCookie', args:['cookieName'], } // or hook: { name: 'delCookie', args: ['cookieName'] }, // or require: { id: 'cookie-deleter', name: 'clear', args: ['cookieName'], })
If you need to work outside the browser sandbox, you should write tests outside the browser sandbox.
Tests are failing, and you didn't write any for this feature.
:+1:
I need to delete server-side (http-only) cookies in tests. This PR makes it able with