Skip to content

Commit d59fe65

Browse files
committed
Remove deprecated Alert#authenticate
It has been deprecated since 3.5.2 and is not supported by any drivers.
1 parent 577139c commit d59fe65

File tree

1 file changed

+0
-6
lines changed
  • rb/lib/selenium/webdriver/common

1 file changed

+0
-6
lines changed

rb/lib/selenium/webdriver/common/alert.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ def send_keys(keys)
4040
def text
4141
@bridge.alert_text
4242
end
43-
44-
def authenticate(username, password)
45-
WebDriver.logger.deprecate 'Alert#authenticate'
46-
@bridge.authentication(username: username, password: password)
47-
accept
48-
end
4943
end # Alert
5044
end # WebDriver
5145
end # Selenium

0 commit comments

Comments
 (0)