Skip to content

Commit 1b35bc6

Browse files
committed
alert_credentials -> alert/credentials
1 parent 1b129aa commit 1b35bc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: java/client/src/org/openqa/selenium/remote/http/JsonHttpCommandCodec.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public JsonHttpCommandCodec() {
9797
defineCommand(DISMISS_ALERT, post("/session/:sessionId/dismiss_alert"));
9898
defineCommand(GET_ALERT_TEXT, get("/session/:sessionId/alert_text"));
9999
defineCommand(SET_ALERT_VALUE, post("/session/:sessionId/alert_text"));
100-
defineCommand(SET_ALERT_CREDENTIALS, post("/session/:sessionId/alert_credentials"));
100+
defineCommand(SET_ALERT_CREDENTIALS, post("/session/:sessionId/alert/credentials"));
101101

102102
defineCommand(EXECUTE_SCRIPT, post("/session/:sessionId/execute"));
103103
defineCommand(EXECUTE_ASYNC_SCRIPT, post("/session/:sessionId/execute_async"));

Diff for: py/selenium/webdriver/remote/remote_connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def __init__(self, remote_server_addr, keep_alive=False):
276276
Command.GET_ALERT_TEXT:
277277
('GET', '/session/$sessionId/alert_text'),
278278
Command.SET_ALERT_CREDENTIALS:
279-
('POST', '/session/$sessionId/alert_credentials'),
279+
('POST', '/session/$sessionId/alert/credentials'),
280280
Command.CLICK:
281281
('POST', '/session/$sessionId/click'),
282282
Command.DOUBLE_CLICK:

0 commit comments

Comments
 (0)