In selenium-java, after switching to frame new DOM is appended on existing DOM, when I call findelement method passing xpath of append dom, it is throwing me error staleelementnoreference exception.
Is there any way where identify new DOM is appended or not using selenium/java/javascript? I have used explicit wait to fix staleelementexception, it does not work in IntelliJ(2018.3), but works in eclipse?