{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1562","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1562/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1562/events","html_url":"https://github.com/webdriverio/webdriverio/issues/1562","id":172939248,"number":1562,"title":"How to trigger an onkeyup event?","user":{"login":"Zw3rv3r","id":2834783,"avatar_url":"https://avatars.githubusercontent.com/u/2834783?v=3","gravatar_id":"","url":"https://api.github.com/users/Zw3rv3r","html_url":"https://github.com/Zw3rv3r","followers_url":"https://api.github.com/users/Zw3rv3r/followers","following_url":"https://api.github.com/users/Zw3rv3r/following{/other_user}","gists_url":"https://api.github.com/users/Zw3rv3r/gists{/gist_id}","starred_url":"https://api.github.com/users/Zw3rv3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zw3rv3r/subscriptions","organizations_url":"https://api.github.com/users/Zw3rv3r/orgs","repos_url":"https://api.github.com/users/Zw3rv3r/repos","events_url":"https://api.github.com/users/Zw3rv3r/events{/privacy}","received_events_url":"https://api.github.com/users/Zw3rv3r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T12:32:17Z","updated_at":"2016-08-24T18:56:44Z","closed_at":"2016-08-24T18:56:44Z","body":"I'm trying to test the appearance and disappearance of an error message when entering an invalid value in an input field. This behavior is triggered with an onkeyup JavaScript event. I'm able to change the value of the input field with setValue() or keys() but this won't trigger the onkeyup event. After searching through the API, documentation, blogs and examples I haven't found a solution.\r\n\r\nI'm using WebdriverIO 4.2.5 with selenium-standalone 5.5.0 in standalone mode\r\n\r\nWhat is the correct way to do this with webdriver.io? I'm familiar with Selenium where one can use actions."},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/242172085","html_url":"https://github.com/webdriverio/webdriverio/issues/1562#issuecomment-242172085","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/1562","id":242172085,"user":{"login":"christian-bromann","id":731337,"avatar_url":"https://avatars.githubusercontent.com/u/731337?v=3","gravatar_id":"","url":"https://api.github.com/users/christian-bromann","html_url":"https://github.com/christian-bromann","followers_url":"https://api.github.com/users/christian-bromann/followers","following_url":"https://api.github.com/users/christian-bromann/following{/other_user}","gists_url":"https://api.github.com/users/christian-bromann/gists{/gist_id}","starred_url":"https://api.github.com/users/christian-bromann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christian-bromann/subscriptions","organizations_url":"https://api.github.com/users/christian-bromann/orgs","repos_url":"https://api.github.com/users/christian-bromann/repos","events_url":"https://api.github.com/users/christian-bromann/events{/privacy}","received_events_url":"https://api.github.com/users/christian-bromann/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T18:56:44Z","updated_at":"2016-08-24T18:56:44Z","body":"Try the [buttonUp](http://webdriver.io/api/protocol/buttonUp.html) command but I made the experience that Selenium sometimes doesn't propagate the events. So if this command doesn't work just use [execute](http://webdriver.io/api/protocol/execute.html) and trigger the event manually."}}
{"actor":{"display_login":"christian-bromann"}}