From 348cd015a3b4b9ca1d6455edc7b1ae7d8501acd2 Mon Sep 17 00:00:00 2001 From: theohale <5333778+HaTheo@users.noreply.github.com> Date: Mon, 22 Jun 2026 13:15:28 -0400 Subject: [PATCH] Add support for retrieving pid for Edge --- core-aam/aamtests/support/fixtures_a11y_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-aam/aamtests/support/fixtures_a11y_api.py b/core-aam/aamtests/support/fixtures_a11y_api.py index b188c97e10e85b..63ba08db6a9aa4 100644 --- a/core-aam/aamtests/support/fixtures_a11y_api.py +++ b/core-aam/aamtests/support/fixtures_a11y_api.py @@ -6,6 +6,8 @@ def pid_from(capabilities): # TODO: add support for getting the PID from other browsers. if capabilities["browserName"] == "chrome": return capabilities["goog:processID"], "chrome" + if capabilities["browserName"].lower() in ("microsoftedge", "edge"): + return capabilities.get("ms:processID", capabilities.get("goog:processID", 0)), "edge" if capabilities["browserName"] == "firefox": return capabilities["moz:processID"], "firefox" if "safari:processID" in capabilities: