Class: Selenium::WebDriver::BiDi::InterceptedAuth Private

Inherits:
InterceptedItem show all
Defined in:
lib/selenium/webdriver/bidi/network/intercepted_auth.rb

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

Instance Attribute Summary

Attributes inherited from InterceptedItem

#network, #request

Instance Method Summary collapse

Methods inherited from InterceptedItem

#id, #initialize

Constructor Details

This class inherits a constructor from Selenium::WebDriver::BiDi::InterceptedItem

Instance Method Details

#authenticate(username, password) ⇒ Object

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.



28
29
30
# File 'lib/selenium/webdriver/bidi/network/intercepted_auth.rb', line 28

def authenticate(username, password)
  network.continue_with_auth(id, username, password)
end

#cancelObject

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.



36
37
38
# File 'lib/selenium/webdriver/bidi/network/intercepted_auth.rb', line 36

def cancel
  network.cancel_auth(id)
end

#skipObject

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.



32
33
34
# File 'lib/selenium/webdriver/bidi/network/intercepted_auth.rb', line 32

def skip
  network.continue_without_auth(id)
end