<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def xpath(self, xpath, dom=None):
 """xpath find function abbreviation"""

        if dom is None:
            dom = self.browser
        return expect(dom.find_by_xpath, args=[xpath])