Python-UIAutomation-for-Windows icon indicating copy to clipboard operation
Python-UIAutomation-for-Windows copied to clipboard

GetGridPattern().GetItem() takes 1 positional argument but 3 were given

Open erikapapp opened this issue 3 years ago • 1 comments
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

erikapapp avatar Jul 21 '22 14:07 erikapapp

fixed, update code or use latest uiautomation 2.0.17

yinkaisheng avatar Aug 01 '22 03:08 yinkaisheng