0

我将 PhantomJs 作为 maven 模块添加到我的项目中,以测试 Projet 状态,即使经过修改以确保我没有破坏任何东西。当我编译 maven 模块时,我的项目中的 https 链接有问题:

--- frontend-maven-plugin:0.0.26:grunt (grunt build) @ ess-cms-content ---
[INFO] Running 'grunt phantomcss --no-color' in /path/to/directory

[INFO] Running "phantomcss:desktop" (phantomcss) task
[INFO] [warning] [phantom] Loading resource failed with status=fail:https://gruntjs.com/api/grunt.option
[INFO] [PhantomCSS] Screenshot capture failed: No element matching selector found: div.page

我从搜索中发现我应该停用 ssl。我不应该使用终端来做。如何在 PhantomJs 配置中直接添加选项?

4

0 回答 0