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.