The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

standard.remove

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()

What does getX() mean?

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.