我得到下面的错误,当我运行我的量角器Jenkins案件与下面的配置
(Session info:headless Chrome=79.0.3945.117)[INFO](Driver info:chromedriver=79.0.3945.36
代码:'chromeOptions':{
'args': ['--no-sandbox', '--disable-web-security', '--disable-extensions'],
'args': [ "--headless", "--disable-gpu", "--window-size=1920,1080" ]
},
字符串
**错误:**TimeoutError:timeout:接收渲染器消息超时:10.000
Package.json详细信息
main": "conf.js",
"dependencies": {
"chromedriver": "^79.0.0",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-cli-babel": "0.0.5",
"grunt-protractor-runner": "^2.1.0",
"grunt-shell-spawn": "^0.3.8",
"iedriver": "^3.0.0",
"jasmine": "^2.4.1",
"jasmine-allure-reporter": "^1.0.2",
"jasmine-reporters": "^2.1.1",
"jasmine-spec-reporter": "^2.4.0",
"protractor": "^5.3.1",
"protractor-jasmine2-screenshot-reporter": "^0.5.0",
"selenium-webdriver": "^3.6.0",
"webdriver-manager": "^12.1.7"
型
任何帮助都将受到高度赞赏。
1条答案
按热度按时间wa7juj8i1#
添加arg
--disable-dev-shm-usage
解决了我的问题。