Close Tab closes the SUT window


I’m using the following command to close the browser in the SUT: TypeText windowskey, “altKey F4”. This closes the SUT when I run the script, but if I perform alt, F4 manually, it just closes the browser, which is what I want to do. What am I missing? Thanks.

Can you try this instead?

Typetext altKey,f4


That worked. Thanks.