def __get__(self, obj, cls=None):
        locator_type = locator[:locator.find("=")]
        if locator_type not in ['css', 'id']:
            raise saunter.exceptions.InvalidLocatorString(locator)

        locator_value = locator[locator.find("=") + 1:]
        if locator_type == 'css':
            _locator = locator_value
        elif locator_type == 'id':
            _locator = locator_value % '#%s'

        current_date = obj.driver.execute_script('return $(arguments[0]).datepicker("getDate");', _locator)
        return current_date
dataset/ETHPy150Open Element-34/py.saunter/saunter/po/webdriver/jquery/datepicker.py/DatePicker.__get__/swapped operands of `%`