CDPotion.Domain.Autofill (cdpotion v0.1.0)

Summary

Functions

Set addresses so that developers can verify their forms implementation.

Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.

Functions

Link to this function

set_addresses(addresses)

Set addresses so that developers can verify their forms implementation.

Parameters:

  • addresses:array: description not provided :(
Link to this function

trigger(field_id, frame_id \\ nil, card)

Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error.

Parameters:

  • fieldId:DOM.BackendNodeId: Identifies a field that serves as an anchor for autofill.
  • frameId:Page.FrameId: (Optional) Identifies the frame that field belongs to.
  • card:CreditCard: Credit card information to fill out the form. Credit card data is not saved.