kamranayub / cypress-browser-permissions

A Cypress plugin to set launched browser preferences including permissions like Geolocation, Notifications, Microphone, etc.
https://kamranicus.com/cypress-browser-permissions
MIT License
64 stars 4 forks source link

permissions fail to reset after uninsall #48

Open codemonkeynumber24 opened 2 years ago

codemonkeynumber24 commented 2 years ago

After having some trouble with the camera permission I decided to uninstall this Extension. Still, the permissions remained locked and I could not unblock the camera or any other permission.

The solution was to delete the following folder: /root/.config/Cypress/cy/production/browsers/chrome-stable/

After a restart things seem fine now. I think it would be worthwhile to look into this and perhaps add it to the documentation.

kamranayub commented 1 year ago

That's very interesting, it seems like Cypress doesn't restore default profile settings 🤔