selenium.webdriver.remote.fedcm#

Classes

FedCM(driver)

class FedCM(driver)[source]#

Bases: object

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)[source]#

Selects an account from the dialog by index.

Parameters:

index (int)

Return type:

None

accept()[source]#

Clicks the continue button in the dialog.

Return type:

None

dismiss()[source]#

Cancels/dismisses the FedCM dialog.

Return type:

None

enable_delay()[source]#

Re-enables the promise rejection delay for FedCM.

Return type:

None

disable_delay()[source]#

Disables the promise rejection delay for FedCM.

Return type:

None

reset_cooldown()[source]#

Resets the FedCM dialog cooldown, allowing immediate retriggers.

Return type:

None