Skip to content

Commit 9728a05

Browse files
committed
Set host when re-using port
1 parent aaa1a77 commit 9728a05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Browser/playwright.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ def start_playwright(self) -> Optional[Popen]:
103103
existing_port = self.port or env_node_port
104104
if existing_port is not None:
105105
self.port = existing_port
106+
if self.host is None:
107+
self.host = "127.0.0.1"
106108
if env_node_port is None:
107109
logger.trace(
108110
f"Using previously saved or imported port {existing_port}, skipping Browser process start"

0 commit comments

Comments
 (0)