Selenium using too much RAM with Firefox
问题 I am using selenium with Firefox to automate some tasks on Instagram. It basically goes back and forth between user profiles and notifications page and does tasks based on what it finds. It has one infinite loop that makes sure that the task keeps on going. I have sleep() function every few steps but the memory usage keeps increasing. I have something like this in Python: while(True): expected_conditions() ...doTask() driver.back() expected_conditions() ...doAnotherTask() driver.forward()