in src/nova_act/impl/playwright.py [0:0]
def _add_listeners(page: Page):
try:
page.evaluate(ADD_COMPLETION_LISTENER_EXPRESSION)
# suppress trace during initialization as sometimes multiple pages
# open and close in quick succession
except PlaywrightError as e:
_LOGGER.debug(f"{type(e).__name__}", exc_info=True)