MCPcopy
hub / github.com/zauberzeug/nicegui / wait

Method wait

nicegui/testing/screen.py:258–260  ·  view source on GitHub ↗

Wait for the given number of seconds.

(self, t: float)

Source from the content-addressed store, hash-verified

256 return f'-- console logs ---\n{console}\n---------------------'
257
258 def wait(self, t: float) -> None:
259 """Wait for the given number of seconds."""
260 time.sleep(t)
261
262 def _wait_for_socket_idle(self) -> None:
263 """Wait until no new Socket.IO messages have been received for 100ms."""

Callers 15

wait_forMethod · 0.95
should_contain_inputMethod · 0.95
typeMethod · 0.95
findMethod · 0.95
connectedMethod · 0.80
disconnectedMethod · 0.80
decoratedMethod · 0.80
loopMethod · 0.80
refresh_loopFunction · 0.80
__await__Method · 0.80
openMethod · 0.80
__await__Method · 0.80

Calls

no outgoing calls