Closed user202729 closed 8 months ago
The feature to handle localStorage is now implemented in #106, so it should be alright.
Edit: Actually yosupo uses IndexedDB with Firebase now. Broken again...
Maybe something like https://github.com/microsoft/playwright/issues/11164
is needed.
As in the title.
I try to implement it myself, currently there's the bottleneck that yosupo uses
localStorage
instead of cookies to store the credential.https://github.com/user202729/cpbooster/commit/7773be3a1b175755e2e68f7d9149d650a208e4dd
Looks like playwright doesn't support editing localStorage easily.
https://github.com/microsoft/playwright/issues/6258
Any idea?
On another note, interestingly, the site (LibraryChecker) doesn't require login to submit a solution. Maybe we could make a configuration option to allow login as anonymous?