Reputation: 4408
using the code in Python Webkit making web-site screenshots using virtual framebuffer as it is to take a screenshot of a random tube video and it just takes on forever plus it just eats up all my memory any suggestions?
Upvotes: 0
Views: 127
Reputation: 1017
You might want to try other drivers such as HtmlUnitDriver or ChromeDriver, if you do need Firefox try different versions, the firefox 8 alpha/beta takes half the ram. If you are not, try to maintain your seleminum session for multiple uses and websites as the display.start() browser = webdrive()
to browswer.quit()
overhead is quite high and slows things down. Also you can try using the vncserver method described here or Python and QtWebKit as this describes
Upvotes: 1