{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6615","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6615/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6615/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6615/events","html_url":"https://github.com/appium/appium/issues/6615","id":161883704,"number":6615,"title":"Wifi connection can't be enable/disable on Appium 1.5.3 using custom wrapper","user":{"login":"Mikulasi","id":5357451,"avatar_url":"https://avatars.githubusercontent.com/u/5357451?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikulasi","html_url":"https://github.com/Mikulasi","followers_url":"https://api.github.com/users/Mikulasi/followers","following_url":"https://api.github.com/users/Mikulasi/following{/other_user}","gists_url":"https://api.github.com/users/Mikulasi/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikulasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikulasi/subscriptions","organizations_url":"https://api.github.com/users/Mikulasi/orgs","repos_url":"https://api.github.com/users/Mikulasi/repos","events_url":"https://api.github.com/users/Mikulasi/events{/privacy}","received_events_url":"https://api.github.com/users/Mikulasi/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":24368806,"url":"https://api.github.com/repos/appium/appium/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"sravanmedarapu","id":4507565,"avatar_url":"https://avatars.githubusercontent.com/u/4507565?v=3","gravatar_id":"","url":"https://api.github.com/users/sravanmedarapu","html_url":"https://github.com/sravanmedarapu","followers_url":"https://api.github.com/users/sravanmedarapu/followers","following_url":"https://api.github.com/users/sravanmedarapu/following{/other_user}","gists_url":"https://api.github.com/users/sravanmedarapu/gists{/gist_id}","starred_url":"https://api.github.com/users/sravanmedarapu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sravanmedarapu/subscriptions","organizations_url":"https://api.github.com/users/sravanmedarapu/orgs","repos_url":"https://api.github.com/users/sravanmedarapu/repos","events_url":"https://api.github.com/users/sravanmedarapu/events{/privacy}","received_events_url":"https://api.github.com/users/sravanmedarapu/received_events","type":"User","site_admin":false},"assignees":[{"login":"sravanmedarapu","id":4507565,"avatar_url":"https://avatars.githubusercontent.com/u/4507565?v=3","gravatar_id":"","url":"https://api.github.com/users/sravanmedarapu","html_url":"https://github.com/sravanmedarapu","followers_url":"https://api.github.com/users/sravanmedarapu/followers","following_url":"https://api.github.com/users/sravanmedarapu/following{/other_user}","gists_url":"https://api.github.com/users/sravanmedarapu/gists{/gist_id}","starred_url":"https://api.github.com/users/sravanmedarapu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sravanmedarapu/subscriptions","organizations_url":"https://api.github.com/users/sravanmedarapu/orgs","repos_url":"https://api.github.com/users/sravanmedarapu/repos","events_url":"https://api.github.com/users/sravanmedarapu/events{/privacy}","received_events_url":"https://api.github.com/users/sravanmedarapu/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/appium/appium/milestones/31","html_url":"https://github.com/appium/appium/milestone/31","labels_url":"https://api.github.com/repos/appium/appium/milestones/31/labels","id":2255550,"number":31,"title":"Mechagodzilla [Sprint 5]","description":"","creator":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2017-01-16T18:03:27Z","updated_at":"2017-01-16T18:34:22Z","due_on":"2017-01-27T08:00:00Z","closed_at":null},"comments":20,"created_at":"2016-06-23T09:56:02Z","updated_at":"2017-01-17T22:03:11Z","closed_at":null,"body":"## The problem\n\nHi all! I updated Appium to the new one 1.5.3 recently and faced with issue that on Android wifi connection doesn't enable or disable using new implementation **driver.setConnection(Connection.NONE);** and **driver.setConnection(Connection.WIFI);**  on single and multithreaded tests.\n## Environment\n- Appium 1.5.3\n- I checked this implementation on Appium 1.4 version and it works fine\n- OS/version used to run Appium: EL Capitan\n- Node.js version (unless using Appium.app|exe): Node v6.2.2\n- Mobile platform/version under test: Android\n- Real device or emulator/simulator: Real devices Samsung S4(5.0.1) and Nexus 5 (5.1.1)\n- Appium CLI or Appium.app|exe: Appium CLI and Appium application\n- Device API level: 21\n## Link to Appium logs\n\nhttps://gist.github.com/Mikulasi/455e76cf169819c3f642f0c92dcfb554\n## Code\n\n```\npublic void setWifiOff() {\n        ((AndroidDriver<?>) appiumcontroller().getMobileDriver()).setConnection(Connection.NONE);\n   }\n```\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/273314533","html_url":"https://github.com/appium/appium/issues/6615#issuecomment-273314533","issue_url":"https://api.github.com/repos/appium/appium/issues/6615","id":273314533,"user":{"login":"jlipps","id":605053,"avatar_url":"https://avatars.githubusercontent.com/u/605053?v=3","gravatar_id":"","url":"https://api.github.com/users/jlipps","html_url":"https://github.com/jlipps","followers_url":"https://api.github.com/users/jlipps/followers","following_url":"https://api.github.com/users/jlipps/following{/other_user}","gists_url":"https://api.github.com/users/jlipps/gists{/gist_id}","starred_url":"https://api.github.com/users/jlipps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlipps/subscriptions","organizations_url":"https://api.github.com/users/jlipps/orgs","repos_url":"https://api.github.com/users/jlipps/repos","events_url":"https://api.github.com/users/jlipps/events{/privacy}","received_events_url":"https://api.github.com/users/jlipps/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T22:03:11Z","updated_at":"2017-01-17T22:03:11Z","body":"Ok sounds good @sravanmedarapu. Is there a path to seeing what is going on with those devices?"}}
{"actor":{"display_login":"jlipps"}}