{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/650","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/650/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/650/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/650","id":65367870,"number":650,"title":"selenium support","user":{"login":"KhodeN","id":614349,"avatar_url":"https://avatars.githubusercontent.com/u/614349?v=3","gravatar_id":"","url":"https://api.github.com/users/KhodeN","html_url":"https://github.com/KhodeN","followers_url":"https://api.github.com/users/KhodeN/followers","following_url":"https://api.github.com/users/KhodeN/following{/other_user}","gists_url":"https://api.github.com/users/KhodeN/gists{/gist_id}","starred_url":"https://api.github.com/users/KhodeN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhodeN/subscriptions","organizations_url":"https://api.github.com/users/KhodeN/orgs","repos_url":"https://api.github.com/users/KhodeN/repos","events_url":"https://api.github.com/users/KhodeN/events{/privacy}","received_events_url":"https://api.github.com/users/KhodeN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-03-31T05:08:20Z","updated_at":"2015-05-20T15:02:49Z","closed_at":null,"body":"Need ability to select file without open dialog (for selenium tests).\r\nUsually, selenium send keys (file path) to `<input type=\"file\">`, then submits form.\r\n\r\n```java\r\nWebElement upload = driver.findElement(By.id(\"myfile\"));\r\nupload.sendKeys(\"/Users/sso/the/local/path/to/darkbulb.jpg\");\r\ndriver.findElement(By.id(\"submit\")).click();\r\n```\r\nHow can I do this with `ng-file-upload`? `input` elements not exists until click :-(."},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/103919549","html_url":"https://github.com/danialfarid/ng-file-upload/issues/650#issuecomment-103919549","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/650","id":103919549,"user":{"login":"sirkkalap","id":703699,"avatar_url":"https://avatars.githubusercontent.com/u/703699?v=3","gravatar_id":"","url":"https://api.github.com/users/sirkkalap","html_url":"https://github.com/sirkkalap","followers_url":"https://api.github.com/users/sirkkalap/followers","following_url":"https://api.github.com/users/sirkkalap/following{/other_user}","gists_url":"https://api.github.com/users/sirkkalap/gists{/gist_id}","starred_url":"https://api.github.com/users/sirkkalap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirkkalap/subscriptions","organizations_url":"https://api.github.com/users/sirkkalap/orgs","repos_url":"https://api.github.com/users/sirkkalap/repos","events_url":"https://api.github.com/users/sirkkalap/events{/privacy}","received_events_url":"https://api.github.com/users/sirkkalap/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:02:49Z","updated_at":"2015-05-20T15:02:49Z","body":"@danialfarid do I read you correctly at Apr 14, that you suggest we:\r\n\r\n1. use selenium to click the ngf-select button\r\n2. Wait for the dialog to dismiss\r\n3. use selenium \"send keys\" to type into the \"not removed\" \"input type=file\"\r\n4. submit somehow the upload\r\n\r\nI have trouble implementing 2 and 4.\r\n\r\n-Pete"}}