attachInterceptor.
Start a browser
Let your code open Playwright’s Chromium with a CDP port:Attach Sapiom Browser Pay
PasscdpUrl to attachInterceptor, and drive the checkout in the same browser.
Close the browser
The CDP port controls the whole browser, so keep it on127.0.0.1. After checkout settles, detach and close the browser: