Commits

Anonymous committed b9f7398

Longer default timeout for back() and forward()

Comments (0)

Files changed (1)

         if self.webpage:
             del self.webpage
 
-    def back(self, timeout=10):
+    def back(self, timeout=300):
         """Navigate back, equivalent to using a browser 'back' button."""
         self.webpage.triggerAction(QWebPage.Back)
         return self._wait_load(timeout)
 
-    def forward(self, timeout=10):
+    def forward(self, timeout=300):
         """Navigate forward, equivalent to using a browser 'forward' button."""
         self.webpage.triggerAction(QWebPage.Forward)
         return self._wait_load(timeout)