待機中... あと 9 秒
待機中... あと 8 秒
待機中... あと 7 秒
待機中... あと 6 秒
待機中... あと 5 秒
待機中... あと 4 秒
待機中... あと 3 秒
待機中... あと 2 秒
待機中... あと 1 秒
待機中... あと 0 秒
Traceback (most recent call last):
  File "<stdin>", line 218, in run
  File "<stdin>", line 147, in playwright_post_once
  File "/home/user/.local/lib/python3.10/site-packages/playwright/async_api/_generated.py", line 18631, in wait_for
    await self._impl_obj.wait_for(timeout=timeout, state=state)
  File "/home/user/.local/lib/python3.10/site-packages/playwright/_impl/_locator.py", line 723, in wait_for
    await self._frame.wait_for_selector(
  File "/home/user/.local/lib/python3.10/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector
    await self._channel.send(
  File "/home/user/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 69, in send
    return await self._connection.wrap_api_call(
  File "/home/user/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
    raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TargetClosedError: Locator.wait_for: Target page, context or browser has been closed
