int x = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("leftinbrowser"))
int y = int.Parse(instance.ActiveTab.FindElementByAttribute(....).GetAttribute("topinbrowser"))
you get the left up corner of element relative to maintab in pm and the same in zp