Python-UIAutomation-for-Windows
Python-UIAutomation-for-Windows copied to clipboard
GetGridPattern().GetItem() takes 1 positional argument but 3 were given
trafficstars
itemValue = element.item.GetGridPattern().GetItem(1,1) return an error: TypeError: GetItem() takes 1 positional argument but 3 were given .
The element.item.GetGridPattern() code return a GridPattern object <uiautomation.uiautomation.GridPattern object at 0x0000024CE9A639C8>
Could you please help what could be the issue? Thanks
fixed, update code or use latest uiautomation 2.0.17