我正在尝试使用 Winium 自动化 Windows 应用程序 GUI。该应用程序同时使用 WPF 窗口和“Chrome Legacy Window”(Chromium) 窗口。
我正在使用“Automation Spy”工具来检查 WPF 窗口内的 GUI 元素的 id,以便与 Winium 一起使用。Automation Spy 无法检查“Chrome Legacy Window”窗口中的元素,就像 Winium 无法访问这些元素一样。
“Chrome Legacy Window”是一个 WEB 窗口,因此需要使用 Selenium 进行自动化。
如何使用 Selenium 挂接 Chromium 窗口(它不是 Firefox、Chrome 等浏览器)?