WinAppDriver: SendKeys does not unescape double-slash
Repro steps: Use Element.SendKeys to enter a string including a single slash, e.g. “foo/bar”
Expected:
WinAppDriver correctly enters foo\bar
Actual:
WinAppDriver enters foo\\bar
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (7 by maintainers)
Aha - it doesn’t repro with the US keyboard.
Code executed:
tb.SendKeys("`-=[]\\;',./~!@#$%^&*()_+{}|:\"<>? abcd \\\\ \\£ £ ££");
Result in text box:
`-=[]\;',./~!@#$%^&*()_+{}|:"<>? abcd \\ \£ £ ££
Screenshot:
Following up a feature request as a result of this - it would be very handy if WinAppDriver could switch the device into en-US keyboard layout at the start, and (possibly) switch back to the pre-test keyboard layout at the end.
Backslashes.
@HSAR, is this issue for back-slashes
\
or forward-slashes/
?