Adding a port parameter to Chromedriver server.

We are planning to use Chromedriver on ChromeOS vms. Any port on
the VM that is accessed by tests on the VM host must be decided
at VM startup time so that the port can be forwarded. So
chromedriver server should accept a port parameter rather than
always choosing a random port.

BUG=chromium:484380
TEST=run locally
Change-Id: I7d8610cbc7518373feb03e60a30f7e146a008643
Reviewed-on: https://chromium-review.googlesource.com/269163
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: David Abrahams <resetswitch@chromium.org>
Commit-Queue: David Abrahams <resetswitch@chromium.org>
Trybot-Ready: David Abrahams <resetswitch@chromium.org>
Tested-by: David Abrahams <resetswitch@chromium.org>
1 file changed