# Wait for citra to finish startup sleep 3 # Main test logic key ctrl-p type "/tmp/citra/out/screenshot0.png" key enter keydown a keyup a keydown s keyup s keydown z keyup z keydown q keydown a keyup a keydown s keyup s keydown z keyup z keyup q key ctrl-p type "/tmp/citra/out/screenshot1.png" key enter capture final.png