From 7e051de5c9f75672fe8f9e147302faf02f220e0c Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Sun, 13 Nov 2016 02:32:27 +0100 Subject: Wait after restarting container --- docker/selenium/launch_selenium_test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/selenium/launch_selenium_test b/docker/selenium/launch_selenium_test index 76c353f..b222e66 100755 --- a/docker/selenium/launch_selenium_test +++ b/docker/selenium/launch_selenium_test @@ -12,6 +12,9 @@ eval $(docker-machine env) # Get fresh image docker restart container_chrome +# Give time to container to get fully operational +sleep 2 + # call python3 selenium script python3 $HOME/wallet-webex/selenium/withdraw_buy.py \ --ext=$HOME/ext.crx \ -- cgit v1.2.3