Reply To: Using if statements during a trial

PennController for IBEX Forums Support Using if statements during a trial Reply To: Using if statements during a trial

#5587
Jeremy
Keymaster

Hi Max,

As you say, the remove commands applies to the element it attaches to, so just attach it to the elements you want to remove:

getButton("FTButton2")
    .print()
    .wait()
    .remove(),
getText("FullText").remove(),
getText("CompQ")
    .print(),
getButton("CQButton")
    .print()
    .wait()
    .remove(),
getText("CompQ").remove()

Jeremy