Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/rb/sig/lib/selenium/webdriver/fedcm/dialog.rbs
1865 views
module Selenium
  module WebDriver
    module FedCM
      class Dialog
        DIALOG_TYPE_ACCOUNT_LIST: String
        DIALOG_TYPE_AUTO_REAUTH: String

        @bridge: Remote::Bridge

        def initialize: (Remote::Bridge bridge) -> void

        def accounts: -> Array[Account]

        def cancel: -> Remote::Response?

        def click: -> untyped

        def select_account: (Integer index) -> Remote::Response?

        def subtitle: -> (String | Remote::Response)?

        def title: -> (String | Remote::Response)

        def type: -> (String | Remote::Response)
      end
    end
  end
end