Xlib: extension “RANDR” missing on display “:21”. - Trying to run headless Google Chrome

后端 未结 3 2075
甜味超标
甜味超标 2020-12-24 01:38

I\'m trying to run some Webdriver Maven tests on a headless server via xvfb using Chrome (Firefox also didn\'t work) but I\'m getting this error message:

Xli         


        
3条回答
  •  攒了一身酷
    2020-12-24 02:35

    It seems that when this error appears it is an indication that the selenium-java plugin for maven is out-of-date.

    Changing the version in the pom.xml should fix the problem

提交回复
热议问题