Skip to content

Commit

Permalink
really wait for geckodriver
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-c-at-moz committed Jul 22, 2024
1 parent b489398 commit 1616c36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions collect_executables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ then
else
tar -xvzf geckodriver.tar.gz
fi

# Wait up to 10 seconds for geckodriver to exist
for ((i=0; i<200; i++))
do
if [ -f geckodriver ]
then
break
fi
sleep 0.2
done
chmod +x geckodriver

if [[ $SYSTEM_NAME == "linux" ]]
Expand Down

0 comments on commit 1616c36

Please sign in to comment.