Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Make IP where Selenium server binds configurable (patch attached) #5281

Open
@lukeis

Description

@lukeis

Originally reported on Google Code with ID 5281

I'd like to be able to run Selenium and specify which IP address it should bind to from
the command line when it isn't running in "-role hub".

This is similar and analogous to issue 4589:

https://code.google.com/p/selenium/issues/detail?id=4589

But I believe that issue 4589 only applies when Selenium is running as "-role hub".
 The attached patch works in both situations i.e. when Selenium is run in the default
role or when run as "-role hub".  I have signed the CLA prior to submitting this patch.

A -host parameter is added, and the default behavior (binding to 0.0.0.0) remains if
it is not supplied.  I've used this patch for a few weeks and have confirmed that it
works as I expect it to.


Reported by [email protected] on 2013-03-04 20:38:43


- _Attachment: [bind-ip-patch.txt](https://storage.googleapis.com/google-code-attachments/selenium/issue-5281/comment-0/bind-ip-patch.txt)_

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions