selenium.webdriver.remote.fedcm

Classes

FedCM(driver)

class selenium.webdriver.remote.fedcm.FedCM(driver)[source]
property title: str

Gets the title of the dialog.

property subtitle: str | None

Gets the subtitle of the dialog.

property dialog_type: str

Gets the type of the dialog currently being shown.

property account_list: List[dict]

Gets the list of accounts shown in the dialog.

select_account(index: int) None[source]

Selects an account from the dialog by index.

accept() None[source]

Clicks the continue button in the dialog.

dismiss() None[source]

Cancels/dismisses the FedCM dialog.

enable_delay() None[source]

Re-enables the promise rejection delay for FedCM.

disable_delay() None[source]

Disables the promise rejection delay for FedCM.

reset_cooldown() None[source]

Resets the FedCM dialog cooldown, allowing immediate retriggers.