{"action":"created","issue":{"url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/4","labels_url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/4/comments","events_url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/4/events","html_url":"https://github.com/fhoeben/hsac-xebium-bridge/issues/4","id":88745776,"number":4,"title":"Cant send ${KEY_ENTER}, ${KEY_TAB} etc","user":{"login":"sglebs","id":1507221,"avatar_url":"https://avatars.githubusercontent.com/u/1507221?v=3","gravatar_id":"","url":"https://api.github.com/users/sglebs","html_url":"https://github.com/sglebs","followers_url":"https://api.github.com/users/sglebs/followers","following_url":"https://api.github.com/users/sglebs/following{/other_user}","gists_url":"https://api.github.com/users/sglebs/gists{/gist_id}","starred_url":"https://api.github.com/users/sglebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglebs/subscriptions","organizations_url":"https://api.github.com/users/sglebs/orgs","repos_url":"https://api.github.com/users/sglebs/repos","events_url":"https://api.github.com/users/sglebs/events{/privacy}","received_events_url":"https://api.github.com/users/sglebs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-16T14:37:40Z","updated_at":"2015-06-16T16:43:09Z","closed_at":null,"body":"Hi @fhoeben ,\r\n\r\nXebium interprets some special \"keys\" which allows us to send TAB, ENTER etc. This is quite important in many test cases. I am helping a person trying to use your xebium bridge but he can't get TAB, ENTER etc to work as with his xebium tests. Here's what I tried:\r\n\r\n```\r\n!| storyboard |\r\n| start browser | firefox | on url | http://www.google.com |\r\n| ensure | do | sendKeys | on | id=lst-ib| with | meleca !-${KEY_ENTER}-! |\r\n```\r\n\r\nUnfortunately it does not work. Is there a way to send ENTER with the xebium bridge or do I have to switch to the hsac calls to do that?\r\n\r\nIn my own fork of Xebium I added support for this syntax: %$KEY_ENTER\r\n\r\nBasically I used Xebium's alias mechanism and pre-defined a few special ones. Here: https://github.com/xebia/Xebium/commit/0de55c5204315fd19370d2b8a83b1e19a621cba5\r\n\r\n```\r\n+    private void initSpecialKeysMapping() {\r\n+        aliases.put(\"$KEY_BACKSPACE\", Keys.chord(Keys.BACK_SPACE));\r\n+        aliases.put(\"$KEY_TAB\", Keys.chord(Keys.TAB));\r\n+        aliases.put(\"$KEY_ENTER\", Keys.chord(Keys.ENTER));\r\n+        aliases.put(\"$KEY_RETURN\", Keys.chord(Keys.RETURN));\r\n+    }\r\n```\r\n\r\nAny suggestions?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/comments/112493614","html_url":"https://github.com/fhoeben/hsac-xebium-bridge/issues/4#issuecomment-112493614","issue_url":"https://api.github.com/repos/fhoeben/hsac-xebium-bridge/issues/4","id":112493614,"user":{"login":"sglebs","id":1507221,"avatar_url":"https://avatars.githubusercontent.com/u/1507221?v=3","gravatar_id":"","url":"https://api.github.com/users/sglebs","html_url":"https://github.com/sglebs","followers_url":"https://api.github.com/users/sglebs/followers","following_url":"https://api.github.com/users/sglebs/following{/other_user}","gists_url":"https://api.github.com/users/sglebs/gists{/gist_id}","starred_url":"https://api.github.com/users/sglebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglebs/subscriptions","organizations_url":"https://api.github.com/users/sglebs/orgs","repos_url":"https://api.github.com/users/sglebs/repos","events_url":"https://api.github.com/users/sglebs/events{/privacy}","received_events_url":"https://api.github.com/users/sglebs/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T16:43:09Z","updated_at":"2015-06-16T16:43:09Z","body":"Can I add the missing alias functionality to your HsacSeleniumDriverFixture and submit as a pull request? Can I just get the code from Xebium and my own and put it there?"}}