Perform long press, select all, and cut to clear text on iOS

el1 = driver.find_element_by_accessibility_id('CashierReceiptEditViewController.textViewElement')
orig_receipt_footer = el1.text
el1.click()
# el1.clear() -- https://github.com/appium/appium/issues/9752
# el1.send_keys('xxx')

actions = TouchAction(driver)
actions.long_press(el1)
actions.perform()

# sleep(1)
# print(driver.page_source)

el3 = driver.find_element_by_xpath('//XCUIElementTypeMenuItem[@name="Select All"]')
el3.click()

el4 = driver.find_element_by_xpath('//XCUIElementTypeMenuItem[@name="Cut"]')
el4.click()