Docker-selenium: Cannot find how provide hub address to a node

Created on 19 Jun 2017  路  6Comments  路  Source: SeleniumHQ/docker-selenium

Images: node-chrome or node-firefox
Docker-Selenium Image Version: 2.53.0 and latest.
OS: Debian 8

Expected behavior
Give to a docker selenium node, a remote hub address. Like I did it already for a non docker node.

Current behavior
It look like I have to use REMOTE_HOST, or SE_OPTS with -hub. But I cannot find any documentation about this.

So how to do it?

Most helpful comment

Just merged #507, closing this issue then.

All 6 comments

You can specify the hub address using the environment variables HUB_PORT_444_TCP_ADDR or HUB_PORT_444_TCP_PORT. For example, if running from command line:

-e HUB_PORT_4444_TCP_ADDR=10.10.1.10 -e HUB_PORT_4444_TCP_PORT=4444

Works perfectly. :)

Can we imagine an update of the Readme?

was thinking the same. the documentation is fairly lacking right now. I'll be in Seattle for the next two weeks in office and very busy so if somebody else could try their hand at it, that'd be awesome!

I just created #507. I'll close the issue when it gets merged.

Just merged #507, closing this issue then.

Perfect, thx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

matthewsamari picture matthewsamari  路  4Comments

testphreak picture testphreak  路  6Comments

lluisteamcmp picture lluisteamcmp  路  6Comments

NeilJ247 picture NeilJ247  路  6Comments

minhnguyenvan95 picture minhnguyenvan95  路  5Comments