{"action":"closed","issue":{"url":"https://api.github.com/repos/codeborne/selenide/issues/158","labels_url":"https://api.github.com/repos/codeborne/selenide/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/codeborne/selenide/issues/158/comments","events_url":"https://api.github.com/repos/codeborne/selenide/issues/158/events","html_url":"https://github.com/codeborne/selenide/issues/158","id":55788062,"number":158,"title":"StaleElementReferenceException: can selenide help here?","user":{"login":"dmak","id":366965,"avatar_url":"https://avatars.githubusercontent.com/u/366965?v=3","gravatar_id":"","url":"https://api.github.com/users/dmak","html_url":"https://github.com/dmak","followers_url":"https://api.github.com/users/dmak/followers","following_url":"https://api.github.com/users/dmak/following{/other_user}","gists_url":"https://api.github.com/users/dmak/gists{/gist_id}","starred_url":"https://api.github.com/users/dmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmak/subscriptions","organizations_url":"https://api.github.com/users/dmak/orgs","repos_url":"https://api.github.com/users/dmak/repos","events_url":"https://api.github.com/users/dmak/events{/privacy}","received_events_url":"https://api.github.com/users/dmak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/codeborne/selenide/milestones/17","html_url":"https://github.com/codeborne/selenide/milestones/2.18","labels_url":"https://api.github.com/repos/codeborne/selenide/milestones/17/labels","id":1081624,"number":17,"title":"2.18","description":null,"creator":{"login":"asolntsev","id":279773,"avatar_url":"https://avatars.githubusercontent.com/u/279773?v=3","gravatar_id":"","url":"https://api.github.com/users/asolntsev","html_url":"https://github.com/asolntsev","followers_url":"https://api.github.com/users/asolntsev/followers","following_url":"https://api.github.com/users/asolntsev/following{/other_user}","gists_url":"https://api.github.com/users/asolntsev/gists{/gist_id}","starred_url":"https://api.github.com/users/asolntsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asolntsev/subscriptions","organizations_url":"https://api.github.com/users/asolntsev/orgs","repos_url":"https://api.github.com/users/asolntsev/repos","events_url":"https://api.github.com/users/asolntsev/events{/privacy}","received_events_url":"https://api.github.com/users/asolntsev/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-04-24T03:22:01Z","updated_at":"2015-04-24T16:56:34Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-01-28T17:31:26Z","updated_at":"2015-04-24T16:56:34Z","closed_at":"2015-04-24T16:56:34Z","body":"Consider the following situation:\r\n\r\n* There is some section on HTML page that is updated by setting the inner HTML to some value.\r\n* Suppose some selenide selector references the element within that section.\r\n\r\nNow from time to time `org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM` is thrown. This happens because selector is referencing DOM element which was removed from the tree. But it does not mean has not shortly re-appeared in DOM.\r\n\r\nHow selenide can help: If `StaleElementReferenceException` then still wait for given (internal or explicit) timeout until element re-appears on the page. If it does not appear, then throw this exception (or alternatively `ElementNotFound`)."}}