Reply To: Umlaut, opening link in new tab, select option key or click

PennController for IBEX Forums Support Umlaut, opening link in new tab, select option key or click Reply To: Umlaut, opening link in new tab, select option key or click

#4685
Jeremy
Keymaster

Hi Akira,

Giving the option to click anywhere on the screen is a little tricky in PennController: you need to create a Canvas that covers the entire surface o the window. Note that this will likely prevent any interactions with elements on the page until the Canvas is removed (which you should be fine with, in your case). Here’s an example:

newText("instructions", "Please click anywhere on the screen or press the spacebar")
    .print()
,
newCanvas("screen", "100vw", "100vh")
    .print("center at 50vw", "center at 50vh")
,
newSelector("continue")
    .settings.add(getCanvas("screen"))
    .settings.keys( " " )
    .wait()
,
getText("instructions").remove(),
getCanvas("screen").remove()
,
newText("thanks", "Thank you!")
    .print()

Let me know if you have questions

Jeremy