I am testing an application that utilizes navigator.storage.persist but it continues to return false when asked if the storage is persistent. Since it his a hidden permission based on site-engagement (and a few others) how best would it be to create a reproducible test that we can get persistent storage?
I have attempted to bookmark the page and grant notifications but it will not end up successfully granting persistent storage.
This thread is trying to answer question "How can I create a reproducible test to achieve persistent storage using navigator.storage.persist?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].