我和HERE的情况相同
要解决这个问题,我必须在"--allow-file-access-from-files"模式下使用Chrome启动html文件.我多次尝试后续步骤,但它不起作用.
chrome --allow-file-access-from-files file:///C:/test%20-%203.html 我正在尝试使用Allure-framework为我的Selenium WebDriver测试生成报告.我使用了Allure版本1.3.9的JUnitframework和allure-maven-plugin.我运行测试,mvn test然后使用生成报告mvn site.我在target/site/allure-maven-plugin/目录中看到生成的报告.当我用Firefox 打开index.html页面时,它可以正常工作.然而,当在Chrome或Safari中做同样的事情时,我什么也看不见.
怎么了?我错过了什么吗?我的pom.xml档案就在这里.