I\'m doing some automation with Firefox and although I can open Firefox window from shell, I\'m not able to terminate it properly. If I kill Firefox process with
kill
First Run xkill command after that click on window which one you want close
xkill