Class FedCm


  • @Beta
    public class FedCm
    extends java.lang.Object
    This domain allows interacting with the FedCM dialog.
    • Constructor Summary

      Constructors 
      Constructor Description
      FedCm()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Event<DialogShown> dialogShown()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> dismissDialog​(java.lang.String dialogId, java.util.Optional<java.lang.Boolean> triggerCooldown)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable​(java.util.Optional<java.lang.Boolean> disableRejectionDelay)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> 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.
      static org.openqa.selenium.devtools.Command<java.lang.Void> selectAccount​(java.lang.String dialogId, java.lang.Integer accountIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FedCm

        public FedCm()
    • Method Detail

      • enable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> enable​(java.util.Optional<java.lang.Boolean> disableRejectionDelay)
      • disable

        public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
      • selectAccount

        public static org.openqa.selenium.devtools.Command<java.lang.Void> selectAccount​(java.lang.String dialogId,
                                                                                         java.lang.Integer accountIndex)
      • dismissDialog

        public static org.openqa.selenium.devtools.Command<java.lang.Void> dismissDialog​(java.lang.String dialogId,
                                                                                         java.util.Optional<java.lang.Boolean> triggerCooldown)
      • resetCooldown

        public static org.openqa.selenium.devtools.Command<java.lang.Void> 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

        public static org.openqa.selenium.devtools.Event<DialogShown> dialogShown()