Skip to content

Commit 95fdcb0

Browse files
committed
[py] Remove the beta authenticate methods from Alert
1 parent a189033 commit 95fdcb0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

py/selenium/webdriver/common/alert.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,3 @@ def send_keys(self, keysToSend):
103103
'text': keysToSend})
104104
else:
105105
self.driver.execute(Command.SET_ALERT_VALUE, {'text': keysToSend})
106-
107-
def authenticate(self, username, password):
108-
"""
109-
Send the username / password to an Authenticated dialog (like with Basic HTTP Auth).
110-
Implicitly 'clicks ok'
111-
112-
Usage::
113-
driver.switch_to.alert.authenticate('cheese', 'secretGouda')
114-
115-
:Args:
116-
-username: string to be set in the username section of the dialog
117-
-password: string to be set in the password section of the dialog
118-
"""
119-
self.driver.execute(
120-
Command.SET_ALERT_CREDENTIALS,
121-
{'username': username, 'password': password})
122-
self.accept()

0 commit comments

Comments
 (0)