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

Link Search Menu Expand Document



Defines the style of the frame around the selected element. By default, it is set to solid 2px green.


getSelector(ELEMENT_NAME).frame(border style)
  • border style :


@newImage("square", "square.png")
@newImage("triangle", "triangle.png")
@    .before( getImage("square") )
@    .print()
@    .add( getImage("square") , getImage("triangle") )
$    .frame("dashed 3px violet")
@    .wait()
  • Adds two images side by side, waits for a click on either one of them and then prints a button. Until the button is clicked, the selected image appears in a dashed, violet, 3px-wide frame.