js cant find html id code example
Example: why I can't find element
Could be several reasons for example
-Locator changed
-There is an iframe
-Waiting time issue, page is loading slowly
-Element is dynamic, locator cannot find it. Use dynamic locator.
-Page is not fully loaded/opened. This is also waiting time issue
-Page changes and that element does not exist anymore