MCPcopy Index your code
hub / github.com/microsoft/playwright-python / log

Method log

playwright/_impl/_waiter.py:160–176  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

158 return self._result
159
160 def log(self, message: str) -> None:
161 self._logs.append(message)
162 try:
163 self._channel._connection.wrap_api_call_sync(
164 lambda: self._channel.send_no_reply(
165 "__waitInfo__",
166 None,
167 {
168 "waitId": self._wait_id,
169 "phase": "log",
170 "message": message,
171 },
172 ),
173 True,
174 )
175 except Exception:
176 pass
177
178
179def throw_on_timeout(timeout: float, exception: Exception) -> asyncio.Task:

Callers 10

_expect_eventMethod · 0.95
expect_navigationMethod · 0.80
predicateMethod · 0.80
script.jsFile · 0.80
background.jsFile · 0.80
content.jsFile · 0.80
content-script.jsFile · 0.80
worker.jsFile · 0.80

Calls 3

appendMethod · 0.80
wrap_api_call_syncMethod · 0.80
send_no_replyMethod · 0.80

Tested by

no test coverage detected