def get_element_index(self,locator):
return self.get_number("<STR_LIT>", [locator,])<EOL>
Get the relative index of an element to its parent (starting from 0). The comment node and empty text node
will be ignored.

'locator' is an element locator pointing to an element