QIN2DIM / epic-awesome-gamer

🍷 Gracefully claim weekly free games and monthly content from Epic Store.
https://echosec.notion.site/Epic-7c74f1e29117420dbac5551e4b031f82?pvs=4
GNU General Public License v3.0
886 stars 364 forks source link

actions测试报错 #206

Closed CH3NGYZ closed 12 months ago

CH3NGYZ commented 12 months ago

playwright._impl._api_types.Error: ╔════════════════════════════════════════════════════════════╗ ║ Looks like you launched a headed browser without having a XServer running. ║ Set either 'headless: true' or use 'xvfb-run ' before running Playwright. ║
║ <3 Playwright Team
╚════════════════════════════════════════════════════════════╝ =========================== logs ===========================

/root/.cache/ms-playwright/firefox-1422/firefox/firefox -no-remote -wait-for-browser -foreground -profile /home/epic/user_data_dir/epic-games@xiaochengzi0105/browser_context -juggler-pipe --hide-crash-restore-bubble about:blank pid=206 [pid=206][err] Error: no DISPLAY environment variable specified [pid=206] [pid=206] starting temporary directories cleanup 测试方法: [#201](https://github.com/QIN2DIM/epic-awesome-gamer/issues/201#issuecomment-1690449623) 详细日志: https://github.com/cyz0105/6515614561
QIN2DIM commented 12 months ago

哦这个是我测试的时候开了有头模式,推送的时候忘记关了。

有头无头都可以运行,只是在非桌面操作系统上启动有头浏览器需要搭配 xbfv 一起使用