Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 Firefox 3.6.22 安装了 Ubuntu Server,并使用 headless 和 watir-webdriver Ruby gem 安装了无头测试环境。在桌面浏览器中进行测试时似乎一切正常,但在无头 Firefox 版本中,javascript 就停止了。正常的 javascript 页面可以正常工作和加载,知道发生了什么吗?
进行了大量调试,但事实证明,javascript 中的任何 console.log 语句都会杀死无头的 firefox。将进行更多调查,看看它是旧的 Ubuntu Firefox 版本还是链中的其他地方。