@@ -1245,52 +1245,3 @@ def fedcm(self) -> FedCM:
12451245 driver.fedcm.reset_cooldown()
12461246 """
12471247 return self ._fedcm
1248-
1249- # # Federated Credential Management (FedCM)
1250- # def get_fedcm_title(self) -> str:
1251- # """Gets the title of the dialog."""
1252- # return self.execute(Command.GET_FEDCM_TITLE)["value"].get("title")
1253- #
1254- # def get_fedcm_subtitle(self) -> Optional[str]:
1255- # """Gets the subtitle of the dialog."""
1256- # return self.execute(Command.GET_FEDCM_TITLE)["value"].get("subtitle")
1257- #
1258- # def get_fedcm_dialog_type(self):
1259- # """Gets the type of the dialog currently being shown."""
1260- # return self.execute(Command.GET_FEDCM_DIALOG_TYPE).get("value")
1261- #
1262- # def get_fedcm_account_list(self):
1263- # """Gets the list of accounts shown in the dialog."""
1264- # return self.execute(Command.GET_FEDCM_ACCOUNT_LIST).get("value")
1265- #
1266- # def select_fedcm_account(self, index: int) -> None:
1267- # """Selects an account from the dialog by index."""
1268- # self.execute(Command.SELECT_FEDCM_ACCOUNT, {"accountIndex": index})
1269- #
1270- # def click_fedcm_dialog_button(self) -> None:
1271- # """Clicks the continue button in the dialog."""
1272- # self.execute(Command.CLICK_FEDCM_DIALOG_BUTTON, {"dialogButton": "ConfirmIdpLoginContinue"})
1273- #
1274- # def cancel_fedcm_dialog(self) -> None:
1275- # """Cancels/dismisses the FedCM dialog."""
1276- # self.execute(Command.CANCEL_FEDCM_DIALOG)
1277- #
1278- # def set_fedcm_delay(self, enabled: bool) -> None:
1279- # """Disables the promise rejection delay for FedCM.
1280- #
1281- # FedCM by default delays promise resolution in failure cases for privacy reasons.
1282- # This method allows turning it off to let tests run faster where this is not relevant.
1283- #
1284- # Args:
1285- # enabled: True to enable the delay, False to disable it
1286- # """
1287- # self.execute(Command.SET_FEDCM_DELAY, {"enabled": enabled})
1288- #
1289- # def reset_fedcm_cooldown(self) -> None:
1290- # """Resets the FedCM dialog cooldown.
1291- #
1292- # If a user agent triggers a cooldown when the account chooser is
1293- # dismissed, this method resets that cooldown so that the dialog
1294- # can be triggered again immediately.
1295- # """
1296- # self.execute(Command.RESET_FEDCM_COOLDOWN)
0 commit comments