You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
sendKeys not working for key strokes (special keys) #125
In the fork I made, I solved this in a slightly different way now. I populate the special keys in the alias map. So now I have to precede its symbolic name with % in any table cell. In other words: %$KEY_TAB instead of $KEY_TAB when you use sendKeys.
The fix was simple: add a method, initSpecialKeysMapping, and make the constructor call it. Here:
Activity
sglebs commentedon Aug 6, 2014
I am having the exact same problem, with TAB. I have tried:
\t
\t
!- ${KEY_BACKSPACE} -!
!- $KEY_BACKSPACE -!
None of these worked
sglebs commentedon Aug 6, 2014
One of the problems I see is in class com.xebia.incubator.xebium.fastseleniumemulation.Type. It is missing a bunch (like tab, backspace etc):
jguglielmi commentedon Aug 6, 2014
Consider maybe adding a pull request for an enum?
sglebs commentedon Aug 7, 2014
I patched the code above to support TAB and it works:
In your cell, use \08 and it will send a TAB. You must do the same for Backspace and all the other missing special characters.
sglebs commentedon Aug 7, 2014
The 08 above is preceded by 2 backslashes in the table cell. Somehow one slash was eaten by the formatting here. Just one backslash will not work.
sglebs commentedon Oct 2, 2014
In the fork I made, I solved this in a slightly different way now. I populate the special keys in the alias map. So now I have to precede its symbolic name with % in any table cell. In other words: %$KEY_TAB instead of $KEY_TAB when you use sendKeys.
The fix was simple: add a method, initSpecialKeysMapping, and make the constructor call it. Here:
Anyway, this is available in my fork.