{"action":"created","issue":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/974","repository_url":"https://api.github.com/repos/webdriverio/webdriverio","labels_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/974/comments","events_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/974/events","html_url":"https://github.com/webdriverio/webdriverio/issues/974","id":124456610,"node_id":"MDU6SXNzdWUxMjQ0NTY2MTA=","number":974,"title":"waitForExist (reversed) always says element still exists (even if nonsense)","user":{"login":"kierenj","id":82343,"node_id":"MDQ6VXNlcjgyMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/82343?v=4","gravatar_id":"","url":"https://api.github.com/users/kierenj","html_url":"https://github.com/kierenj","followers_url":"https://api.github.com/users/kierenj/followers","following_url":"https://api.github.com/users/kierenj/following{/other_user}","gists_url":"https://api.github.com/users/kierenj/gists{/gist_id}","starred_url":"https://api.github.com/users/kierenj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kierenj/subscriptions","organizations_url":"https://api.github.com/users/kierenj/orgs","repos_url":"https://api.github.com/users/kierenj/repos","events_url":"https://api.github.com/users/kierenj/events{/privacy}","received_events_url":"https://api.github.com/users/kierenj/received_events","type":"User","site_admin":false},"labels":[{"id":32695218,"node_id":"MDU6TGFiZWwzMjY5NTIxOA==","url":"https://api.github.com/repos/webdriverio/webdriverio/labels/Bug","name":"Bug","color":"e10c02","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2015-12-31T10:33:52Z","updated_at":"2018-09-18T08:44:50Z","closed_at":"2016-09-21T06:44:51Z","author_association":"NONE","body":"This code:\n\n```\nbrowser\n  .waitForExist('#nonsense', 5000, true)\n  .call(callback);\n```\n\nAlways yields:\n\n`element (#nonsense) still  existing after 5000ms`\n\nNo matter what I put as the selector - `#nonsense` does not exist, of course!\n\nJust did a fresh npm install - am on version 3.4.0 (was on 3.3.something when first occurred).  Any ideas or anything I can do to help?\n\n(The same for `waitForVisible` reversed, too - even if the element doesn't exist, it says it's still visible after the timeout)\n"},"comment":{"url":"https://api.github.com/repos/webdriverio/webdriverio/issues/comments/422309042","html_url":"https://github.com/webdriverio/webdriverio/issues/974#issuecomment-422309042","issue_url":"https://api.github.com/repos/webdriverio/webdriverio/issues/974","id":422309042,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjMwOTA0Mg==","user":{"login":"christian-bromann","id":731337,"node_id":"MDQ6VXNlcjczMTMzNw==","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},"created_at":"2018-09-18T08:44:50Z","updated_at":"2018-09-18T08:44:50Z","author_association":"MEMBER","body":"> 10500ms\t`element` would return 'notFound' and `waitForVisible` would succeed\r\n\r\nI think this is the problem that needs to be fixed. If the element is not found the `isVisible()` command should return false."}}
{"actor":{"display_login":"christian-bromann"}}