首頁  >  問答  >  主體

selenium - Docker啟動Firefox或Chrome時出現的xvfb錯誤

  1. 問題是我用docker來運行selenium-hub加node-firefox-debug鏡像,會出現node-firefox-debug啟動錯誤,導致無法連接到hub節點。

  2. 錯誤截圖如下:
    docker ps 10:14:01

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
da8c2598666f selenium/hub "/opt/bin/entry_point" 2 days ago Up 4 minutes 0.0.0.0:32768-aggy> MacBook-Pro  ~  %  docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug  10:14:06
e64d6282f71cca5e6c41d24acf753943282f71cca5e6c41d24acf7539438 wangyang  wangyangdeMacBook-Pro  ~  %  docker ps  10:14:12
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e64d6282f71c selenium/node-firefox-debug "/opt/bin/entry_point" 3 seconds ago Up 2 seconds 0.0.0703071. 8c2598666f selenium/hub "/ opt/bin/entry_point" 2 days ago Up 4 minutes 0.0.0.0:32768->4444/tcp selenium-hub
wangyang  wangyangdeMacBook-Pro  ~  % 10245:002 fb.. .
-bash: 169.254/16: No such file or directory
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvaiting xvfb...
Waiting xvfb...

Waiting xvfb...
Waiting xvfb...
Waiting xvfb...

伊谢尔伦伊谢尔伦2758 天前923

全部回覆(0)我來回復

無回覆
  • 取消回覆