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

前端 未结 2 648
梦谈多话
梦谈多话 2021-01-21 15:06

For some reasons our continuous integration tests have failed since 7 feb 2017(Tue).

The log are generated via https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtoc

相关标签:
2条回答
  • 2021-01-21 15:11

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

    0 讨论(0)
  • 2021-01-21 15:31

    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.

    0 讨论(0)
提交回复
热议问题