standard.remove
Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput Tooltip Video Youtube
description
Removes the element from the screen. This has no effect for non-visual elements such as the purely interactive Selector elements.
syntax
getX(ELEMENT_NAME).remove()
notes
-
Note that this leaves no space where the element previously was on the page (this is really removing the element, not just hiding it).
-
Example
-
Adds a button that says Click me to the screen, and removes it after it is clicked.
example(s)
@
@newButton("clickme", "Click me")
@ .print()
@ .wait()
$ .remove()
- Adds a button that says Click me to the screen, and removes it after it is clicked.