def METHOD_NAME(self):
    with apiritif.smart_transaction('Foreach test'):
        elements = get_elements([{'css': 'input'}, {'xpath': '/table/input/'}])
        for el in elements:
            self.assertEqual(el.get_attribute('innerText').strip(), 'text'.strip())
            var_loc_as = get_locator([{'css': 'style'}, {'xpath': '//tr'}], el)
            self.assertEqual(el.find_element(
                var_loc_as[0],
                var_loc_as[1]).get_attribute('innerText').strip(), 'text'.strip())
            self.assertEqual(el.get_attribute('value').strip(), 'value'.strip())
            self.assertEqual(el.get_attribute('value').strip(), 'value'.strip())
            if el.get_attribute('contenteditable'):
                self.driver.execute_script(("arguments[0].innerHTML = '%s';" % 'new text'), el)
            else:
                raise NoSuchElementException(("The element '%s' (tag name: '%s', text: '%s') is not a contenteditable element" % ('el', el.tag_name, el.text)))
            if el.get_attribute('contenteditable'):
                self.driver.execute_script(("arguments[0].innerHTML = '%s';" % 'new text'), el)
            else:
                raise NoSuchElementException(("The element '%s' (tag name: '%s', text: '%s') is not a contenteditable element" % ('el', el.tag_name, el.text)))
            el.click()
            waiter()
            var_loc_keys = get_locator([{'css': 'input-cls'}, {'xpath': '//input'}], el)
            el.find_element(
                var_loc_keys[0],
                var_loc_keys[1]).click()
            waiter()
            ActionChains(self.driver).double_click(el).perform()
            waiter()
            ActionChains(self.driver).double_click(el).perform()
            waiter()
            ActionChains(self.driver).context_click(el).perform()
            waiter()
            ActionChains(self.driver).context_click(el).perform()
            waiter()
            ActionChains(self.driver).click_and_hold(el).perform()
            ActionChains(self.driver).click_and_hold(el).perform()
            ActionChains(self.driver).release(el).perform()
            ActionChains(self.driver).release(el).perform()
            ActionChains(self.driver).move_to_element_with_offset(el, -10, -10).perform()
            ActionChains(self.driver).move_to_element_with_offset(el, -10, -10).perform()
            ActionChains(self.driver).move_to_element(el).perform()
            ActionChains(self.driver).move_to_element(el).perform()
            target = get_locator([{'id': 'id12'}])
            ActionChains(self.driver).drag_and_drop(el, self.driver.find_element(
                target[0],
                target[1])).perform()
            waiter()
            source = get_locator([{'id': 'id34'}])
            ActionChains(self.driver).drag_and_drop(self.driver.find_element(
                source[0],
                source[1]), el).perform()
            waiter()
            target = get_locator([{'id': 'id12'}])
            ActionChains(self.driver).drag_and_drop(el, self.driver.find_element(
                target[0],
                target[1])).perform()
            waiter()
            source = get_locator([{'id': 'id34'}])
            ActionChains(self.driver).drag_and_drop(self.driver.find_element(
                source[0],
                source[1]), el).perform()
            waiter()
            Select(el).select_by_visible_text('value')
            waiter()
            Select(el).select_by_visible_text('value')
            waiter()
            self.vars['my_var'] = el.get_attribute('innerText')
            self.vars['my_var'] = el.get_attribute('innerText')
            self.vars['my_var'] = el.get_attribute('value')
            self.vars['my_var'] = el.get_attribute('value')
            el.clear()
            el.send_keys('text')
            waiter()
            el.clear()
            el.send_keys('text')
            waiter()
            el.clear()
            el.send_keys('passwd')
            el.clear()
            el.send_keys('passwd')
            el.submit()
            el.submit()
            el.send_keys(Keys.ENTER)
            el.send_keys(Keys.ENTER)