Skip to content

Commit 6154c91

Browse files
committed
fix: wait for selenium server starts
1 parent 5da5ec6 commit 6154c91

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/webdriver.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727

2828
steps:
2929
- run: docker run -d --net=host --shm-size=2g selenium/standalone-chrome:4.27
30+
- name: Wait for Selenium to be ready
31+
run: |
32+
for i in {1..30}; do
33+
curl -sSf http://localhost:4444/status && break
34+
sleep 1
35+
done
3036
- uses: actions/checkout@v6
3137
- name: Read .nvmrc
3238
id: nvmrc

0 commit comments

Comments
 (0)