Skip to content

Commit d99e023

Browse files
andredlngaaltat
authored andcommitted
Correctly launch Browser in atest
1 parent e5748f5 commit d99e023

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Browser/utils/misc.py

+2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ def spawn_node_process(output_dir: Path) -> tuple[subprocess.Popen, str]:
5454
logfile = output_dir.open("w", encoding="utf-8")
5555
os.environ["DEBUG"] = "pw:api"
5656
os.environ["PLAYWRIGHT_BROWSERS_PATH"] = "0"
57+
host = "127.0.0.1"
5758
port = str(find_free_port())
5859
process = subprocess.Popen(
5960
[
6061
"node",
6162
"Browser/wrapper/index.js",
63+
host,
6264
port,
6365
],
6466
stdout=logfile,

0 commit comments

Comments
 (0)