Skip to content

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

@jails

Description

@jails

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions