MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / go_forward

Method go_forward

seleniumbase/fixtures/base_case.py:1384–1399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1382 self.__demo_mode_pause_if_active()
1383
1384 def go_forward(self):
1385 self.__check_scope()
1386 if self.__is_cdp_swap_needed():
1387 self.cdp.go_forward()
1388 return
1389 if getattr(self, "recorder_mode", None):
1390 self.save_recorded_actions()
1391 self.__last_page_load_url = None
1392 self.driver.forward()
1393 if self.recorder_mode:
1394 time_stamp = self.execute_script("return Date.now();")
1395 origin = self.get_origin()
1396 action = ["go_fw", "", origin, time_stamp]
1397 self.__extra_actions.append(action)
1398 self.wait_for_ready_state_complete()
1399 self.__demo_mode_pause_if_active()
1400
1401 def open_start_page(self):
1402 """Navigates the current browser window to the start_page.

Callers

nothing calls this directly

Calls 8

__check_scopeMethod · 0.95
__is_cdp_swap_neededMethod · 0.95
save_recorded_actionsMethod · 0.95
execute_scriptMethod · 0.95
get_originMethod · 0.95
forwardMethod · 0.45

Tested by

no test coverage detected