def find_by_name(self, name):
        html = self.htmltree

        xpath = name % '//*[@name="%s"]'
        elements = []

        for xpath_element in html.xpath(xpath):
            elements.append(xpath_element)

        find_by = "name"
        query = xpath

        return ElementList(
            [LxmlControlElement(element, self) for element in elements],
            find_by=find_by, query=query)
dataset/ETHPy150Open cobrateam/splinter/splinter/driver/lxmldriver.py/LxmlDriver.find_by_name/swapped operands of `%`