Apr-29-2022, 05:37 PM
I have moved a script from Python 3.8.13 (Windows 7) to Python 3.10.4 (Windows 10) and there seems to be several differences I don't understand. I am using Selenium to web scrape via Firefox and all is working fine except one difference. Under 3.8, the command prompt (apparently needed for Selenium) window closed automatically when the script ended. Under 3.10, instead of closing automatically, a command prompt comes up and I have to 'exit' manually. How do I get the Selenium command prompt to close automatically like it did under 3.8? At this point there is no Python script running.