Skip to content

Commit 515a1cb

Browse files
committed
[py] add text parameter to send alert text
1 parent f96c37f commit 515a1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/remote/w3c_bridge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def dismiss_alert
152152
end
153153

154154
def alert=(keys)
155-
execute :send_alert_text, {}, {value: keys.split(//)}
155+
execute :send_alert_text, {}, {value: keys.split(//), text: keys}
156156
end
157157

158158
def alert_text

0 commit comments

Comments
 (0)