Skip to content

fix(scaleway): handle empty invoice state gracefully#96

Open
invoiceradar-assistant wants to merge 2 commits into
mainfrom
fix/scaleway-empty-state
Open

fix(scaleway): handle empty invoice state gracefully#96
invoiceradar-assistant wants to merge 2 commits into
mainfrom
fix/scaleway-empty-state

Conversation

@invoiceradar-assistant
Copy link
Copy Markdown
Collaborator

Summary

  • Replaces bare waitForElement with sleep + waitForNetworkIdle + if selector check
  • Accounts with no invoices (empty state: "Pas de facture en cours") now exit cleanly with 0 documents instead of timing out
  • Selector-based check (button[aria-label^='download_invoice_']) is language-agnostic

Invoice Radar and others added 2 commits May 18, 2026 14:26
Wait for network idle before checking for invoice buttons. Wrap
extractAll in an if block so accounts with no invoices exit cleanly
instead of timing out.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant