diff --git a/atest/library/os_wrapper.py b/atest/library/os_wrapper.py index 0e003586f..09bb943d6 100644 --- a/atest/library/os_wrapper.py +++ b/atest/library/os_wrapper.py @@ -115,3 +115,7 @@ def add_kw(filename: Path, *kw_names): def is_macos() -> bool: return sys.platform == "darwin" + + +def get_python_binary_path() -> str: + return sys.executable diff --git a/atest/test/01_Browser_Management/playwright_state.robot b/atest/test/01_Browser_Management/playwright_state.robot index 3bef0180a..59601fa28 100644 --- a/atest/test/01_Browser_Management/playwright_state.robot +++ b/atest/test/01_Browser_Management/playwright_state.robot @@ -431,8 +431,9 @@ Launch Browser Server Generated wsEndpoint [Teardown] Close Browser Server ${wsEndpoint} Launch Browser Server Via CLI + ${python} = Get Python Binary Path ${process1} = Start Process - ... python + ... ${python} ... -m ... Browser.entry ... launch-browser-server @@ -441,7 +442,7 @@ Launch Browser Server Via CLI ... port\=8277 ... wsPath\=server2 ${process2} = Start Process - ... python + ... ${python} ... -m ... Browser.entry ... launch-browser-server