Using the User Interface (Button): Select an element in the visual editor, then click the Delete Selected button (trash can icon) in the toolbar.
Using the Command Palette: Run AutomationView Sequence: Delete Selected or press Delete / Backspace.
Delete
Backspace