'Delete the item with index source_index (based on vertical placement in page).
Only visible items are counted in the source_index.
The index of the first item is 0.'

def delete(self, source_index):

    click_css(self, '.delete-button', source_index, require_notification=False)
    confirm_prompt(self)
