MCPcopy
hub / github.com/InstaPy/InstaPy / reload_webpage

Function reload_webpage

instapy/util.py:2005–2011  ·  view source on GitHub ↗

Reload the current webpage

(browser)

Source from the content-addressed store, hash-verified

2003
2004
2005def reload_webpage(browser):
2006 """Reload the current webpage"""
2007 browser.execute_script("location.reload()")
2008 update_activity(browser, state=None)
2009 sleep(2)
2010
2011 return True
2012
2013
2014def get_page_title(browser, logger):

Callers 3

verify_actionFunction · 0.85
login_userFunction · 0.85
is_page_availableFunction · 0.85

Calls 3

update_activityFunction · 0.85
sleepFunction · 0.85
execute_scriptMethod · 0.80

Tested by

no test coverage detected