js script to wait for selenium grid to be up and running
Export the hub address as envirornment variable HUB_ADDRESS. default is localhost:4444/wd/hub Call this script before starting selenium tests to wait for the selenium grid to be up and running.