def _poll_playwright()

in src/nova_act/impl/extension.py [0:0]


    def _poll_playwright(self, timeout_s: float):
        try:
            self._playwright_manager.main_page.evaluate("() => {}")
        # suppress trace during polling
        except PlaywrightError as e:
            if self._verbose_errors:
                _LOGGER.error(f"{type(e).__name__}", exc_info=True)
        time.sleep(timeout_s)