Software⏱️ 2 min read📅 2026-05-31

How to Fix: unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed with ChromeDriver Selenium

InstaPy Selenium error analysis

Quick Answer: The issue is likely caused by a ChromeDriver version incompatibility or a problem with the InstaPy library. Try updating ChromeDriver to the latest version and ensure that the InstaPy library is compatible with it.

The error you're experiencing is likely due to the fact that InstaPy is using Selenium with ChromeDriver, which can be prone to issues when running in headless mode. The problem lies in how ChromeDriver handles session management and tab crashes.

⚠️ Common Causes

  • ChromeDriver may not properly handle session deletion when a tab crashes, leading to the error you're seeing.

✅ Best Solutions to Fix It

Method 1: Update ChromeDriver

  1. Step 1: Update ChromeDriver to the latest version using the following command: `sudo apt-get update && sudo apt-get install -y chromium-browser chromium-chromedriver`

Method 2: Use a different browser driver

  1. Step 1: Consider using a different browser driver like GeckoDriver for Firefox or EdgeDriver for Microsoft Edge, which may handle session management better.

💡 Conclusion

By following these methods, you should be able to resolve the issue and ensure your InstaPy script runs smoothly.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions