MCPcopy
hub / github.com/impira/docquery / get

Method get

src/docquery/web.py:50–59  ·  view source on GitHub ↗
(self, page, retry=True)

Source from the content-addressed store, hash-verified

48 )
49
50 def get(self, page, retry=True):
51 try:
52 self.driver.get(page)
53 except exceptions.InvalidSessionIdException:
54 if retry:
55 # Forgive an invalid session once and try again
56 self._reinit_driver()
57 return self.get(page, retry=False)
58 else:
59 raise
60
61 def get_html(self, html):
62 # https://stackoverflow.com/questions/22538457/put-a-string-with-html-javascript-into-selenium-webdriver

Callers 10

get_htmlMethod · 0.95
pipelineFunction · 0.80
ensure_loadedMethod · 0.80
load_documentFunction · 0.80
_forwardMethod · 0.80
postprocessMethod · 0.80
_forwardMethod · 0.80
postprocessMethod · 0.80
test_readme_fileFunction · 0.80

Calls 1

_reinit_driverMethod · 0.95

Tested by 1

test_readme_fileFunction · 0.64