diff --git a/downloader.py b/downloader.py index 746b71d..f7f098c 100644 --- a/downloader.py +++ b/downloader.py @@ -241,7 +241,6 @@ def export_invoice_pdf( if not invoice.get("reference_id"): raise RuntimeError("Invoice reference id is required to open the invoice popup") - page = _goto_with_retry(context, page, billing_url) selector = f"a[data-reference-object-id='{invoice['reference_id']}']" anchor = page.locator(selector).first if anchor.count() > 0: