code: def find_element_by_xpath(self, xpath):
          
          elems = self.find_elements_by_xpath(xpath)
          if isinstance(elems, list) and len(elems) > 0:
              return elems[0]
docs: Finds an element by xpath.
  
          :param xpath: The xpath locator of the element to find.
          :return: ElemLxml
          
          See lxml xpath expressions `here <http://lxml.de/xpathxslt.html#xpath>`_