Max
Max

Reputation: 4408

Trying to gran a screenshot of a tube website takes forever

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

Answers (1)

gmlime
gmlime

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

Related Questions