{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5253","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/5253/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5253/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5253/events","html_url":"https://github.com/appium/appium/issues/5253","id":87946762,"number":5253,"title":"Drop down and date picker selection","user":{"login":"Balajikl","id":12830976,"avatar_url":"https://avatars.githubusercontent.com/u/12830976?v=3","gravatar_id":"","url":"https://api.github.com/users/Balajikl","html_url":"https://github.com/Balajikl","followers_url":"https://api.github.com/users/Balajikl/followers","following_url":"https://api.github.com/users/Balajikl/following{/other_user}","gists_url":"https://api.github.com/users/Balajikl/gists{/gist_id}","starred_url":"https://api.github.com/users/Balajikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Balajikl/subscriptions","organizations_url":"https://api.github.com/users/Balajikl/orgs","repos_url":"https://api.github.com/users/Balajikl/repos","events_url":"https://api.github.com/users/Balajikl/events{/privacy}","received_events_url":"https://api.github.com/users/Balajikl/received_events","type":"User","site_admin":false},"labels":[{"id":34328464,"url":"https://api.github.com/repos/appium/appium/labels/Android","name":"Android","color":"ADFF2F","default":false},{"id":223534254,"url":"https://api.github.com/repos/appium/appium/labels/NotABug","name":"NotABug","color":"eb6420","default":false},{"id":143593350,"url":"https://api.github.com/repos/appium/appium/labels/OnGoing","name":"OnGoing","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-06-13T06:38:54Z","updated_at":"2016-12-28T08:36:45Z","closed_at":null,"body":"Hi All,\n\nPleae help me to find the city from the drop down list and change the date and time in date picker on mobile. I am working on appium and selenium\n\ndrop down - http://screencast.com/t/JFMW8Itz\n\nDate and time picker - http://screencast.com/t/4m8vzEGWv\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/269444707","html_url":"https://github.com/appium/appium/issues/5253#issuecomment-269444707","issue_url":"https://api.github.com/repos/appium/appium/issues/5253","id":269444707,"user":{"login":"ajayv1","id":11134190,"avatar_url":"https://avatars.githubusercontent.com/u/11134190?v=3","gravatar_id":"","url":"https://api.github.com/users/ajayv1","html_url":"https://github.com/ajayv1","followers_url":"https://api.github.com/users/ajayv1/followers","following_url":"https://api.github.com/users/ajayv1/following{/other_user}","gists_url":"https://api.github.com/users/ajayv1/gists{/gist_id}","starred_url":"https://api.github.com/users/ajayv1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajayv1/subscriptions","organizations_url":"https://api.github.com/users/ajayv1/orgs","repos_url":"https://api.github.com/users/ajayv1/repos","events_url":"https://api.github.com/users/ajayv1/events{/privacy}","received_events_url":"https://api.github.com/users/ajayv1/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T08:36:45Z","updated_at":"2016-12-28T08:36:45Z","body":"SendKeys was not working for me in either case. But i tried inject and its working. \r\ninject(driver, \"var city = document.getElementById('id of the city');city.selectedIndex=1; var ev = document.createEvent('HTMLEvents'); ev.initEvent('change', true, true); month.dispatchEvent(ev);\");\r\n\r\nand similarly,\r\nfor datePicker, you can directly inject date and time by picking id of date field."}}
{"actor":{"display_login":"ajayv1"}}