PennController for IBEX › Forums › Support › Using if statements during a trial › Reply To: Using if statements during a trial
June 4, 2020 at 11:57 am
#5587
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