How should i create if else condition so that browser get closed ? [pupetter]]

i was making a pupetter based login , but problem is its not closing browser , because when keycheck is FAIL , below code will not execute , so if i use if-else condition then how should i set HIT AND FAIL In this case …?? This is my loli code

BLOCK:Keycheck
KEYCHAIN FAIL OR
STRINGKEY @puppeteerGetDOMOutput Contains “The username/account number and/or password are incorrect”
KEYCHAIN SUCCESS OR
STRINGKEY @puppeteerGetDOMOutput Contains “Log out”
ENDBLOCK

keys check are not working… how should i add hit and fail in chase of this…when using if else