Comment #4 on issue 1816 by peter.kehl: [IDE] JS regex replace for line
break does not work with 1.0.11 and Firefox 4
https://code.google.com/p/selenium/issues/detail?id=1816
This issue is still present in Selenium IDE 2.8.0 and Firefox 33. It's not
restricted to regular expressions. It applies to any presence of \n
in 'target' or 'value' columns. That restricts usability of getEval and
similar commands that evaluate contents of 'target' (and/or 'value') as
Javascript.
Using \\n in string constants doesn't help. Once I switch to edit another
command in the test case, Selenium IDE changes '\\n' to '\\\n'. And '\n' is
not passed to Javascript: | getEval | alert('hi\\\nmate') | will show a
message 'himate'.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings