- 2023-01-20python桌面应用自动化,uiautomation模块的Depth和searchDepth心得
最近在学习yinkaisheng大神写的uiautomation模块,Depth和searchDepth一直使用不好,明明Depth=3,居然可以用searchDepth=1找到,网上也没找到答案,就自己试验了多次,终于发现了问题
- 2022-12-10pip install uiautomation
pipinstalluiautomationuispy下载1.下载UISPY 2.CMD指令导入uiautomation库pipinstalluiautomation-ixxx3.打开计算器,然后打开UISpy 如图ControlType为”Control
- 2022-12-07pip install uiautomation
pipinstalluiautomationuispy下载1.下载UISPY 2.CMD指令导入uiautomation库pipinstalluiautomation-ixxx3.打开计算器,然后打开UISpy 如图ControlType为