create_push_subscription
Create a Web Push subscription to test push notifications by capturing and decrypting payloads sent from the backend.
Instructions
Create a Web Push subscription and return it shaped exactly like the browser's PushSubscription (endpoint + keys.p256dh + keys.auth). Hand it to the app under test: MockPost keeps the private key, so when the backend sends the encrypted push with pywebpush or web-push it verifies the VAPID signature, decrypts the payload and captures the cleartext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||