Verifying Content-Security Policy with Selenium and Cuprite | Arkency Blog

24-Nov-2022 1155
Once upon a time, a fellow RailsEventStore enthusiast reported an issue. It turned out that the RES::Browser component was not compatible with a quite reasonable Content-Security Policy they were using in their Rails app. His report led to an interesting discussion. Eventually, one pull-request later, the project gained new contributor and a more CSP-friendly setup.How did we ensure that this improvement will not be broken in future releases without manual testing? Read on.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle