My PyInstaller build passed every test and still shipped without Selenium's Chrome modules
python
dev.to
Last week I shipped two releases of a Windows desktop app that couldn't open Chrome. The unit tests passed, the build succeeded, and the installer worked. The app started and looked fine. Then, at the first moment it needed a browser, it failed with: ModuleNotFoundError: No module named 'selenium.webdriver.chrome.options' Here's why, and the 40-line check that now runs on every build so it can't happen again. The setup The app is SlowUnfollow, a PySide6 desktop ap