{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2849","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2849/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2849/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2849/events","html_url":"https://github.com/webdriverio/webdriverio/issues/2849","id":352126566,"node_id":"MDU6SXNzdWUzNTIxMjY1NjY=","number":2849,"title":"NoSuchElement is not thrown as error","user":{"login":"deep9","id":1571715,"node_id":"MDQ6VXNlcjE1NzE3MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1571715?v=4","gravatar_id":"","url":"https://api.github.com/users/deep9","html_url":"https://github.com/deep9","followers_url":"https://api.github.com/users/deep9/followers","following_url":"https://api.github.com/users/deep9/following{/other_user}","gists_url":"https://api.github.com/users/deep9/gists{/gist_id}","starred_url":"https://api.github.com/users/deep9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deep9/subscriptions","organizations_url":"https://api.github.com/users/deep9/orgs","repos_url":"https://api.github.com/users/deep9/repos","events_url":"https://api.github.com/users/deep9/events{/privacy}","received_events_url":"https://api.github.com/users/deep9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-20T13:06:04Z","updated_at":"2018-08-21T05:29:27Z","closed_at":"2018-08-20T14:54:35Z","author_association":"CONTRIBUTOR","body":"## The problem\r\n\r\nNonexistent element does not throw error, as described in (http://webdriver.io/api/protocol/element.html) Is there a reason for that? It was changed 2 years ago in the code.\r\n\r\n## Environment\r\n\r\n* WebdriverIO version: 4.12.0\r\n* Node.js version: 8.9.4\r\n* [Standalone mode or wdio testrunner](http://webdriver.io/guide/getstarted/modes.html): standalone\r\n* if wdio testrunner, running synchronous or asynchronous tests:\r\n* Additional wdio packages used (if applicable): N/A\r\n\r\n## Details\r\n\r\nWhile trying to locate element using /element endpoint, non-existent element returns seleniumStack object with status: 'failure'.\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\nbrowser.element('hello').then(result => { console.log(result); });\r\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/414554275","html_url":"https://github.com/webdriverio/webdriverio/issues/2849#issuecomment-414554275","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/2849","id":414554275,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU1NDI3NQ==","user":{"login":"deep9","id":1571715,"node_id":"MDQ6VXNlcjE1NzE3MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1571715?v=4","gravatar_id":"","url":"https://api.github.com/users/deep9","html_url":"https://github.com/deep9","followers_url":"https://api.github.com/users/deep9/followers","following_url":"https://api.github.com/users/deep9/following{/other_user}","gists_url":"https://api.github.com/users/deep9/gists{/gist_id}","starred_url":"https://api.github.com/users/deep9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deep9/subscriptions","organizations_url":"https://api.github.com/users/deep9/orgs","repos_url":"https://api.github.com/users/deep9/repos","events_url":"https://api.github.com/users/deep9/events{/privacy}","received_events_url":"https://api.github.com/users/deep9/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T05:29:27Z","updated_at":"2018-08-21T05:29:27Z","author_association":"CONTRIBUTOR","body":"Understood, but then the docs should be updated, this is misleading.\n\nOn Mon, Aug 20, 2018, 16:54 Christian Bromann <notifications@github.com>\nwrote:\n\n> Closed #2849 <https://github.com/webdriverio/webdriverio/issues/2849>.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/webdriverio/webdriverio/issues/2849#event-1797901973>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABf7g00Csh5maLaqoxyVi8KSlrMsE0rfks5uSs2zgaJpZM4WD9l4>\n> .\n>\n"}}
{"actor":{"display_login":"deep9"}}