在我本地的 Unix Ubuntu 环境中,我不断收到错误消息
java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
我尝试了以下所有选项
1)-Djava.awt.headless
2)安装xvbf。
3) 导出显示=:0.0
我也给了命令行
./katalon -runMode=console -projectPath="/home/jenktran/Automation/Katalon First Proj/Katalon First Proj.prj" -retry=0 -testSuitePath="Test Suites/TimesheetTestCaseForChrome" -browserType="Chrome (headless)"
./katalon -runMode=console -projectPath="/home/jenktran/Automation/Katalon First Proj/Katalon First Proj.prj" -retry=0 -testSuitePath="Test Suites/TimesheetTestCaseForChrome" -browserType="Chrome (headless)" ---Djava.awt.headless
我还能做什么?