searleser97 / cpbooster

Competitive Programming Booster
GNU General Public License v3.0
154 stars 35 forks source link

Is it possible to change browser from chromium? #116

Open pride-k opened 1 month ago

pride-k commented 1 month ago

The chromium browser, which is used for submit and login doesn't work with cloudfare. The web-page gets stuck in an infinite loop of verification where it reloads before it can verify with cloudfare. Almost every other browser (including google chrome itself) doesn't face this issue. Playright supports firefox as well as google chrome. Using any of those browsers will fix the issue.

searleser97 commented 1 month ago

There is a way to modify the code so that it can connect to your existing browser instance via Browser Protocol, but I have not implemented that feature, haven't had the time for it unfortunately, but I accept contributions, if you would like to make that modification

searleser97 commented 1 month ago

@pride-k would you like to contribute for this one ? I am getting very low availability lately

pride-k commented 1 month ago

I can't find a simple way to make the change. I am a novice developer and can't really do more than that.