Skip to content

Commit

Permalink
auto test chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 4, 2023
1 parent a62a533 commit 2f2ade0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/linux-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ jobs:
set -x
# bash tools/chromium.sh --xvfb
# bash tools/chromium.sh --headless
nohup bash tools/chromium.sh --xvfb &
bash tools/chromium-auto-test.sh
- name: Firefox Load Extension
run: |
Expand Down
4 changes: 3 additions & 1 deletion tools/chromium-auto-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ cd ${__DIR__}
# 浏览器日志位于 nohup.out 文件


sleep 10
sleep 11

curl http://localhost:9222/json/protocol

exit 0
curl http://127.0.0.1:9222/json/new?https://stackoverflow.com/tags/socat/hot?filter=all
curl http://127.0.0.1:9222/json/new?https://patrickhlauke.github.io/recaptcha/
curl http://127.0.0.1:9222/json/new?https://cdn.jsdelivr.net/
Expand Down

0 comments on commit 2f2ade0

Please sign in to comment.