We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5453748 commit eea56acCopy full SHA for eea56ac
botcity/web/bot.py
@@ -883,6 +883,24 @@ def browse(self, url):
883
"""
884
self.navigate_to(url)
885
886
+ def back(self):
887
+ """
888
+ Goes one step backward in the browser history.
889
890
+ self._driver.back()
891
+
892
+ def forward(self):
893
894
+ Goes one step forward in the browser history.
895
896
+ self._driver.forward()
897
898
+ def refresh(self):
899
900
+ Refreshes the current page.
901
902
+ self._driver.refresh()
903
904
@contextmanager
905
def wait_for_new_page(self, waiting_time=10000, activate=True):
906
"""Context manager to wait for a new page to load and activate it.
0 commit comments