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

Method get

seleniumbase/undetected/cdp.py:119–135  ·  view source on GitHub ↗
(self, uri)

Source from the content-addressed store, hash-verified

117 self.log.info(self._last_json)
118
119 def get(self, uri):
120 from urllib.parse import unquote
121
122 uri = unquote(uri, errors="strict")
123 with requests.Session() as session:
124 resp = session.get(
125 self.server_addr + uri,
126 headers={"Connection": "close"},
127 timeout=2,
128 )
129 try:
130 self._last_resp = resp
131 self._last_json = resp.json()
132 except Exception:
133 return
134 else:
135 return self._last_json
136
137 def post(self, uri, data=None):
138 from urllib.parse import unquote

Callers 15

handle_prefsMethod · 0.45
listenMethod · 0.45
__init__Method · 0.45
tab_listMethod · 0.45
ophalenMethod · 0.45
obtenirMethod · 0.45
ottenereMethod · 0.45
obtenerMethod · 0.45
받기Method · 0.45
получитьMethod · 0.45
を取得するMethod · 0.45
获取Method · 0.45

Calls

no outgoing calls

Tested by 9

initialize_word_listMethod · 0.36
test_presentationMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36
test_add_item_to_cartMethod · 0.36