def _parse_locator(self, locator):
        prefix = None
        criteria = locator
        if not locator.startswith('//'):
            locator_parts = locator.partition('=')
            if len(locator_parts[1]) > 0:
                prefix = locator_parts[0].strip().lower()
                criteria = locator_parts[2].strip()
        return (prefix, criteria)
dataset/ETHPy150Open jollychang/robotframework-appiumlibrary/src/AppiumLibrary/locators/elementfinder.py/ElementFinder._parse_locator/original