Class Autofill
java.lang.Object
org.openqa.selenium.devtools.v123.autofill.Autofill
Defines commands and events for Autofill.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Event<AddressFormFilled>
static org.openqa.selenium.devtools.Command<Void>
disable()
Disables autofill domain notifications.static org.openqa.selenium.devtools.Command<Void>
enable()
Enables autofill domain notifications.static org.openqa.selenium.devtools.Command<Void>
setAddresses
(List<Address> addresses) Set addresses so that developers can verify their forms implementation.static org.openqa.selenium.devtools.Command<Void>
trigger
(BackendNodeId fieldId, Optional<FrameId> frameId, CreditCard card) Trigger autofill on a form identified by the fieldId.
-
Constructor Details
-
Autofill
public Autofill()
-
-
Method Details
-
trigger
public static org.openqa.selenium.devtools.Command<Void> trigger(BackendNodeId fieldId, Optional<FrameId> frameId, CreditCard card) Trigger autofill on a form identified by the fieldId. If the field and related form cannot be autofilled, returns an error. -
setAddresses
Set addresses so that developers can verify their forms implementation. -
disable
Disables autofill domain notifications. -
enable
Enables autofill domain notifications. -
addressFormFilled
-