class Selenium::WebDriver::FedCM::Dialog
def accounts
Returns the accounts shown in the account chooser.
def accounts @bridge.fedcm_account_list.map { |account| Account.new(**account) } end
def cancel
def cancel @bridge.cancel_fedcm_dialog end
def click
def click @bridge.click_fedcm_dialog_button end
def initialize(bridge)
def initialize(bridge) @bridge = bridge end
def select_account(index)
-
index
(Integer
) -- The index of the account to select from the list returned by get_accounts.
def select_account(index) @bridge.select_fedcm_account index end
def subtitle
def subtitle @bridge.fedcm_subtitle end
def title
def title @bridge.fedcm_title end
def type
Returns the type of the open dialog.
def type @bridge.fedcm_dialog_type end