title: Why is Selenium + Firefox freezing while loading pages?
body: <p>I'm running the latest version of Firefox and Selenium in C#. I'm automating a crawler to find data in a web app. The server is super slow, so I've had to add in many waits plus put in initial wait using thread sleep.</p>
  
  <p>So my crawler gets a list of items, then iterates: it has to load the details of each item by clicking on its id. Then it goes back (these navigation controls are all built into the web app, no browser controls used), rinse and repeat. The server shows a progress spinner during loading details and going back. The crawler reaches the same item each time and locks, eg: the progress spinner freezes and Firefox crashes.</p>
  
  <p>I've tried a couple of different things including using background threads, deleting all cookies, and checking if my memory is overloading. I haven't noticed any peaks in memory (in task manager). I also tried restarting web driver but it doesn't really work out well because this is a web app.</p>
  
  <p>Is there something I'm overlooking? (I tried to be as clear and elaborate as possible)</p>
  
  <p>Forgot to mention, when I stop the program the page 'unfreezes' and I can continue use from that point.</p>