Skip to content
Commit 14b85f4e authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Replace carriage return with WebDriver "ENTER" constant



When the value is set in some input fields a carriage return was sent to
simulate pressing the enter key and thus confirming the input. However,
different browsers use different keys (Firefox uses "\r", but Chrome
uses "\n"), so the carriage return was replaced with the WebDriver
"ENTER" constant which is common to both browsers.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 38b88422
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment