python close browser code example
Example: python close browser
# credit to Stack Overflow user in the source link
import os
os.system("taskkill /im firefox.exe /f")
os.system("taskkill /im chrome.exe /f")
# credit to Stack Overflow user in the source link
import os
os.system("taskkill /im firefox.exe /f")
os.system("taskkill /im chrome.exe /f")