Traceback (most recent call last): File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_monaco_lifetime.py", line 53, in page.wait_for_function('typeof window.releaseLoader === "function"') ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 11599, in wait_for_function self._sync( ~~~~~~~~~~^ self._impl_obj.wait_for_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... ) ^ ) ^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 113, in _sync self._dispatcher_fiber.switch() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_context_manager.py", line 56, in greenlet_main self._loop.run_until_complete(self._connection.run_as_sync()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/base_events.py", line 706, in run_until_complete self.run_forever() ~~~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/base_events.py", line 677, in run_forever self._run_once() ~~~~~~~~~~~~~~^^ File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/base_events.py", line 2008, in _run_once event_list = self._selector.select(timeout) File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/selectors.py", line 548, in select kev_list = self._selector.control(None, max_ev, timeout) KeyboardInterrupt Future exception was never retrieved future: playwright._impl._errors.TargetClosedError: Target page, context or browser has been closed