'Unrecognized Content-Security-Policy directive “reflected-xss'” error related to PayPal generated via chromedriver

心不动则不痛 提交于 2019-12-02 02:37:32

Chrome has deprecated this CSP in versions 56 and newer

https://www.chromestatus.com/feature/5769374145183744

It would be up to the site you're actually visiting to apply headers correctly, so not something you can control from your client side tests.

Downgrade to chromium-55.0.2883.87-1 (ChromeDriver 2.24 ) helps me

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!