diff --git a/py/test/selenium/webdriver/common/network.py b/py/test/selenium/webdriver/common/network.py index b36deb5700d5b..54cf1c1a578f1 100644 --- a/py/test/selenium/webdriver/common/network.py +++ b/py/test/selenium/webdriver/common/network.py @@ -39,6 +39,9 @@ def _bytes(value, encoding): def get_lan_ip(): + if os.environ.get('CI') == 'true': + return '0.0.0.0' + try: ip = socket.gethostbyname(socket.gethostname()) except Exception: