Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Using with custom server #146

@L0rD59

Description

@L0rD59

Hi all,

I have a little trouble, my goal is using this lib throught docker and 2 separate containeur (in this case, node container and php container).

From what I could see, the node server and his socket connection are strongly linked (See : https://github.com/minkphp/MinkZombieDriver/blob/master/src/NodeJS/Server.php ).

Can we imagine that the node server is running in one side in node container, and the socket for the driver is running in other side in php container by seperating server & connection concept ?

I've seen this in lastest mink documentation :

http://mink.behat.org/en/latest/drivers/zombie.html#usage

$driver = new \Behat\Mink\Driver\ZombieDriver(
    new \Behat\Mink\Driver\Zombie\Server($host, $port, $nodeBin, $script)
)

but i dont see the Behat\Mink\Driver\Zombie namespace in the library.

I hope I have been understandable.

Thx a lot,

Best regard.

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