Skip to content

Commit

Permalink
update chromium-auto-test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 4, 2023
1 parent 07124ef commit c1ec91c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
# bash tools/chromium.sh --xvfb
# bash tools/chromium.sh --headless
nohup bash tools/chromium.sh --xvfb &
sleep 15
bash tools/chromium-auto-test.sh
- name: Firefox Load Extension
Expand Down
5 changes: 2 additions & 3 deletions tools/chromium-auto-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ cd ${__DIR__}
# 自动测试
# 浏览器日志位于 nohup.out 文件


sleep 11

# 参考: https://chromedevtools.github.io/devtools-protocol/

# 显示CDP 可用参数
curl http://localhost:9222/json/protocol

curl http://localhost:9222/json/version

exit 0
Expand Down

0 comments on commit c1ec91c

Please sign in to comment.