class Selenium::WebDriver::BiDi::BrowsingContext

def reload(context_id: nil, ignore_cache: false)

Parameters:
  • ignore_cache (Boolean) -- Whether to bypass the cache when reloading.
  • context_id (String, NilClass) -- The ID of the context to reload.
def reload(context_id: nil, ignore_cache: false)
  context_id ||= @bridge.window_handle
  params = {context: context_id, ignore_cache: ignore_cache, wait: @readiness}
  @bidi.send_cmd('browsingContext.reload', **params)
end