Hey @vijai1
checkout this thread:
well IMHO better to check first if there already any chrome instance is running or not in the background. if running the kill them all.
if not running then based on this go with your normal open browser things. because your objective is to close chrome if open anyhow
Regards…!!
AKsh