{"action":"created","issue":{"url":"https://api.github.com/repos/angular/protractor/issues/2139","labels_url":"https://api.github.com/repos/angular/protractor/issues/2139/labels{/name}","comments_url":"https://api.github.com/repos/angular/protractor/issues/2139/comments","events_url":"https://api.github.com/repos/angular/protractor/issues/2139/events","html_url":"https://github.com/angular/protractor/issues/2139","id":75976960,"number":2139,"title":"ExpectedConditions.elementToBeClickable doesn't account for other elements covering the target","user":{"login":"hgted","id":12425836,"avatar_url":"https://avatars.githubusercontent.com/u/12425836?v=3","gravatar_id":"","url":"https://api.github.com/users/hgted","html_url":"https://github.com/hgted","followers_url":"https://api.github.com/users/hgted/followers","following_url":"https://api.github.com/users/hgted/following{/other_user}","gists_url":"https://api.github.com/users/hgted/gists{/gist_id}","starred_url":"https://api.github.com/users/hgted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgted/subscriptions","organizations_url":"https://api.github.com/users/hgted/orgs","repos_url":"https://api.github.com/users/hgted/repos","events_url":"https://api.github.com/users/hgted/events{/privacy}","received_events_url":"https://api.github.com/users/hgted/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/protractor/labels/type:%20bug","name":"type: bug","color":"fc2929"},{"url":"https://api.github.com/repos/angular/protractor/labels/type:%20discussion","name":"type: discussion","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-13T13:05:17Z","updated_at":"2015-07-05T21:04:59Z","closed_at":null,"body":"In the following:\r\n\r\n\tvar element = $('#div');\r\n\tbrowser.wait(protractor.ExpectedConditions.elementToBeClickable(element), 5000, 'Element not clickable');\r\n\telement.click();\r\n\r\nIf `$('#div')` is covered by another element `element.click()` results in a selenium error:\r\n\r\n> unknown error: Element is not clickable at point (10, 10). Other element would receive the click: \\<div id=\"cover\">...\\</div>\r\n\r\nEven through `browser.wait(protractor.ExpectedConditions.elementToBeClickable(element), 5000, 'Element not clickable')` does not result in an error."},"comment":{"url":"https://api.github.com/repos/angular/protractor/issues/comments/118667596","html_url":"https://github.com/angular/protractor/issues/2139#issuecomment-118667596","issue_url":"https://api.github.com/repos/angular/protractor/issues/2139","id":118667596,"user":{"login":"dbartholomae","id":3396992,"avatar_url":"https://avatars.githubusercontent.com/u/3396992?v=3","gravatar_id":"","url":"https://api.github.com/users/dbartholomae","html_url":"https://github.com/dbartholomae","followers_url":"https://api.github.com/users/dbartholomae/followers","following_url":"https://api.github.com/users/dbartholomae/following{/other_user}","gists_url":"https://api.github.com/users/dbartholomae/gists{/gist_id}","starred_url":"https://api.github.com/users/dbartholomae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbartholomae/subscriptions","organizations_url":"https://api.github.com/users/dbartholomae/orgs","repos_url":"https://api.github.com/users/dbartholomae/repos","events_url":"https://api.github.com/users/dbartholomae/events{/privacy}","received_events_url":"https://api.github.com/users/dbartholomae/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T21:04:59Z","updated_at":"2015-07-05T21:04:59Z","body":"Hi there, I ran into the same issue. How about adding something like elementNotToBeCovered? That way the functionality would be easily available without creating inconsistencies :-)"}}