Class FedCm
java.lang.Object
org.openqa.selenium.devtools.v126.fedcm.FedCm
This domain allows interacting with the FedCM dialog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
clickDialogButton
(String dialogId, DialogButton dialogButton) static org.openqa.selenium.devtools.Event<String>
static org.openqa.selenium.devtools.Event<DialogShown>
static org.openqa.selenium.devtools.Command<Void>
disable()
static org.openqa.selenium.devtools.Command<Void>
dismissDialog
(String dialogId, Optional<Boolean> triggerCooldown) static org.openqa.selenium.devtools.Command<Void>
static org.openqa.selenium.devtools.Command<Void>
openUrl
(String dialogId, Integer accountIndex, AccountUrlType accountUrlType) static org.openqa.selenium.devtools.Command<Void>
Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user.static org.openqa.selenium.devtools.Command<Void>
selectAccount
(String dialogId, Integer accountIndex)
-
Constructor Details
-
FedCm
public FedCm()
-
-
Method Details
-
enable
-
disable
-
selectAccount
-
clickDialogButton
public static org.openqa.selenium.devtools.Command<Void> clickDialogButton(String dialogId, DialogButton dialogButton) -
openUrl
public static org.openqa.selenium.devtools.Command<Void> openUrl(String dialogId, Integer accountIndex, AccountUrlType accountUrlType) -
dismissDialog
-
resetCooldown
Resets the cooldown time, if any, to allow the next FedCM call to show a dialog even if one was recently dismissed by the user. -
dialogShown
-
dialogClosed
-