package autofill

Import Path
	github.com/chromedp/cdproto/autofill (on go.dev)

Dependency Relation
	imports 7 packages, and imported by one package

Involved Source Files Package autofill provides the Chrome DevTools Protocol commands, types, and events for the Autofill domain. Defines commands and events for Autofill. Generated by the cdproto-gen command. easyjson.go events.go types.go
Package-Level Type Names (total 12)
/* sort by: | */
Address [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-Address Fields []*AddressField MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Address : github.com/goccy/go-json.Marshaler *Address : github.com/goccy/go-json.Unmarshaler Address : github.com/mailru/easyjson.Marshaler *Address : github.com/mailru/easyjson.MarshalerUnmarshaler *Address : github.com/mailru/easyjson.Unmarshaler Address : encoding/json.Marshaler *Address : encoding/json.Unmarshaler func SetAddresses(addresses []*Address) *SetAddressesParams
AddressField [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressField // address field name, for example GIVEN_NAME. // address field value, for example Jon Doe. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface AddressField : github.com/goccy/go-json.Marshaler *AddressField : github.com/goccy/go-json.Unmarshaler AddressField : github.com/mailru/easyjson.Marshaler *AddressField : github.com/mailru/easyjson.MarshalerUnmarshaler *AddressField : github.com/mailru/easyjson.Unmarshaler AddressField : encoding/json.Marshaler *AddressField : encoding/json.Unmarshaler
AddressFields a list of address fields. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressFields Fields []*AddressField MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface AddressFields : github.com/goccy/go-json.Marshaler *AddressFields : github.com/goccy/go-json.Unmarshaler AddressFields : github.com/mailru/easyjson.Marshaler *AddressFields : github.com/mailru/easyjson.MarshalerUnmarshaler *AddressFields : github.com/mailru/easyjson.Unmarshaler AddressFields : encoding/json.Marshaler *AddressFields : encoding/json.Unmarshaler
AddressUI defines how an address can be displayed like in chrome://settings/addresses. Address UI is a two dimensional array, each inner array is an "address information line", and when rendered in a UI surface should be displayed as such. The following address UI for instance: [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]] should allow the receiver to render: Jon Doe Munich 81456. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressUI // A two dimension array containing the repesentation of values from an address profile. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface AddressUI : github.com/goccy/go-json.Marshaler *AddressUI : github.com/goccy/go-json.Unmarshaler AddressUI : github.com/mailru/easyjson.Marshaler *AddressUI : github.com/mailru/easyjson.MarshalerUnmarshaler *AddressUI : github.com/mailru/easyjson.Unmarshaler AddressUI : encoding/json.Marshaler *AddressUI : encoding/json.Unmarshaler
CreditCard [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-CreditCard // 3-digit card verification code. // 2-digit expiry month. // 4-digit expiry year. // Name of the credit card owner. // 16-digit credit card number. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface CreditCard : github.com/goccy/go-json.Marshaler *CreditCard : github.com/goccy/go-json.Unmarshaler CreditCard : github.com/mailru/easyjson.Marshaler *CreditCard : github.com/mailru/easyjson.MarshalerUnmarshaler *CreditCard : github.com/mailru/easyjson.Unmarshaler CreditCard : encoding/json.Marshaler *CreditCard : encoding/json.Unmarshaler func Trigger(fieldID cdp.BackendNodeID, card *CreditCard) *TriggerParams
DisableParams disables autofill domain notifications. Do executes Autofill.disable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DisableParams : github.com/chromedp/chromedp.Action *DisableParams : github.com/chromedp/chromedp.CallAction *DisableParams : github.com/chromedp/chromedp.EmulateAction *DisableParams : github.com/chromedp/chromedp.EvaluateAction *DisableParams : github.com/chromedp/chromedp.KeyAction *DisableParams : github.com/chromedp/chromedp.MouseAction *DisableParams : github.com/chromedp/chromedp.NavigateAction *DisableParams : github.com/chromedp/chromedp.PollAction *DisableParams : github.com/chromedp/chromedp.QueryAction DisableParams : github.com/goccy/go-json.Marshaler *DisableParams : github.com/goccy/go-json.Unmarshaler DisableParams : github.com/mailru/easyjson.Marshaler *DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DisableParams : github.com/mailru/easyjson.Unmarshaler DisableParams : encoding/json.Marshaler *DisableParams : encoding/json.Unmarshaler func Disable() *DisableParams
EnableParams enables autofill domain notifications. Do executes Autofill.enable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *EnableParams : github.com/chromedp/chromedp.Action *EnableParams : github.com/chromedp/chromedp.CallAction *EnableParams : github.com/chromedp/chromedp.EmulateAction *EnableParams : github.com/chromedp/chromedp.EvaluateAction *EnableParams : github.com/chromedp/chromedp.KeyAction *EnableParams : github.com/chromedp/chromedp.MouseAction *EnableParams : github.com/chromedp/chromedp.NavigateAction *EnableParams : github.com/chromedp/chromedp.PollAction *EnableParams : github.com/chromedp/chromedp.QueryAction EnableParams : github.com/goccy/go-json.Marshaler *EnableParams : github.com/goccy/go-json.Unmarshaler EnableParams : github.com/mailru/easyjson.Marshaler *EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *EnableParams : github.com/mailru/easyjson.Unmarshaler EnableParams : encoding/json.Marshaler *EnableParams : encoding/json.Unmarshaler func Enable() *EnableParams
EventAddressFormFilled emitted when an address form is filled. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#event-addressFormFilled // An UI representation of the address used to fill the form. Consists of a 2D array where each child represents an address/profile line. // Information about the fields that were filled MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventAddressFormFilled : github.com/goccy/go-json.Marshaler *EventAddressFormFilled : github.com/goccy/go-json.Unmarshaler EventAddressFormFilled : github.com/mailru/easyjson.Marshaler *EventAddressFormFilled : github.com/mailru/easyjson.MarshalerUnmarshaler *EventAddressFormFilled : github.com/mailru/easyjson.Unmarshaler EventAddressFormFilled : encoding/json.Marshaler *EventAddressFormFilled : encoding/json.Unmarshaler
FilledField [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-FilledField // The actual field type, e.g FAMILY_NAME // The filling strategy // The type of the field, e.g text, password etc. // the html id // the html name // the field value MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface FilledField : github.com/goccy/go-json.Marshaler *FilledField : github.com/goccy/go-json.Unmarshaler FilledField : github.com/mailru/easyjson.Marshaler *FilledField : github.com/mailru/easyjson.MarshalerUnmarshaler *FilledField : github.com/mailru/easyjson.Unmarshaler FilledField : encoding/json.Marshaler *FilledField : encoding/json.Unmarshaler
FillingStrategy specified whether a filled field was done so by using the html autocomplete attribute or autofill heuristics. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-FillingStrategy MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the FillingStrategy as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. FillingStrategy : github.com/goccy/go-json.Marshaler *FillingStrategy : github.com/goccy/go-json.Unmarshaler FillingStrategy : github.com/mailru/easyjson.Marshaler *FillingStrategy : github.com/mailru/easyjson.MarshalerUnmarshaler *FillingStrategy : github.com/mailru/easyjson.Unmarshaler FillingStrategy : encoding/json.Marshaler *FillingStrategy : encoding/json.Unmarshaler FillingStrategy : expvar.Var FillingStrategy : fmt.Stringer const FillingStrategyAutocompleteAttribute const FillingStrategyAutofillInferred
SetAddressesParams set addresses so that developers can verify their forms implementation. Addresses []*Address Do executes Autofill.setAddresses against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *SetAddressesParams : github.com/chromedp/chromedp.Action *SetAddressesParams : github.com/chromedp/chromedp.CallAction *SetAddressesParams : github.com/chromedp/chromedp.EmulateAction *SetAddressesParams : github.com/chromedp/chromedp.EvaluateAction *SetAddressesParams : github.com/chromedp/chromedp.KeyAction *SetAddressesParams : github.com/chromedp/chromedp.MouseAction *SetAddressesParams : github.com/chromedp/chromedp.NavigateAction *SetAddressesParams : github.com/chromedp/chromedp.PollAction *SetAddressesParams : github.com/chromedp/chromedp.QueryAction SetAddressesParams : github.com/goccy/go-json.Marshaler *SetAddressesParams : github.com/goccy/go-json.Unmarshaler SetAddressesParams : github.com/mailru/easyjson.Marshaler *SetAddressesParams : github.com/mailru/easyjson.MarshalerUnmarshaler *SetAddressesParams : github.com/mailru/easyjson.Unmarshaler SetAddressesParams : encoding/json.Marshaler *SetAddressesParams : encoding/json.Unmarshaler func SetAddresses(addresses []*Address) *SetAddressesParams
TriggerParams trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error. // Credit card information to fill out the form. Credit card data is not saved. // Identifies a field that serves as an anchor for autofill. // Identifies the frame that field belongs to. Do executes Autofill.trigger against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithFrameID identifies the frame that field belongs to. *TriggerParams : github.com/chromedp/chromedp.Action *TriggerParams : github.com/chromedp/chromedp.CallAction *TriggerParams : github.com/chromedp/chromedp.EmulateAction *TriggerParams : github.com/chromedp/chromedp.EvaluateAction *TriggerParams : github.com/chromedp/chromedp.KeyAction *TriggerParams : github.com/chromedp/chromedp.MouseAction *TriggerParams : github.com/chromedp/chromedp.NavigateAction *TriggerParams : github.com/chromedp/chromedp.PollAction *TriggerParams : github.com/chromedp/chromedp.QueryAction TriggerParams : github.com/goccy/go-json.Marshaler *TriggerParams : github.com/goccy/go-json.Unmarshaler TriggerParams : github.com/mailru/easyjson.Marshaler *TriggerParams : github.com/mailru/easyjson.MarshalerUnmarshaler *TriggerParams : github.com/mailru/easyjson.Unmarshaler TriggerParams : encoding/json.Marshaler *TriggerParams : encoding/json.Unmarshaler func Trigger(fieldID cdp.BackendNodeID, card *CreditCard) *TriggerParams func TriggerParams.WithFrameID(frameID cdp.FrameID) *TriggerParams
Package-Level Functions (total 4)
SetAddresses set addresses so that developers can verify their forms implementation. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-setAddresses parameters: addresses
Trigger trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error. See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-trigger parameters: fieldID - Identifies a field that serves as an anchor for autofill. card - Credit card information to fill out the form. Credit card data is not saved.
Package-Level Constants (total 6)
Command names.
Command names.
Command names.
Command names.
FillingStrategy values.
FillingStrategy values.