{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2574","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2574/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2574/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2574/events","html_url":"https://github.com/webdriverio/webdriverio/issues/2574","id":293201762,"number":2574,"title":"Cannot getValue on a textarea tag with Appium on iOS","user":{"login":"ianrenauld","id":16843123,"avatar_url":"https://avatars0.githubusercontent.com/u/16843123?v=4","gravatar_id":"","url":"https://api.github.com/users/ianrenauld","html_url":"https://github.com/ianrenauld","followers_url":"https://api.github.com/users/ianrenauld/followers","following_url":"https://api.github.com/users/ianrenauld/following{/other_user}","gists_url":"https://api.github.com/users/ianrenauld/gists{/gist_id}","starred_url":"https://api.github.com/users/ianrenauld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianrenauld/subscriptions","organizations_url":"https://api.github.com/users/ianrenauld/orgs","repos_url":"https://api.github.com/users/ianrenauld/repos","events_url":"https://api.github.com/users/ianrenauld/events{/privacy}","received_events_url":"https://api.github.com/users/ianrenauld/received_events","type":"User","site_admin":false},"labels":[{"id":32695218,"url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Bug","name":"Bug","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/webdriverio/webdriverio/milestones/2","html_url":"https://github.com/webdriverio/webdriverio/milestone/2","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/milestones/2/labels","id":1138980,"number":2,"title":"Upcoming","description":"Features or issues that are not blocked and reasonable to work on.","creator":{"login":"christian-bromann","id":731337,"avatar_url":"https://avatars2.githubusercontent.com/u/731337?v=4","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},"open_issues":37,"closed_issues":189,"state":"open","created_at":"2015-05-29T00:45:55Z","updated_at":"2018-01-31T18:13:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-01-31T15:32:53Z","updated_at":"2018-02-01T20:00:48Z","closed_at":null,"author_association":"NONE","body":"## The problem\r\n\r\nRunning the following command:\r\n\r\n```\r\nconst comment = $('#product-comment-textarea').getValue;\r\n```\r\n\r\nworks fine with WebdriverIO 4.9.9, but returns a \"Method has not yet been implemented\" with WebdriverIO 4.10.1.  The idea is to get the content of a <textarea> element.\r\n\r\n## Environment\r\n\r\n* WebdriverIO version: 4.10.1\r\n* Node.js version: 6.7.0\r\n* wdio testrunner, running synchronous\r\n* Appium: 1.7.2\r\n\r\n## Details\r\n\r\nSome context: testing an hybrid app using Appium. The above command works fine for Android on all recent versions of Webdriver.io but does not work for iOS (using XCUITest) on 4.10.1 (works fine on 4.9.9)\r\n\r\n## Link to Selenium/WebdriverIO logs\r\n\r\nHere is the log for WebdriverIO 4.9.9:\r\n\r\n```\r\n[09:56:31]  COMMAND     POST     \"/wd/hub/session/113800f5-ed40-41b6-aa7d-f7b0ea474193/element\"\r\n[09:56:31]  DATA                {\"using\":\"id\",\"value\":\"product-comment-textarea\"}\r\n[09:56:31]  RESULT              {\"ELEMENT\":\"5562\"}\r\n[09:56:31]  COMMAND     GET      \"/wd/hub/session/113800f5-ed40-41b6-aa7d-f7b0ea474193/element/5562/attribute/value\"\r\n[09:56:31]  DATA                {}\r\n[09:56:31]  RESULT              \"20180131095532 comment\"\r\n```\r\n\r\nAnd here is the log for WebdriverIO 4.10.1:\r\n\r\n```\r\n[09:59:13]  COMMAND     POST     \"/wd/hub/session/147b25cc-91a2-4195-a3f3-524febd0b4e5/element\"\r\n[09:59:13]  DATA                {\"using\":\"id\",\"value\":\"product-comment-textarea\"}\r\n[09:59:13]  RESULT              {\"ELEMENT\":\"5556\"}\r\n[09:59:13]  COMMAND     GET      \"/wd/hub/session/147b25cc-91a2-4195-a3f3-524febd0b4e5/element/5556/property/value\"\r\n[09:59:13]  DATA                {}\r\n```\r\n\r\nIs it possible to introduce a workaround in WebdriverIO to use the old GET command, or should we complain to Appium to fix this?\r\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/362384489","html_url":"https://github.com/webdriverio/webdriverio/issues/2574#issuecomment-362384489","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2574","id":362384489,"user":{"login":"ianrenauld","id":16843123,"avatar_url":"https://avatars0.githubusercontent.com/u/16843123?v=4","gravatar_id":"","url":"https://api.github.com/users/ianrenauld","html_url":"https://github.com/ianrenauld","followers_url":"https://api.github.com/users/ianrenauld/followers","following_url":"https://api.github.com/users/ianrenauld/following{/other_user}","gists_url":"https://api.github.com/users/ianrenauld/gists{/gist_id}","starred_url":"https://api.github.com/users/ianrenauld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianrenauld/subscriptions","organizations_url":"https://api.github.com/users/ianrenauld/orgs","repos_url":"https://api.github.com/users/ianrenauld/repos","events_url":"https://api.github.com/users/ianrenauld/events{/privacy}","received_events_url":"https://api.github.com/users/ianrenauld/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T20:00:48Z","updated_at":"2018-02-01T20:00:48Z","author_association":"NONE","body":"Create a pull request for this, it fixed the issue for me. See #2580"}}
{"actor":{"display_login":"ianrenauld"}}