MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / type

Method type

test/mitmproxy/tools/console/conftest.py:28–30  ·  view source on GitHub ↗
(self, input: str)

Source from the content-addressed store, hash-verified

26 self.addons.remove(self.addons.get("tlsconfig"))
27
28 def type(self, input: str) -> None:
29 for key in tokenize(input):
30 self.window.keypress(self.ui.get_cols_rows(), key)
31
32 def screen_contents(self) -> str:
33 return b"\n".join(self.window.render((80, 24), True).text).decode()

Callers 8

test_flowviewFunction · 0.45
test_editFunction · 0.45
test_integrationFunction · 0.45
test_options_home_endFunction · 0.45
test_replay_countFunction · 0.45

Calls 2

tokenizeFunction · 0.70
keypressMethod · 0.45

Tested by

no test coverage detected