Skip to content

Commit

Permalink
Remove deprecated Alert#authenticate
Browse files Browse the repository at this point in the history
It has been deprecated since 3.5.2 and is not supported by any drivers.
  • Loading branch information
p0deje committed Nov 30, 2017
1 parent 577139c commit d59fe65
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rb/lib/selenium/webdriver/common/alert.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ def send_keys(keys)
def text
@bridge.alert_text
end

def authenticate(username, password)
WebDriver.logger.deprecate 'Alert#authenticate'
@bridge.authentication(username: username, password: password)
accept
end
end # Alert
end # WebDriver
end # Selenium

0 comments on commit d59fe65

Please sign in to comment.