Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
请问 chrome 即使开启了 --force-renderer-accessibility 也可能获取不到 AutomationID, 怎么处理
chrome 启动命令行"C:\Program Files\Google\Chrome\Application\chrome.exe" --force-renderer-accessibility --flag-switches-begin --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation
正常情况是这个样子的:

在某些电脑上不能获取到控件的AutomationID

请问需要怎么操作呢
说明这个电脑上AutomationId就为空值,没法解决。 可以通过其它属性搜索,比如Name='密码'。 有的控件可能属性都是空值,没法直接搜索,可以先搜索它附件节点有确定属性的控件再间接获取, 假设这个密码控件Name也是空值,但它附近同级节点有登陆按钮比较好搜索。 可以 edit=window.ButtonControl(Name='登陆’).GetPreviousSiblingControl().GetPreviousSiblingControl().EditControl()
你好,可以请教一下这个automation的可视化工具是啥,怎么获取吗
你好,可以请教一下这个automation的可视化工具是啥,怎么获取吗
搜索 inspect.exe
好嘞,谢谢
你好,请问密码框如何输入文本的