Skip to content

Commit

Permalink
[py] add text parameter to send alert text
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtierney committed Apr 21, 2017
1 parent f96c37f commit 515a1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/remote/w3c_bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def dismiss_alert
end

def alert=(keys)
execute :send_alert_text, {}, {value: keys.split(//)}
execute :send_alert_text, {}, {value: keys.split(//), text: keys}
end

def alert_text
Expand Down

0 comments on commit 515a1cb

Please sign in to comment.