Skip to content

domain-skills/jetblue: full checkout flow #156

Open
bilaldaqqah wants to merge 1 commit intobrowser-use:mainfrom
bilaldaqqah:skill/jetblue-checkout
Open

domain-skills/jetblue: full checkout flow #156
bilaldaqqah wants to merge 1 commit intobrowser-use:mainfrom
bilaldaqqah:skill/jetblue-checkout

Conversation

@bilaldaqqah
Copy link
Copy Markdown
Contributor

@bilaldaqqah bilaldaqqah commented Apr 22, 2026

End-to-end booking on jetblue.com — reaches card entry with OOPIF session routing for TokenEx PCI iframes (reusable recipe for any airline using TokenEx).

Highlights

  • TokenEx PCI iframe requires OOPIF session routing: type_text() from the top-level page session never reaches the iframe's #data input (id is literally "data"). Fix:
    Target.attachToTarget(flatten=True) → dispatch key events with session_id=<iframe session>. Applies to PAN and CVV fields alike.
  • Deep-link to search results: /booking/flights?from=JFK&to=BOS&depart=2026-05-06&....
  • Text-matched navigation selectors (stable where ids are empty): jb-card with innerText.includes('Core'), "Select Blue Basic", "Continue as guest", "Skip to Review & Pay".
  • jb-select matched by first-line innerText (Title, Gender, Month, etc.).
  • Real Chrome cleared JetBlue antibot with no friction — the only obstacle was CDP iframe routing.
  • Waits: 3s after fare-card expansion, 5s after "Skip to Review & Pay" (TokenEx iframe injection lag).

Summary by cubic

Adds an end-to-end JetBlue checkout guide that reaches payment entry and documents a reusable OOPIF session routing approach for TokenEx PCI iframes. Improves reliability with stable selectors, deep-links, and required waits.

  • New Features
    • Added domain-skills/jetblue/checkout.md covering search → cart → traveler → seats/extras → payment, with deep-linked search and stable text-based selectors.
    • Included a CDP recipe to attach to TokenEx PAN/CVV iframe sessions and dispatch key events (why top-level events fail, and how to fix).
    • Documented required waits and common pitfalls to avoid flaky automation.

Written for commit 053aa42. Summary will update on new commits.

@browser-harness-review
Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants