{"action":"opened","issue":{"url":"https://api.github.com/repos/cisco-open-source/qtwebdriver/issues/21","repository_url":"https://api.github.com/repos/cisco-open-source/qtwebdriver","labels_url":"https://api.github.com/repos/cisco-open-source/qtwebdriver/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/cisco-open-source/qtwebdriver/issues/21/comments","events_url":"https://api.github.com/repos/cisco-open-source/qtwebdriver/issues/21/events","html_url":"https://github.com/cisco-open-source/qtwebdriver/issues/21","id":182534292,"number":21,"title":"\"Enter\" or \"Return\" not working on qtwebkit","user":{"login":"Acanthostega","id":4039200,"avatar_url":"https://avatars.githubusercontent.com/u/4039200?v=3","gravatar_id":"","url":"https://api.github.com/users/Acanthostega","html_url":"https://github.com/Acanthostega","followers_url":"https://api.github.com/users/Acanthostega/followers","following_url":"https://api.github.com/users/Acanthostega/following{/other_user}","gists_url":"https://api.github.com/users/Acanthostega/gists{/gist_id}","starred_url":"https://api.github.com/users/Acanthostega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Acanthostega/subscriptions","organizations_url":"https://api.github.com/users/Acanthostega/orgs","repos_url":"https://api.github.com/users/Acanthostega/repos","events_url":"https://api.github.com/users/Acanthostega/events{/privacy}","received_events_url":"https://api.github.com/users/Acanthostega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T14:03:37Z","updated_at":"2016-10-12T14:03:37Z","closed_at":null,"body":"I'm testing a web application with qtwebdriver and I have a problem when doing an \"Enter\" or \"Return\". I'm running it through Selenium, and tests work with other webdriver (chromedriver, phantomjs, etc).\r\n\r\nIt occurs on the login page. The password is set into the input password element that have the focus at this moment, and text is correctly written into the element. But validating the input with \"Enter\" or \"Return\" do nothing. The unicode for \"Enter\" and \"Return\" is sent correctly because it is working with other webdrivers.\r\n\r\nI tried to check where the command for sending a key is treating the request, and I found in src/webdriver/keys_command.cc the ExecutePost method. I see that the method is called when writing the password, but when sending \"Enter\", \"Return\", it seems to not be called. \"Tab\" is working, but ExecutePost is not called too for this key.\r\n\r\nMoreover, I have warning when sending keys for the password saying:\r\n`\r\n[WARN]: No translation for key code. Code point: 103\r\n`\r\nfor example.\r\n\r\nDo you have an idea of why \"Enter\" doesn't work? Or can you help me to understand the flow of the treatment of a command in the code so that I can try to figure out what is the problem with this special key? Are the previous warning message relevant?\r\n\r\nThanks!"}}
{"actor":{"display_login":"Acanthostega"}}