Method: Selenium::WebDriver::BiDi::Credentials#initialize

Defined in:
lib/selenium/webdriver/bidi/network/credentials.rb

#initialize(username: nil, password: nil) ⇒ Credentials

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Credentials.



30
31
32
33
# File 'lib/selenium/webdriver/bidi/network/credentials.rb', line 30

def initialize(username: nil, password: nil)
  @username = username
  @password = password
end