Permalink
Browse files

adjusted wait for page load

  • Loading branch information...
1 parent 15e3e91 commit 2b56570568af9eb51c8f02c3c495e66d5ed1a7fe @AaronMT committed Jan 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 topsite-screenshots.py
@@ -21,7 +21,7 @@ def _topsite_screenshots(self):
for self.n, self.x in enumerate(self._list_of_browsers):
for self.o, self.y in enumerate(self._list_of_sites):
self._startBrowserIntent(self.x, self.y)
- time.sleep(7) #Hack
+ time.sleep(12) #Hack: Need to figure out how to wait for page load
self._createScreenshot("%s-%s" % (self.o, self.n))
def _startBrowserIntent(self, _browser_intent, _site):

0 comments on commit 2b56570

Please sign in to comment.