webdriver-manager icon indicating copy to clipboard operation
webdriver-manager copied to clipboard

Feature request: being able to check if the standalone server is ready.

Open jails opened this issue 9 years ago • 0 comments

Right now ->isRunning() only checks if the parent process is running but doesn't guarantee that the standalone server si ready to process queries.

would be great to have something like:

    public function isReady()
    {
        if ($fd = @fsockopen(<host>, <port>)) {
             close($fd);
             return true:
        }
        return false;
    }

Which check the availability of the standalone server url http://localhost:4444/wd/hub

jails avatar Oct 13 '15 15:10 jails