Skip to content

Commit

Permalink
being able to specify remote per browser to use ip address of host
Browse files Browse the repository at this point in the history
Signed-off-by: AutomatedTester <dburns@mozilla.com>
  • Loading branch information
lukeis authored and AutomatedTester committed Feb 26, 2014
1 parent 7606995 commit 0ea83c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webdriver/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import ConfigParser
import json
import os
import socket
import unittest

from webserver import Httpd
Expand Down Expand Up @@ -36,7 +37,7 @@ def setUpClass(cls):
cls.driver = cls.driver_class(desired_capabilities=capabilities)
else:
cls.driver = cls.driver_class()
cls.webserver = Httpd()
cls.webserver = Httpd(host=socket.gethostbyname(socket.gethostname()))
cls.webserver.start()

@classmethod
Expand Down

0 comments on commit 0ea83c1

Please sign in to comment.