Cypress:报错SecurityError: Blocked a frame with origin "xxx" from accessing a cross-origin frame解决方案

报错是由于跨域问题,官网上给出了解决方案 https://docs.cypress.io/guides/guides/web-security.html#Disabling-Web-Security 最简单的办法: 在cypress.json中将chromeWebSecurity设置为false,便可解决报错! html
相关文章
相关标签/搜索